DelayModelVariableParametersRow.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 DelayModelVariableParametersRow.h
00032  */
00033  
00034 #ifndef DelayModelVariableParametersRow_CLASS
00035 #define DelayModelVariableParametersRow_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 <Angle.h>
00056         
00057 
00058          
00059 #include <Tag.h>
00060         
00061 
00062          
00063 #include <AngularRate.h>
00064         
00065 
00066 
00067 
00068 
00069         
00070 
00071         
00072 
00073         
00074 
00075         
00076 
00077         
00078 #include "CDifferenceType.h"
00079         
00080 
00081         
00082 
00083         
00084 
00085         
00086 
00087         
00088 #include "CDifferenceType.h"
00089         
00090 
00091         
00092 
00093         
00094 
00095         
00096 
00097         
00098 
00099 
00100 
00101 #include <ConversionException.h>
00102 #include <NoSuchRow.h>
00103 #include <IllegalAccessException.h>
00104 
00105 #include <RowTransformer.h>
00106 //#include <TableStreamReader.h>
00107 
00108 /*\file DelayModelVariableParameters.h
00109     \brief Generated from model's revision "-1", branch ""
00110 */
00111 
00112 namespace asdm {
00113 
00114 //class asdm::DelayModelVariableParametersTable;
00115 
00116 
00117 // class asdm::DelayModelFixedParametersRow;
00118 class DelayModelFixedParametersRow;
00119         
00120 
00121 class DelayModelVariableParametersRow;
00122 typedef void (DelayModelVariableParametersRow::*DelayModelVariableParametersAttributeFromBin) (EndianIStream& eis);
00123 typedef void (DelayModelVariableParametersRow::*DelayModelVariableParametersAttributeFromText) (const string& s);
00124 
00131 class DelayModelVariableParametersRow {
00132 friend class asdm::DelayModelVariableParametersTable;
00133 friend class asdm::RowTransformer<DelayModelVariableParametersRow>;
00134 //friend class asdm::TableStreamReader<DelayModelVariableParametersTable, DelayModelVariableParametersRow>;
00135 
00136 public:
00137 
00138         virtual ~DelayModelVariableParametersRow();
00139 
00143         DelayModelVariableParametersTable &getTable() const;
00144         
00149         bool isAdded() const;
00150                 
00152         // Intrinsic Table Attributes //
00154         
00155         
00156         // ===> Attribute delayModelVariableParametersId
00157         
00158         
00159         
00160 
00161         
00166         Tag getDelayModelVariableParametersId() const;
00167         
00168  
00169         
00170         
00171         
00172         
00173 
00174 
00175         
00176         // ===> Attribute time
00177         
00178         
00179         
00180 
00181         
00186         ArrayTime getTime() const;
00187         
00188  
00189         
00190         
00198         void setTime (ArrayTime time);
00199                 
00200         
00201         
00202         
00203 
00204 
00205         
00206         // ===> Attribute ut1_utc
00207         
00208         
00209         
00210 
00211         
00216         double getUt1_utc() const;
00217         
00218  
00219         
00220         
00228         void setUt1_utc (double ut1_utc);
00229                 
00230         
00231         
00232         
00233 
00234 
00235         
00236         // ===> Attribute iat_utc
00237         
00238         
00239         
00240 
00241         
00246         double getIat_utc() const;
00247         
00248  
00249         
00250         
00258         void setIat_utc (double iat_utc);
00259                 
00260         
00261         
00262         
00263 
00264 
00265         
00266         // ===> Attribute timeType
00267         
00268         
00269         
00270 
00271         
00276         DifferenceTypeMod::DifferenceType getTimeType() const;
00277         
00278  
00279         
00280         
00288         void setTimeType (DifferenceTypeMod::DifferenceType timeType);
00289                 
00290         
00291         
00292         
00293 
00294 
00295         
00296         // ===> Attribute gstAtUt0
00297         
00298         
00299         
00300 
00301         
00306         Angle getGstAtUt0() const;
00307         
00308  
00309         
00310         
00318         void setGstAtUt0 (Angle gstAtUt0);
00319                 
00320         
00321         
00322         
00323 
00324 
00325         
00326         // ===> Attribute earthRotationRate
00327         
00328         
00329         
00330 
00331         
00336         AngularRate getEarthRotationRate() const;
00337         
00338  
00339         
00340         
00348         void setEarthRotationRate (AngularRate earthRotationRate);
00349                 
00350         
00351         
00352         
00353 
00354 
00355         
00356         // ===> Attribute polarOffsets
00357         
00358         
00359         
00360 
00361         
00366         vector<double > getPolarOffsets() const;
00367         
00368  
00369         
00370         
00378         void setPolarOffsets (vector<double > polarOffsets);
00379                 
00380         
00381         
00382         
00383 
00384 
00385         
00386         // ===> Attribute polarOffsetsType
00387         
00388         
00389         
00390 
00391         
00396         DifferenceTypeMod::DifferenceType getPolarOffsetsType() const;
00397         
00398  
00399         
00400         
00408         void setPolarOffsetsType (DifferenceTypeMod::DifferenceType polarOffsetsType);
00409                 
00410         
00411         
00412         
00413 
00414 
00415         
00416         // ===> Attribute nutationInLongitude, which is optional
00417         
00418         
00419         
00424         bool isNutationInLongitudeExists() const;
00425         
00426 
00427         
00433         Angle getNutationInLongitude() const;
00434         
00435  
00436         
00437         
00444         void setNutationInLongitude (Angle nutationInLongitude);
00445                 
00446         
00447         
00448         
00452         void clearNutationInLongitude ();
00453         
00454 
00455 
00456         
00457         // ===> Attribute nutationInLongitudeRate, which is optional
00458         
00459         
00460         
00465         bool isNutationInLongitudeRateExists() const;
00466         
00467 
00468         
00474         AngularRate getNutationInLongitudeRate() const;
00475         
00476  
00477         
00478         
00485         void setNutationInLongitudeRate (AngularRate nutationInLongitudeRate);
00486                 
00487         
00488         
00489         
00493         void clearNutationInLongitudeRate ();
00494         
00495 
00496 
00497         
00498         // ===> Attribute nutationInObliquity, which is optional
00499         
00500         
00501         
00506         bool isNutationInObliquityExists() const;
00507         
00508 
00509         
00515         Angle getNutationInObliquity() const;
00516         
00517  
00518         
00519         
00526         void setNutationInObliquity (Angle nutationInObliquity);
00527                 
00528         
00529         
00530         
00534         void clearNutationInObliquity ();
00535         
00536 
00537 
00538         
00539         // ===> Attribute nutationInObliquityRate, which is optional
00540         
00541         
00542         
00547         bool isNutationInObliquityRateExists() const;
00548         
00549 
00550         
00556         AngularRate getNutationInObliquityRate() const;
00557         
00558  
00559         
00560         
00567         void setNutationInObliquityRate (AngularRate nutationInObliquityRate);
00568                 
00569         
00570         
00571         
00575         void clearNutationInObliquityRate ();
00576         
00577 
00578 
00580         // Extrinsic Table Attributes //
00582         
00583         
00584         // ===> Attribute delayModelFixedParametersId
00585         
00586         
00587         
00588 
00589         
00594         Tag getDelayModelFixedParametersId() const;
00595         
00596  
00597         
00598         
00606         void setDelayModelFixedParametersId (Tag delayModelFixedParametersId);
00607                 
00608         
00609         
00610         
00611 
00612 
00614         // Links //
00616         
00617         
00618 
00619         
00620                 
00627          DelayModelFixedParametersRow* getDelayModelFixedParametersUsingDelayModelFixedParametersId();
00628          
00629 
00630         
00631 
00632         
00633         
00634         
00658         bool compareNoAutoInc(ArrayTime time, double ut1_utc, double iat_utc, DifferenceTypeMod::DifferenceType timeType, Angle gstAtUt0, AngularRate earthRotationRate, vector<double > polarOffsets, DifferenceTypeMod::DifferenceType polarOffsetsType, Tag delayModelFixedParametersId);
00659         
00660         
00661 
00662         
00686         bool compareRequiredValue(ArrayTime time, double ut1_utc, double iat_utc, DifferenceTypeMod::DifferenceType timeType, Angle gstAtUt0, AngularRate earthRotationRate, vector<double > polarOffsets, DifferenceTypeMod::DifferenceType polarOffsetsType, Tag delayModelFixedParametersId); 
00687                  
00688         
00697         bool equalByRequiredValue(DelayModelVariableParametersRow* x) ;
00698         
00699 #ifndef WITHOUT_ACS
00700 
00704         asdmIDL::DelayModelVariableParametersRowIDL *toIDL() const;
00705         
00713          void toIDL(asdmIDL::DelayModelVariableParametersRowIDL& x) const;
00714 #endif
00715         
00716 #ifndef WITHOUT_ACS
00717 
00722         void setFromIDL (asdmIDL::DelayModelVariableParametersRowIDL x) ;
00723 #endif
00724         
00729         std::string toXML() const;
00730 
00737         void setFromXML (std::string rowDoc) ;
00738 
00741         // binary-deserialization material from an EndianIStream  //
00743 
00744         std::map<std::string, DelayModelVariableParametersAttributeFromBin> fromBinMethods;
00745 void delayModelVariableParametersIdFromBin( EndianIStream& eis);
00746 void timeFromBin( EndianIStream& eis);
00747 void ut1_utcFromBin( EndianIStream& eis);
00748 void iat_utcFromBin( EndianIStream& eis);
00749 void timeTypeFromBin( EndianIStream& eis);
00750 void gstAtUt0FromBin( EndianIStream& eis);
00751 void earthRotationRateFromBin( EndianIStream& eis);
00752 void polarOffsetsFromBin( EndianIStream& eis);
00753 void polarOffsetsTypeFromBin( EndianIStream& eis);
00754 void delayModelFixedParametersIdFromBin( EndianIStream& eis);
00755 
00756 void nutationInLongitudeFromBin( EndianIStream& eis);
00757 void nutationInLongitudeRateFromBin( EndianIStream& eis);
00758 void nutationInObliquityFromBin( EndianIStream& eis);
00759 void nutationInObliquityRateFromBin( EndianIStream& eis);
00760 
00761 
00769          static DelayModelVariableParametersRow* fromBin(EndianIStream& eis, DelayModelVariableParametersTable& table, const std::vector<std::string>& attributesSeq);   
00770  
00777          void fromText(const std::string& attributeName, const std::string&  t);
00779 
00780 private:
00784         DelayModelVariableParametersTable &table;
00788         bool hasBeenAdded;
00789 
00790         // This method is used by the Table class when this row is added to the table.
00791         void isAdded(bool added);
00792 
00793 
00802         DelayModelVariableParametersRow (DelayModelVariableParametersTable &table);
00803 
00821          DelayModelVariableParametersRow (DelayModelVariableParametersTable &table, DelayModelVariableParametersRow &row);
00822                 
00824         // Intrinsic Table Attributes //
00826         
00827         
00828         // ===> Attribute delayModelVariableParametersId
00829         
00830         
00831 
00832         Tag delayModelVariableParametersId;
00833 
00834         
00835         
00836         
00846         void setDelayModelVariableParametersId (Tag delayModelVariableParametersId);
00847                 
00848         
00849 
00850         
00851         // ===> Attribute time
00852         
00853         
00854 
00855         ArrayTime time;
00856 
00857         
00858         
00859         
00860 
00861         
00862         // ===> Attribute ut1_utc
00863         
00864         
00865 
00866         double ut1_utc;
00867 
00868         
00869         
00870         
00871 
00872         
00873         // ===> Attribute iat_utc
00874         
00875         
00876 
00877         double iat_utc;
00878 
00879         
00880         
00881         
00882 
00883         
00884         // ===> Attribute timeType
00885         
00886         
00887 
00888         DifferenceTypeMod::DifferenceType timeType;
00889 
00890         
00891         
00892         
00893 
00894         
00895         // ===> Attribute gstAtUt0
00896         
00897         
00898 
00899         Angle gstAtUt0;
00900 
00901         
00902         
00903         
00904 
00905         
00906         // ===> Attribute earthRotationRate
00907         
00908         
00909 
00910         AngularRate earthRotationRate;
00911 
00912         
00913         
00914         
00915 
00916         
00917         // ===> Attribute polarOffsets
00918         
00919         
00920 
00921         vector<double > polarOffsets;
00922 
00923         
00924         
00925         
00926 
00927         
00928         // ===> Attribute polarOffsetsType
00929         
00930         
00931 
00932         DifferenceTypeMod::DifferenceType polarOffsetsType;
00933 
00934         
00935         
00936         
00937 
00938         
00939         // ===> Attribute nutationInLongitude, which is optional
00940         
00941         
00942         bool nutationInLongitudeExists;
00943         
00944 
00945         Angle nutationInLongitude;
00946 
00947         
00948         
00949         
00950 
00951         
00952         // ===> Attribute nutationInLongitudeRate, which is optional
00953         
00954         
00955         bool nutationInLongitudeRateExists;
00956         
00957 
00958         AngularRate nutationInLongitudeRate;
00959 
00960         
00961         
00962         
00963 
00964         
00965         // ===> Attribute nutationInObliquity, which is optional
00966         
00967         
00968         bool nutationInObliquityExists;
00969         
00970 
00971         Angle nutationInObliquity;
00972 
00973         
00974         
00975         
00976 
00977         
00978         // ===> Attribute nutationInObliquityRate, which is optional
00979         
00980         
00981         bool nutationInObliquityRateExists;
00982         
00983 
00984         AngularRate nutationInObliquityRate;
00985 
00986         
00987         
00988         
00989 
00991         // Extrinsic Table Attributes //
00993         
00994         
00995         // ===> Attribute delayModelFixedParametersId
00996         
00997         
00998 
00999         Tag delayModelFixedParametersId;
01000 
01001         
01002         
01003         
01004 
01006         // Links //
01008         
01009         
01010                 
01011 
01012          
01013 
01014         
01015 
01016         
01017 /*
01019         // binary-deserialization material from an EndianIStream  //
01021         std::map<std::string, DelayModelVariableParametersAttributeFromBin> fromBinMethods;
01022 void delayModelVariableParametersIdFromBin( EndianIStream& eis);
01023 void timeFromBin( EndianIStream& eis);
01024 void ut1_utcFromBin( EndianIStream& eis);
01025 void iat_utcFromBin( EndianIStream& eis);
01026 void timeTypeFromBin( EndianIStream& eis);
01027 void gstAtUt0FromBin( EndianIStream& eis);
01028 void earthRotationRateFromBin( EndianIStream& eis);
01029 void polarOffsetsFromBin( EndianIStream& eis);
01030 void polarOffsetsTypeFromBin( EndianIStream& eis);
01031 void delayModelFixedParametersIdFromBin( EndianIStream& eis);
01032 
01033 void nutationInLongitudeFromBin( EndianIStream& eis);
01034 void nutationInLongitudeRateFromBin( EndianIStream& eis);
01035 void nutationInObliquityFromBin( EndianIStream& eis);
01036 void nutationInObliquityRateFromBin( EndianIStream& eis);
01037 
01038 */
01039         
01041         // text-deserialization material //
01043         std::map<std::string, DelayModelVariableParametersAttributeFromText> fromTextMethods;
01044         
01045 void delayModelVariableParametersIdFromText (const string & s);
01046         
01047         
01048 void timeFromText (const string & s);
01049         
01050         
01051 void ut1_utcFromText (const string & s);
01052         
01053         
01054 void iat_utcFromText (const string & s);
01055         
01056         
01057 void timeTypeFromText (const string & s);
01058         
01059         
01060 void gstAtUt0FromText (const string & s);
01061         
01062         
01063 void earthRotationRateFromText (const string & s);
01064         
01065         
01066 void polarOffsetsFromText (const string & s);
01067         
01068         
01069 void polarOffsetsTypeFromText (const string & s);
01070         
01071         
01072 void delayModelFixedParametersIdFromText (const string & s);
01073         
01074 
01075         
01076 void nutationInLongitudeFromText (const string & s);
01077         
01078         
01079 void nutationInLongitudeRateFromText (const string & s);
01080         
01081         
01082 void nutationInObliquityFromText (const string & s);
01083         
01084         
01085 void nutationInObliquityRateFromText (const string & s);
01086         
01087         
01088         
01093          void toBin(EndianOSStream& eoss);
01094                  
01104 };
01105 
01106 } // End namespace asdm
01107 
01108 #endif /* DelayModelVariableParameters_CLASS */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1