casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CalFocusRow.h
Go to the documentation of this file.
00001 
00002 /*
00003  * ALMA - Atacama Large Millimeter Array
00004  * (c) European Southern Observatory, 2002
00005  * (c) Associated Universities Inc., 2002
00006  * Copyright by ESO (in the framework of the ALMA collaboration),
00007  * Copyright by AUI (in the framework of the ALMA collaboration),
00008  * All rights reserved.
00009  * 
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  * 
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY, without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  * 
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00023  * MA 02111-1307  USA
00024  *
00025  * Warning!
00026  *  -------------------------------------------------------------------- 
00027  * | This is generated code!  Do not modify this file.                  |
00028  * | If you do, all changes will be lost when the file is re-generated. |
00029  *  --------------------------------------------------------------------
00030  *
00031  * File CalFocusRow.h
00032  */
00033  
00034 #ifndef CalFocusRow_CLASS
00035 #define CalFocusRow_CLASS
00036 
00037 #include <vector>
00038 #include <string>
00039 #include <set>
00040 
00041 #ifndef WITHOUT_ACS
00042 #include <asdmIDLC.h>
00043 #endif
00044 
00045 
00046 
00047 
00048 
00049 
00050          
00051 #include <ArrayTime.h>
00052         
00053 
00054          
00055 #include <Temperature.h>
00056         
00057 
00058          
00059 #include <Angle.h>
00060         
00061 
00062          
00063 #include <Tag.h>
00064         
00065 
00066          
00067 #include <Length.h>
00068         
00069 
00070          
00071 #include <Frequency.h>
00072         
00073 
00074 
00075 
00076 
00077         
00078 
00079         
00080 
00081         
00082 
00083         
00084 #include "CReceiverBand.h"
00085         
00086 
00087         
00088 
00089         
00090 #include "CAtmPhaseCorrection.h"
00091         
00092 
00093         
00094 #include "CFocusMethod.h"
00095         
00096 
00097         
00098 
00099         
00100 
00101         
00102 
00103         
00104 #include "CPolarizationType.h"
00105         
00106 
00107         
00108 
00109         
00110 
00111         
00112 
00113         
00114 
00115         
00116 
00117         
00118 
00119         
00120 
00121         
00122 
00123         
00124 
00125         
00126 
00127         
00128 
00129         
00130 
00131         
00132 
00133         
00134 
00135         
00136 
00137         
00138 
00139 
00140 
00141 #include <ConversionException.h>
00142 #include <NoSuchRow.h>
00143 #include <IllegalAccessException.h>
00144 
00145 #include <RowTransformer.h>
00146 //#include <TableStreamReader.h>
00147 
00148 /*\file CalFocus.h
00149     \brief Generated from model's revision "1.61", branch "HEAD"
00150 */
00151 
00152 namespace asdm {
00153 
00154 //class asdm::CalFocusTable;
00155 
00156 
00157 // class asdm::CalDataRow;
00158 class CalDataRow;
00159 
00160 // class asdm::CalReductionRow;
00161 class CalReductionRow;
00162         
00163 
00164 class CalFocusRow;
00165 typedef void (CalFocusRow::*CalFocusAttributeFromBin) (EndianIStream& eis);
00166 typedef void (CalFocusRow::*CalFocusAttributeFromText) (const string& s);
00167 
00174 class CalFocusRow {
00175 friend class asdm::CalFocusTable;
00176 friend class asdm::RowTransformer<CalFocusRow>;
00177 //friend class asdm::TableStreamReader<CalFocusTable, CalFocusRow>;
00178 
00179 public:
00180 
00181         virtual ~CalFocusRow();
00182 
00186         CalFocusTable &getTable() const;
00187         
00192         bool isAdded() const;
00193                 
00195         // Intrinsic Table Attributes //
00197         
00198         
00199         // ===> Attribute startValidTime
00200         
00201         
00202         
00203 
00204         
00209         ArrayTime getStartValidTime() const;
00210         
00211  
00212         
00213         
00221         void setStartValidTime (ArrayTime startValidTime);
00222                 
00223         
00224         
00225         
00226 
00227 
00228         
00229         // ===> Attribute endValidTime
00230         
00231         
00232         
00233 
00234         
00239         ArrayTime getEndValidTime() const;
00240         
00241  
00242         
00243         
00251         void setEndValidTime (ArrayTime endValidTime);
00252                 
00253         
00254         
00255         
00256 
00257 
00258         
00259         // ===> Attribute antennaName
00260         
00261         
00262         
00263 
00264         
00269         string getAntennaName() const;
00270         
00271  
00272         
00273         
00283         void setAntennaName (string antennaName);
00284                 
00285         
00286         
00287         
00288 
00289 
00290         
00291         // ===> Attribute receiverBand
00292         
00293         
00294         
00295 
00296         
00301         ReceiverBandMod::ReceiverBand getReceiverBand() const;
00302         
00303  
00304         
00305         
00315         void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
00316                 
00317         
00318         
00319         
00320 
00321 
00322         
00323         // ===> Attribute ambientTemperature
00324         
00325         
00326         
00327 
00328         
00333         Temperature getAmbientTemperature() const;
00334         
00335  
00336         
00337         
00345         void setAmbientTemperature (Temperature ambientTemperature);
00346                 
00347         
00348         
00349         
00350 
00351 
00352         
00353         // ===> Attribute atmPhaseCorrection
00354         
00355         
00356         
00357 
00358         
00363         AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const;
00364         
00365  
00366         
00367         
00375         void setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection);
00376                 
00377         
00378         
00379         
00380 
00381 
00382         
00383         // ===> Attribute focusMethod
00384         
00385         
00386         
00387 
00388         
00393         FocusMethodMod::FocusMethod getFocusMethod() const;
00394         
00395  
00396         
00397         
00405         void setFocusMethod (FocusMethodMod::FocusMethod focusMethod);
00406                 
00407         
00408         
00409         
00410 
00411 
00412         
00413         // ===> Attribute frequencyRange
00414         
00415         
00416         
00417 
00418         
00423         vector<Frequency > getFrequencyRange() const;
00424         
00425  
00426         
00427         
00435         void setFrequencyRange (vector<Frequency > frequencyRange);
00436                 
00437         
00438         
00439         
00440 
00441 
00442         
00443         // ===> Attribute pointingDirection
00444         
00445         
00446         
00447 
00448         
00453         vector<Angle > getPointingDirection() const;
00454         
00455  
00456         
00457         
00465         void setPointingDirection (vector<Angle > pointingDirection);
00466                 
00467         
00468         
00469         
00470 
00471 
00472         
00473         // ===> Attribute numReceptor
00474         
00475         
00476         
00477 
00478         
00483         int getNumReceptor() const;
00484         
00485  
00486         
00487         
00495         void setNumReceptor (int numReceptor);
00496                 
00497         
00498         
00499         
00500 
00501 
00502         
00503         // ===> Attribute polarizationTypes
00504         
00505         
00506         
00507 
00508         
00513         vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
00514         
00515  
00516         
00517         
00525         void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
00526                 
00527         
00528         
00529         
00530 
00531 
00532         
00533         // ===> Attribute wereFixed
00534         
00535         
00536         
00537 
00538         
00543         vector<bool > getWereFixed() const;
00544         
00545  
00546         
00547         
00555         void setWereFixed (vector<bool > wereFixed);
00556                 
00557         
00558         
00559         
00560 
00561 
00562         
00563         // ===> Attribute offset
00564         
00565         
00566         
00567 
00568         
00573         vector<vector<Length > > getOffset() const;
00574         
00575  
00576         
00577         
00585         void setOffset (vector<vector<Length > > offset);
00586                 
00587         
00588         
00589         
00590 
00591 
00592         
00593         // ===> Attribute offsetError
00594         
00595         
00596         
00597 
00598         
00603         vector<vector<Length > > getOffsetError() const;
00604         
00605  
00606         
00607         
00615         void setOffsetError (vector<vector<Length > > offsetError);
00616                 
00617         
00618         
00619         
00620 
00621 
00622         
00623         // ===> Attribute offsetWasTied
00624         
00625         
00626         
00627 
00628         
00633         vector<vector<bool > > getOffsetWasTied() const;
00634         
00635  
00636         
00637         
00645         void setOffsetWasTied (vector<vector<bool > > offsetWasTied);
00646                 
00647         
00648         
00649         
00650 
00651 
00652         
00653         // ===> Attribute reducedChiSquared
00654         
00655         
00656         
00657 
00658         
00663         vector<vector<double > > getReducedChiSquared() const;
00664         
00665  
00666         
00667         
00675         void setReducedChiSquared (vector<vector<double > > reducedChiSquared);
00676                 
00677         
00678         
00679         
00680 
00681 
00682         
00683         // ===> Attribute position
00684         
00685         
00686         
00687 
00688         
00693         vector<vector<Length > > getPosition() const;
00694         
00695  
00696         
00697         
00705         void setPosition (vector<vector<Length > > position);
00706                 
00707         
00708         
00709         
00710 
00711 
00712         
00713         // ===> Attribute polarizationsAveraged, which is optional
00714         
00715         
00716         
00721         bool isPolarizationsAveragedExists() const;
00722         
00723 
00724         
00730         bool getPolarizationsAveraged() const;
00731         
00732  
00733         
00734         
00741         void setPolarizationsAveraged (bool polarizationsAveraged);
00742                 
00743         
00744         
00745         
00749         void clearPolarizationsAveraged ();
00750         
00751 
00752 
00753         
00754         // ===> Attribute focusCurveWidth, which is optional
00755         
00756         
00757         
00762         bool isFocusCurveWidthExists() const;
00763         
00764 
00765         
00771         vector<vector<Length > > getFocusCurveWidth() const;
00772         
00773  
00774         
00775         
00782         void setFocusCurveWidth (vector<vector<Length > > focusCurveWidth);
00783                 
00784         
00785         
00786         
00790         void clearFocusCurveWidth ();
00791         
00792 
00793 
00794         
00795         // ===> Attribute focusCurveWidthError, which is optional
00796         
00797         
00798         
00803         bool isFocusCurveWidthErrorExists() const;
00804         
00805 
00806         
00812         vector<vector<Length > > getFocusCurveWidthError() const;
00813         
00814  
00815         
00816         
00823         void setFocusCurveWidthError (vector<vector<Length > > focusCurveWidthError);
00824                 
00825         
00826         
00827         
00831         void clearFocusCurveWidthError ();
00832         
00833 
00834 
00835         
00836         // ===> Attribute focusCurveWasFixed, which is optional
00837         
00838         
00839         
00844         bool isFocusCurveWasFixedExists() const;
00845         
00846 
00847         
00853         vector<bool > getFocusCurveWasFixed() const;
00854         
00855  
00856         
00857         
00864         void setFocusCurveWasFixed (vector<bool > focusCurveWasFixed);
00865                 
00866         
00867         
00868         
00872         void clearFocusCurveWasFixed ();
00873         
00874 
00875 
00876         
00877         // ===> Attribute offIntensity, which is optional
00878         
00879         
00880         
00885         bool isOffIntensityExists() const;
00886         
00887 
00888         
00894         vector<Temperature > getOffIntensity() const;
00895         
00896  
00897         
00898         
00905         void setOffIntensity (vector<Temperature > offIntensity);
00906                 
00907         
00908         
00909         
00913         void clearOffIntensity ();
00914         
00915 
00916 
00917         
00918         // ===> Attribute offIntensityError, which is optional
00919         
00920         
00921         
00926         bool isOffIntensityErrorExists() const;
00927         
00928 
00929         
00935         vector<Temperature > getOffIntensityError() const;
00936         
00937  
00938         
00939         
00946         void setOffIntensityError (vector<Temperature > offIntensityError);
00947                 
00948         
00949         
00950         
00954         void clearOffIntensityError ();
00955         
00956 
00957 
00958         
00959         // ===> Attribute offIntensityWasFixed, which is optional
00960         
00961         
00962         
00967         bool isOffIntensityWasFixedExists() const;
00968         
00969 
00970         
00976         bool getOffIntensityWasFixed() const;
00977         
00978  
00979         
00980         
00987         void setOffIntensityWasFixed (bool offIntensityWasFixed);
00988                 
00989         
00990         
00991         
00995         void clearOffIntensityWasFixed ();
00996         
00997 
00998 
00999         
01000         // ===> Attribute peakIntensity, which is optional
01001         
01002         
01003         
01008         bool isPeakIntensityExists() const;
01009         
01010 
01011         
01017         vector<Temperature > getPeakIntensity() const;
01018         
01019  
01020         
01021         
01028         void setPeakIntensity (vector<Temperature > peakIntensity);
01029                 
01030         
01031         
01032         
01036         void clearPeakIntensity ();
01037         
01038 
01039 
01040         
01041         // ===> Attribute peakIntensityError, which is optional
01042         
01043         
01044         
01049         bool isPeakIntensityErrorExists() const;
01050         
01051 
01052         
01058         vector<Temperature > getPeakIntensityError() const;
01059         
01060  
01061         
01062         
01069         void setPeakIntensityError (vector<Temperature > peakIntensityError);
01070                 
01071         
01072         
01073         
01077         void clearPeakIntensityError ();
01078         
01079 
01080 
01081         
01082         // ===> Attribute peakIntensityWasFixed, which is optional
01083         
01084         
01085         
01090         bool isPeakIntensityWasFixedExists() const;
01091         
01092 
01093         
01099         bool getPeakIntensityWasFixed() const;
01100         
01101  
01102         
01103         
01110         void setPeakIntensityWasFixed (bool peakIntensityWasFixed);
01111                 
01112         
01113         
01114         
01118         void clearPeakIntensityWasFixed ();
01119         
01120 
01121 
01123         // Extrinsic Table Attributes //
01125         
01126         
01127         // ===> Attribute calDataId
01128         
01129         
01130         
01131 
01132         
01137         Tag getCalDataId() const;
01138         
01139  
01140         
01141         
01151         void setCalDataId (Tag calDataId);
01152                 
01153         
01154         
01155         
01156 
01157 
01158         
01159         // ===> Attribute calReductionId
01160         
01161         
01162         
01163 
01164         
01169         Tag getCalReductionId() const;
01170         
01171  
01172         
01173         
01183         void setCalReductionId (Tag calReductionId);
01184                 
01185         
01186         
01187         
01188 
01189 
01191         // Links //
01193         
01194         
01195 
01196         
01197                 
01204          CalDataRow* getCalDataUsingCalDataId();
01205          
01206 
01207         
01208 
01209         
01210 
01211         
01212                 
01219          CalReductionRow* getCalReductionUsingCalReductionId();
01220          
01221 
01222         
01223 
01224         
01225         
01226         
01270         bool compareNoAutoInc(string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, FocusMethodMod::FocusMethod focusMethod, vector<Frequency > frequencyRange, vector<Angle > pointingDirection, int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<bool > wereFixed, vector<vector<Length > > offset, vector<vector<Length > > offsetError, vector<vector<bool > > offsetWasTied, vector<vector<double > > reducedChiSquared, vector<vector<Length > > position);
01271         
01272         
01273 
01274         
01310         bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, FocusMethodMod::FocusMethod focusMethod, vector<Frequency > frequencyRange, vector<Angle > pointingDirection, int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<bool > wereFixed, vector<vector<Length > > offset, vector<vector<Length > > offsetError, vector<vector<bool > > offsetWasTied, vector<vector<double > > reducedChiSquared, vector<vector<Length > > position); 
01311                  
01312         
01321         bool equalByRequiredValue(CalFocusRow* x) ;
01322         
01323 #ifndef WITHOUT_ACS
01324 
01328         asdmIDL::CalFocusRowIDL *toIDL() const;
01329 #endif
01330         
01331 #ifndef WITHOUT_ACS
01332 
01337         void setFromIDL (asdmIDL::CalFocusRowIDL x) ;
01338 #endif
01339         
01344         std::string toXML() const;
01345 
01352         void setFromXML (std::string rowDoc) ;
01353 
01356         // binary-deserialization material from an EndianIStream  //
01358 
01359         std::map<std::string, CalFocusAttributeFromBin> fromBinMethods;
01360 void antennaNameFromBin( EndianIStream& eis);
01361 void receiverBandFromBin( EndianIStream& eis);
01362 void calDataIdFromBin( EndianIStream& eis);
01363 void calReductionIdFromBin( EndianIStream& eis);
01364 void startValidTimeFromBin( EndianIStream& eis);
01365 void endValidTimeFromBin( EndianIStream& eis);
01366 void ambientTemperatureFromBin( EndianIStream& eis);
01367 void atmPhaseCorrectionFromBin( EndianIStream& eis);
01368 void focusMethodFromBin( EndianIStream& eis);
01369 void frequencyRangeFromBin( EndianIStream& eis);
01370 void pointingDirectionFromBin( EndianIStream& eis);
01371 void numReceptorFromBin( EndianIStream& eis);
01372 void polarizationTypesFromBin( EndianIStream& eis);
01373 void wereFixedFromBin( EndianIStream& eis);
01374 void offsetFromBin( EndianIStream& eis);
01375 void offsetErrorFromBin( EndianIStream& eis);
01376 void offsetWasTiedFromBin( EndianIStream& eis);
01377 void reducedChiSquaredFromBin( EndianIStream& eis);
01378 void positionFromBin( EndianIStream& eis);
01379 
01380 void polarizationsAveragedFromBin( EndianIStream& eis);
01381 void focusCurveWidthFromBin( EndianIStream& eis);
01382 void focusCurveWidthErrorFromBin( EndianIStream& eis);
01383 void focusCurveWasFixedFromBin( EndianIStream& eis);
01384 void offIntensityFromBin( EndianIStream& eis);
01385 void offIntensityErrorFromBin( EndianIStream& eis);
01386 void offIntensityWasFixedFromBin( EndianIStream& eis);
01387 void peakIntensityFromBin( EndianIStream& eis);
01388 void peakIntensityErrorFromBin( EndianIStream& eis);
01389 void peakIntensityWasFixedFromBin( EndianIStream& eis);
01390 
01391 
01399          static CalFocusRow* fromBin(EndianIStream& eis, CalFocusTable& table, const std::vector<std::string>& attributesSeq);   
01401 
01402 private:
01406         CalFocusTable &table;
01410         bool hasBeenAdded;
01411 
01412         // This method is used by the Table class when this row is added to the table.
01413         void isAdded(bool added);
01414 
01415 
01424         CalFocusRow (CalFocusTable &table);
01425 
01443          CalFocusRow (CalFocusTable &table, CalFocusRow &row);
01444                 
01446         // Intrinsic Table Attributes //
01448         
01449         
01450         // ===> Attribute startValidTime
01451         
01452         
01453 
01454         ArrayTime startValidTime;
01455 
01456         
01457         
01458         
01459 
01460         
01461         // ===> Attribute endValidTime
01462         
01463         
01464 
01465         ArrayTime endValidTime;
01466 
01467         
01468         
01469         
01470 
01471         
01472         // ===> Attribute antennaName
01473         
01474         
01475 
01476         string antennaName;
01477 
01478         
01479         
01480         
01481 
01482         
01483         // ===> Attribute receiverBand
01484         
01485         
01486 
01487         ReceiverBandMod::ReceiverBand receiverBand;
01488 
01489         
01490         
01491         
01492 
01493         
01494         // ===> Attribute ambientTemperature
01495         
01496         
01497 
01498         Temperature ambientTemperature;
01499 
01500         
01501         
01502         
01503 
01504         
01505         // ===> Attribute atmPhaseCorrection
01506         
01507         
01508 
01509         AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection;
01510 
01511         
01512         
01513         
01514 
01515         
01516         // ===> Attribute focusMethod
01517         
01518         
01519 
01520         FocusMethodMod::FocusMethod focusMethod;
01521 
01522         
01523         
01524         
01525 
01526         
01527         // ===> Attribute frequencyRange
01528         
01529         
01530 
01531         vector<Frequency > frequencyRange;
01532 
01533         
01534         
01535         
01536 
01537         
01538         // ===> Attribute pointingDirection
01539         
01540         
01541 
01542         vector<Angle > pointingDirection;
01543 
01544         
01545         
01546         
01547 
01548         
01549         // ===> Attribute numReceptor
01550         
01551         
01552 
01553         int numReceptor;
01554 
01555         
01556         
01557         
01558 
01559         
01560         // ===> Attribute polarizationTypes
01561         
01562         
01563 
01564         vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
01565 
01566         
01567         
01568         
01569 
01570         
01571         // ===> Attribute wereFixed
01572         
01573         
01574 
01575         vector<bool > wereFixed;
01576 
01577         
01578         
01579         
01580 
01581         
01582         // ===> Attribute offset
01583         
01584         
01585 
01586         vector<vector<Length > > offset;
01587 
01588         
01589         
01590         
01591 
01592         
01593         // ===> Attribute offsetError
01594         
01595         
01596 
01597         vector<vector<Length > > offsetError;
01598 
01599         
01600         
01601         
01602 
01603         
01604         // ===> Attribute offsetWasTied
01605         
01606         
01607 
01608         vector<vector<bool > > offsetWasTied;
01609 
01610         
01611         
01612         
01613 
01614         
01615         // ===> Attribute reducedChiSquared
01616         
01617         
01618 
01619         vector<vector<double > > reducedChiSquared;
01620 
01621         
01622         
01623         
01624 
01625         
01626         // ===> Attribute position
01627         
01628         
01629 
01630         vector<vector<Length > > position;
01631 
01632         
01633         
01634         
01635 
01636         
01637         // ===> Attribute polarizationsAveraged, which is optional
01638         
01639         
01640         bool polarizationsAveragedExists;
01641         
01642 
01643         bool polarizationsAveraged;
01644 
01645         
01646         
01647         
01648 
01649         
01650         // ===> Attribute focusCurveWidth, which is optional
01651         
01652         
01653         bool focusCurveWidthExists;
01654         
01655 
01656         vector<vector<Length > > focusCurveWidth;
01657 
01658         
01659         
01660         
01661 
01662         
01663         // ===> Attribute focusCurveWidthError, which is optional
01664         
01665         
01666         bool focusCurveWidthErrorExists;
01667         
01668 
01669         vector<vector<Length > > focusCurveWidthError;
01670 
01671         
01672         
01673         
01674 
01675         
01676         // ===> Attribute focusCurveWasFixed, which is optional
01677         
01678         
01679         bool focusCurveWasFixedExists;
01680         
01681 
01682         vector<bool > focusCurveWasFixed;
01683 
01684         
01685         
01686         
01687 
01688         
01689         // ===> Attribute offIntensity, which is optional
01690         
01691         
01692         bool offIntensityExists;
01693         
01694 
01695         vector<Temperature > offIntensity;
01696 
01697         
01698         
01699         
01700 
01701         
01702         // ===> Attribute offIntensityError, which is optional
01703         
01704         
01705         bool offIntensityErrorExists;
01706         
01707 
01708         vector<Temperature > offIntensityError;
01709 
01710         
01711         
01712         
01713 
01714         
01715         // ===> Attribute offIntensityWasFixed, which is optional
01716         
01717         
01718         bool offIntensityWasFixedExists;
01719         
01720 
01721         bool offIntensityWasFixed;
01722 
01723         
01724         
01725         
01726 
01727         
01728         // ===> Attribute peakIntensity, which is optional
01729         
01730         
01731         bool peakIntensityExists;
01732         
01733 
01734         vector<Temperature > peakIntensity;
01735 
01736         
01737         
01738         
01739 
01740         
01741         // ===> Attribute peakIntensityError, which is optional
01742         
01743         
01744         bool peakIntensityErrorExists;
01745         
01746 
01747         vector<Temperature > peakIntensityError;
01748 
01749         
01750         
01751         
01752 
01753         
01754         // ===> Attribute peakIntensityWasFixed, which is optional
01755         
01756         
01757         bool peakIntensityWasFixedExists;
01758         
01759 
01760         bool peakIntensityWasFixed;
01761 
01762         
01763         
01764         
01765 
01767         // Extrinsic Table Attributes //
01769         
01770         
01771         // ===> Attribute calDataId
01772         
01773         
01774 
01775         Tag calDataId;
01776 
01777         
01778         
01779         
01780 
01781         
01782         // ===> Attribute calReductionId
01783         
01784         
01785 
01786         Tag calReductionId;
01787 
01788         
01789         
01790         
01791 
01793         // Links //
01795         
01796         
01797                 
01798 
01799          
01800 
01801         
01802 
01803         
01804                 
01805 
01806          
01807 
01808         
01809 
01810         
01811 /*
01813         // binary-deserialization material from an EndianIStream  //
01815         std::map<std::string, CalFocusAttributeFromBin> fromBinMethods;
01816 void antennaNameFromBin( EndianIStream& eis);
01817 void receiverBandFromBin( EndianIStream& eis);
01818 void calDataIdFromBin( EndianIStream& eis);
01819 void calReductionIdFromBin( EndianIStream& eis);
01820 void startValidTimeFromBin( EndianIStream& eis);
01821 void endValidTimeFromBin( EndianIStream& eis);
01822 void ambientTemperatureFromBin( EndianIStream& eis);
01823 void atmPhaseCorrectionFromBin( EndianIStream& eis);
01824 void focusMethodFromBin( EndianIStream& eis);
01825 void frequencyRangeFromBin( EndianIStream& eis);
01826 void pointingDirectionFromBin( EndianIStream& eis);
01827 void numReceptorFromBin( EndianIStream& eis);
01828 void polarizationTypesFromBin( EndianIStream& eis);
01829 void wereFixedFromBin( EndianIStream& eis);
01830 void offsetFromBin( EndianIStream& eis);
01831 void offsetErrorFromBin( EndianIStream& eis);
01832 void offsetWasTiedFromBin( EndianIStream& eis);
01833 void reducedChiSquaredFromBin( EndianIStream& eis);
01834 void positionFromBin( EndianIStream& eis);
01835 
01836 void polarizationsAveragedFromBin( EndianIStream& eis);
01837 void focusCurveWidthFromBin( EndianIStream& eis);
01838 void focusCurveWidthErrorFromBin( EndianIStream& eis);
01839 void focusCurveWasFixedFromBin( EndianIStream& eis);
01840 void offIntensityFromBin( EndianIStream& eis);
01841 void offIntensityErrorFromBin( EndianIStream& eis);
01842 void offIntensityWasFixedFromBin( EndianIStream& eis);
01843 void peakIntensityFromBin( EndianIStream& eis);
01844 void peakIntensityErrorFromBin( EndianIStream& eis);
01845 void peakIntensityWasFixedFromBin( EndianIStream& eis);
01846 
01847 */
01848         
01850         // text-deserialization material //
01852         std::map<std::string, CalFocusAttributeFromText> fromTextMethods;
01853         
01854 void antennaNameFromText (const string & s);
01855         
01856         
01857 void receiverBandFromText (const string & s);
01858         
01859         
01860 void calDataIdFromText (const string & s);
01861         
01862         
01863 void calReductionIdFromText (const string & s);
01864         
01865         
01866 void startValidTimeFromText (const string & s);
01867         
01868         
01869 void endValidTimeFromText (const string & s);
01870         
01871         
01872 void ambientTemperatureFromText (const string & s);
01873         
01874         
01875 void atmPhaseCorrectionFromText (const string & s);
01876         
01877         
01878 void focusMethodFromText (const string & s);
01879         
01880         
01881 void frequencyRangeFromText (const string & s);
01882         
01883         
01884 void pointingDirectionFromText (const string & s);
01885         
01886         
01887 void numReceptorFromText (const string & s);
01888         
01889         
01890 void polarizationTypesFromText (const string & s);
01891         
01892         
01893 void wereFixedFromText (const string & s);
01894         
01895         
01896 void offsetFromText (const string & s);
01897         
01898         
01899 void offsetErrorFromText (const string & s);
01900         
01901         
01902 void offsetWasTiedFromText (const string & s);
01903         
01904         
01905 void reducedChiSquaredFromText (const string & s);
01906         
01907         
01908 void positionFromText (const string & s);
01909         
01910 
01911         
01912 void polarizationsAveragedFromText (const string & s);
01913         
01914         
01915 void focusCurveWidthFromText (const string & s);
01916         
01917         
01918 void focusCurveWidthErrorFromText (const string & s);
01919         
01920         
01921 void focusCurveWasFixedFromText (const string & s);
01922         
01923         
01924 void offIntensityFromText (const string & s);
01925         
01926         
01927 void offIntensityErrorFromText (const string & s);
01928         
01929         
01930 void offIntensityWasFixedFromText (const string & s);
01931         
01932         
01933 void peakIntensityFromText (const string & s);
01934         
01935         
01936 void peakIntensityErrorFromText (const string & s);
01937         
01938         
01939 void peakIntensityWasFixedFromText (const string & s);
01940         
01941         
01942         
01943         void fromText(const std::string& attributeName, const std::string&  t);
01944         
01949          void toBin(EndianOSStream& eoss);
01950                  
01960 };
01961 
01962 } // End namespace asdm
01963 
01964 #endif /* CalFocus_CLASS */