CalPointingModelRow.h

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 CalPointingModelRow.h
00032  */
00033  
00034 #ifndef CalPointingModelRow_CLASS
00035 #define CalPointingModelRow_CLASS
00036 
00037 #include <vector>
00038 #include <string>
00039 #include <set>
00040 using std::vector;
00041 using std::string;
00042 using std::set;
00043 
00044 #ifndef WITHOUT_ACS
00045 #include <asdmIDLC.h>
00046 using asdmIDL::CalPointingModelRowIDL;
00047 #endif
00048 
00049 #include <Angle.h>
00050 #include <AngularRate.h>
00051 #include <ArrayTime.h>
00052 #include <ArrayTimeInterval.h>
00053 #include <Complex.h>
00054 #include <Entity.h>
00055 #include <EntityId.h>
00056 #include <EntityRef.h>
00057 #include <Flux.h>
00058 #include <Frequency.h>
00059 #include <Humidity.h>
00060 #include <Interval.h>
00061 #include <Length.h>
00062 #include <Pressure.h>
00063 #include <Speed.h>
00064 #include <Tag.h>
00065 #include <Temperature.h>
00066 #include <ConversionException.h>
00067 #include <NoSuchRow.h>
00068 #include <IllegalAccessException.h>
00069 
00070 /*
00071 #include <Enumerations.h>
00072 using namespace enumerations;
00073  */
00074 
00075 
00076 
00077 
00078         
00079 
00080         
00081 #include "CAntennaMake.h"
00082 using namespace AntennaMakeMod;
00083         
00084 
00085         
00086 
00087         
00088 
00089         
00090 
00091         
00092 
00093         
00094 
00095         
00096 
00097         
00098 
00099         
00100 
00101         
00102 
00103         
00104 
00105         
00106 
00107         
00108 
00109         
00110 
00111         
00112 #include "CPointingModelMode.h"
00113 using namespace PointingModelModeMod;
00114         
00115 
00116         
00117 #include "CReceiverBand.h"
00118 using namespace ReceiverBandMod;
00119         
00120 
00121 
00122 
00123 using asdm::Angle;
00124 using asdm::AngularRate;
00125 using asdm::ArrayTime;
00126 using asdm::Complex;
00127 using asdm::Entity;
00128 using asdm::EntityId;
00129 using asdm::EntityRef;
00130 using asdm::Flux;
00131 using asdm::Frequency;
00132 using asdm::Humidity;
00133 using asdm::Interval;
00134 using asdm::Length;
00135 using asdm::Pressure;
00136 using asdm::Speed;
00137 using asdm::Tag;
00138 using asdm::Temperature;
00139 using asdm::ConversionException;
00140 using asdm::NoSuchRow;
00141 using asdm::IllegalAccessException;
00142 
00143 /*\file CalPointingModel.h
00144     \brief Generated from model's revision "1.41", branch "HEAD"
00145 */
00146 
00147 namespace asdm {
00148 
00149 //class asdm::CalPointingModelTable;
00150 
00151 
00152 // class asdm::CalDataRow;
00153 class CalDataRow;
00154 
00155 // class asdm::CalReductionRow;
00156 class CalReductionRow;
00157         
00158 
00165 class CalPointingModelRow {
00166 friend class asdm::CalPointingModelTable;
00167 
00168 public:
00169 
00170         virtual ~CalPointingModelRow();
00171 
00175         CalPointingModelTable &getTable() const;
00176         
00177 #ifndef WITHOUT_ACS
00178 
00182         CalPointingModelRowIDL *toIDL() const;
00183 #endif
00184         
00185 #ifndef WITHOUT_ACS
00186 
00190         void setFromIDL (CalPointingModelRowIDL x) throw(ConversionException);
00191 #endif
00192         
00197         string toXML() const;
00198 
00204         void setFromXML (string rowDoc) throw(ConversionException);
00205         
00207         // Intrinsic Table Attributes //
00209         
00210         
00211         // ===> Attribute antennaName
00212         
00213         
00214         
00215 
00216         
00221         string getAntennaName() const;
00222         
00223  
00224         
00225         
00232         void setAntennaName (string antennaName) throw(IllegalAccessException);
00233                 
00234         
00235         
00236         
00237 
00238 
00239         
00240         // ===> Attribute antennaMake
00241         
00242         
00243         
00244 
00245         
00250         AntennaMake getAntennaMake() const;
00251         
00252  
00253         
00254         
00260         void setAntennaMake (AntennaMake antennaMake);
00261                 
00262         
00263         
00264         
00265 
00266 
00267         
00268         // ===> Attribute numObs
00269         
00270         
00271         
00272 
00273         
00278         int getNumObs() const;
00279         
00280  
00281         
00282         
00288         void setNumObs (int numObs);
00289                 
00290         
00291         
00292         
00293 
00294 
00295         
00296         // ===> Attribute numCoeff
00297         
00298         
00299         
00300 
00301         
00306         int getNumCoeff() const;
00307         
00308  
00309         
00310         
00316         void setNumCoeff (int numCoeff);
00317                 
00318         
00319         
00320         
00321 
00322 
00323         
00324         // ===> Attribute startValidTime
00325         
00326         
00327         
00328 
00329         
00334         ArrayTime getStartValidTime() const;
00335         
00336  
00337         
00338         
00344         void setStartValidTime (ArrayTime startValidTime);
00345                 
00346         
00347         
00348         
00349 
00350 
00351         
00352         // ===> Attribute endValidTime
00353         
00354         
00355         
00356 
00357         
00362         ArrayTime getEndValidTime() const;
00363         
00364  
00365         
00366         
00372         void setEndValidTime (ArrayTime endValidTime);
00373                 
00374         
00375         
00376         
00377 
00378 
00379         
00380         // ===> Attribute numFormula
00381         
00382         
00383         
00384 
00385         
00390         int getNumFormula() const;
00391         
00392  
00393         
00394         
00400         void setNumFormula (int numFormula);
00401                 
00402         
00403         
00404         
00405 
00406 
00407         
00408         // ===> Attribute azimuthRms
00409         
00410         
00411         
00412 
00413         
00418         Angle getAzimuthRms() const;
00419         
00420  
00421         
00422         
00428         void setAzimuthRms (Angle azimuthRms);
00429                 
00430         
00431         
00432         
00433 
00434 
00435         
00436         // ===> Attribute elevationRms
00437         
00438         
00439         
00440 
00441         
00446         Angle getElevationRms() const;
00447         
00448  
00449         
00450         
00456         void setElevationRms (Angle elevationRms);
00457                 
00458         
00459         
00460         
00461 
00462 
00463         
00464         // ===> Attribute skyRms
00465         
00466         
00467         
00468 
00469         
00474         Angle getSkyRms() const;
00475         
00476  
00477         
00478         
00484         void setSkyRms (Angle skyRms);
00485                 
00486         
00487         
00488         
00489 
00490 
00491         
00492         // ===> Attribute coeffName
00493         
00494         
00495         
00496 
00497         
00502         vector<string > getCoeffName() const;
00503         
00504  
00505         
00506         
00512         void setCoeffName (vector<string > coeffName);
00513                 
00514         
00515         
00516         
00517 
00518 
00519         
00520         // ===> Attribute coeffVal
00521         
00522         
00523         
00524 
00525         
00530         vector<float > getCoeffVal() const;
00531         
00532  
00533         
00534         
00540         void setCoeffVal (vector<float > coeffVal);
00541                 
00542         
00543         
00544         
00545 
00546 
00547         
00548         // ===> Attribute coeffError
00549         
00550         
00551         
00552 
00553         
00558         vector<float > getCoeffError() const;
00559         
00560  
00561         
00562         
00568         void setCoeffError (vector<float > coeffError);
00569                 
00570         
00571         
00572         
00573 
00574 
00575         
00576         // ===> Attribute coeffFixed
00577         
00578         
00579         
00580 
00581         
00586         vector<bool > getCoeffFixed() const;
00587         
00588  
00589         
00590         
00596         void setCoeffFixed (vector<bool > coeffFixed);
00597                 
00598         
00599         
00600         
00601 
00602 
00603         
00604         // ===> Attribute coeffFormula
00605         
00606         
00607         
00608 
00609         
00614         vector<string > getCoeffFormula() const;
00615         
00616  
00617         
00618         
00624         void setCoeffFormula (vector<string > coeffFormula);
00625                 
00626         
00627         
00628         
00629 
00630 
00631         
00632         // ===> Attribute pointingModelMode
00633         
00634         
00635         
00636 
00637         
00642         PointingModelMode getPointingModelMode() const;
00643         
00644  
00645         
00646         
00652         void setPointingModelMode (PointingModelMode pointingModelMode);
00653                 
00654         
00655         
00656         
00657 
00658 
00659         
00660         // ===> Attribute receiverBand
00661         
00662         
00663         
00664 
00665         
00670         ReceiverBand getReceiverBand() const;
00671         
00672  
00673         
00674         
00681         void setReceiverBand (ReceiverBand receiverBand) throw(IllegalAccessException);
00682                 
00683         
00684         
00685         
00686 
00687 
00689         // Extrinsic Table Attributes //
00691         
00692         
00693         // ===> Attribute calDataId
00694         
00695         
00696         
00697 
00698         
00703         Tag getCalDataId() const;
00704         
00705  
00706         
00707         
00714         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00715                 
00716         
00717         
00718         
00719 
00720 
00721         
00722         // ===> Attribute calReductionId
00723         
00724         
00725         
00726 
00727         
00732         Tag getCalReductionId() const;
00733         
00734  
00735         
00736         
00743         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00744                 
00745         
00746         
00747         
00748 
00749 
00751         // Links //
00753         
00754         
00755 
00756         
00757                 
00764          CalDataRow* getCalDataUsingCalDataId();
00765          
00766 
00767         
00768 
00769         
00770 
00771         
00772                 
00779          CalReductionRow* getCalReductionUsingCalReductionId();
00780          
00781 
00782         
00783 
00784         
00785         
00786         
00791         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ReceiverBand receiverBand, AntennaMake antennaMake, int numObs, int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, int numFormula, Angle azimuthRms, Angle elevationRms, Angle skyRms, vector<string > coeffName, vector<float > coeffVal, vector<float > coeffError, vector<bool > coeffFixed, vector<string > coeffFormula, PointingModelMode pointingModelMode);
00792         
00793         
00794 
00795         
00796         bool compareRequiredValue(AntennaMake antennaMake, int numObs, int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, int numFormula, Angle azimuthRms, Angle elevationRms, Angle skyRms, vector<string > coeffName, vector<float > coeffVal, vector<float > coeffError, vector<bool > coeffFixed, vector<string > coeffFormula, PointingModelMode pointingModelMode); 
00797                  
00798         
00807         bool equalByRequiredValue(CalPointingModelRow* x) ;
00808 
00809 private:
00813         CalPointingModelTable &table;
00817         bool hasBeenAdded;
00818 
00819         // This method is used by the Table class when this row is added to the table.
00820         void isAdded();
00821 
00822 
00831         CalPointingModelRow (CalPointingModelTable &table);
00832 
00850          CalPointingModelRow (CalPointingModelTable &table, CalPointingModelRow &row);
00851                 
00853         // Intrinsic Table Attributes //
00855         
00856         
00857         // ===> Attribute antennaName
00858         
00859         
00860 
00861         string antennaName;
00862 
00863         
00864         
00865         
00866 
00867         
00868         // ===> Attribute antennaMake
00869         
00870         
00871 
00872         AntennaMake antennaMake;
00873 
00874         
00875         
00876         
00877 
00878         
00879         // ===> Attribute numObs
00880         
00881         
00882 
00883         int numObs;
00884 
00885         
00886         
00887         
00888 
00889         
00890         // ===> Attribute numCoeff
00891         
00892         
00893 
00894         int numCoeff;
00895 
00896         
00897         
00898         
00899 
00900         
00901         // ===> Attribute startValidTime
00902         
00903         
00904 
00905         ArrayTime startValidTime;
00906 
00907         
00908         
00909         
00910 
00911         
00912         // ===> Attribute endValidTime
00913         
00914         
00915 
00916         ArrayTime endValidTime;
00917 
00918         
00919         
00920         
00921 
00922         
00923         // ===> Attribute numFormula
00924         
00925         
00926 
00927         int numFormula;
00928 
00929         
00930         
00931         
00932 
00933         
00934         // ===> Attribute azimuthRms
00935         
00936         
00937 
00938         Angle azimuthRms;
00939 
00940         
00941         
00942         
00943 
00944         
00945         // ===> Attribute elevationRms
00946         
00947         
00948 
00949         Angle elevationRms;
00950 
00951         
00952         
00953         
00954 
00955         
00956         // ===> Attribute skyRms
00957         
00958         
00959 
00960         Angle skyRms;
00961 
00962         
00963         
00964         
00965 
00966         
00967         // ===> Attribute coeffName
00968         
00969         
00970 
00971         vector<string > coeffName;
00972 
00973         
00974         
00975         
00976 
00977         
00978         // ===> Attribute coeffVal
00979         
00980         
00981 
00982         vector<float > coeffVal;
00983 
00984         
00985         
00986         
00987 
00988         
00989         // ===> Attribute coeffError
00990         
00991         
00992 
00993         vector<float > coeffError;
00994 
00995         
00996         
00997         
00998 
00999         
01000         // ===> Attribute coeffFixed
01001         
01002         
01003 
01004         vector<bool > coeffFixed;
01005 
01006         
01007         
01008         
01009 
01010         
01011         // ===> Attribute coeffFormula
01012         
01013         
01014 
01015         vector<string > coeffFormula;
01016 
01017         
01018         
01019         
01020 
01021         
01022         // ===> Attribute pointingModelMode
01023         
01024         
01025 
01026         PointingModelMode pointingModelMode;
01027 
01028         
01029         
01030         
01031 
01032         
01033         // ===> Attribute receiverBand
01034         
01035         
01036 
01037         ReceiverBand receiverBand;
01038 
01039         
01040         
01041         
01042 
01044         // Extrinsic Table Attributes //
01046         
01047         
01048         // ===> Attribute calDataId
01049         
01050         
01051 
01052         Tag calDataId;
01053 
01054         
01055         
01056         
01057 
01058         
01059         // ===> Attribute calReductionId
01060         
01061         
01062 
01063         Tag calReductionId;
01064 
01065         
01066         
01067         
01068 
01070         // Links //
01072         
01073         
01074                 
01075 
01076          
01077 
01078         
01079 
01080         
01081                 
01082 
01083          
01084 
01085         
01086 
01087 
01088 };
01089 
01090 } // End namespace asdm
01091 
01092 #endif /* CalPointingModel_CLASS */

Generated on Thu Nov 29 16:46:46 2007 for ASDM C++ Implementation by  doxygen 1.5.1