CalCurveRow.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 CalCurveRow.h
00032  */
00033  
00034 #ifndef CalCurveRow_CLASS
00035 #define CalCurveRow_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::CalCurveRowIDL;
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 
00082         
00083 
00084         
00085 
00086         
00087 
00088         
00089 
00090         
00091 
00092         
00093 #include "CReceiverBand.h"
00094 using namespace ReceiverBandMod;
00095         
00096 
00097         
00098 #include "CAtmPhaseCorrection.h"
00099 using namespace AtmPhaseCorrectionMod;
00100         
00101 
00102         
00103 #include "CPolarizationType.h"
00104 using namespace PolarizationTypeMod;
00105         
00106 
00107         
00108 
00109         
00110 
00111         
00112 
00113         
00114 #include "CCalCurveType.h"
00115 using namespace CalCurveTypeMod;
00116         
00117 
00118         
00119 
00120         
00121 
00122         
00123 
00124 
00125 
00126 using asdm::Angle;
00127 using asdm::AngularRate;
00128 using asdm::ArrayTime;
00129 using asdm::Complex;
00130 using asdm::Entity;
00131 using asdm::EntityId;
00132 using asdm::EntityRef;
00133 using asdm::Flux;
00134 using asdm::Frequency;
00135 using asdm::Humidity;
00136 using asdm::Interval;
00137 using asdm::Length;
00138 using asdm::Pressure;
00139 using asdm::Speed;
00140 using asdm::Tag;
00141 using asdm::Temperature;
00142 using asdm::ConversionException;
00143 using asdm::NoSuchRow;
00144 using asdm::IllegalAccessException;
00145 
00146 /*\file CalCurve.h
00147     \brief Generated from model's revision "1.41", branch "HEAD"
00148 */
00149 
00150 namespace asdm {
00151 
00152 //class asdm::CalCurveTable;
00153 
00154 
00155 // class asdm::CalDataRow;
00156 class CalDataRow;
00157 
00158 // class asdm::CalReductionRow;
00159 class CalReductionRow;
00160         
00161 
00168 class CalCurveRow {
00169 friend class asdm::CalCurveTable;
00170 
00171 public:
00172 
00173         virtual ~CalCurveRow();
00174 
00178         CalCurveTable &getTable() const;
00179         
00180 #ifndef WITHOUT_ACS
00181 
00185         CalCurveRowIDL *toIDL() const;
00186 #endif
00187         
00188 #ifndef WITHOUT_ACS
00189 
00193         void setFromIDL (CalCurveRowIDL x) throw(ConversionException);
00194 #endif
00195         
00200         string toXML() const;
00201 
00207         void setFromXML (string rowDoc) throw(ConversionException);
00208         
00210         // Intrinsic Table Attributes //
00212         
00213         
00214         // ===> Attribute numAntenna
00215         
00216         
00217         
00218 
00219         
00224         int getNumAntenna() const;
00225         
00226  
00227         
00228         
00234         void setNumAntenna (int numAntenna);
00235                 
00236         
00237         
00238         
00239 
00240 
00241         
00242         // ===> Attribute numBaseline
00243         
00244         
00245         
00246 
00247         
00252         int getNumBaseline() const;
00253         
00254  
00255         
00256         
00262         void setNumBaseline (int numBaseline);
00263                 
00264         
00265         
00266         
00267 
00268 
00269         
00270         // ===> Attribute numAPC
00271         
00272         
00273         
00274 
00275         
00280         int getNumAPC() const;
00281         
00282  
00283         
00284         
00290         void setNumAPC (int numAPC);
00291                 
00292         
00293         
00294         
00295 
00296 
00297         
00298         // ===> Attribute numReceptor
00299         
00300         
00301         
00302 
00303         
00308         int getNumReceptor() const;
00309         
00310  
00311         
00312         
00318         void setNumReceptor (int numReceptor);
00319                 
00320         
00321         
00322         
00323 
00324 
00325         
00326         // ===> Attribute numPoly
00327         
00328         
00329         
00330 
00331         
00336         int getNumPoly() const;
00337         
00338  
00339         
00340         
00346         void setNumPoly (int numPoly);
00347                 
00348         
00349         
00350         
00351 
00352 
00353         
00354         // ===> Attribute antennaNames
00355         
00356         
00357         
00358 
00359         
00364         vector<string > getAntennaNames() const;
00365         
00366  
00367         
00368         
00374         void setAntennaNames (vector<string > antennaNames);
00375                 
00376         
00377         
00378         
00379 
00380 
00381         
00382         // ===> Attribute refAntennaName
00383         
00384         
00385         
00386 
00387         
00392         string getRefAntennaName() const;
00393         
00394  
00395         
00396         
00402         void setRefAntennaName (string refAntennaName);
00403                 
00404         
00405         
00406         
00407 
00408 
00409         
00410         // ===> Attribute receiverBand
00411         
00412         
00413         
00414 
00415         
00420         ReceiverBand getReceiverBand() const;
00421         
00422  
00423         
00424         
00430         void setReceiverBand (ReceiverBand receiverBand);
00431                 
00432         
00433         
00434         
00435 
00436 
00437         
00438         // ===> Attribute atmPhaseCorrections
00439         
00440         
00441         
00442 
00443         
00448         vector<AtmPhaseCorrection > getAtmPhaseCorrections() const;
00449         
00450  
00451         
00452         
00458         void setAtmPhaseCorrections (vector<AtmPhaseCorrection > atmPhaseCorrections);
00459                 
00460         
00461         
00462         
00463 
00464 
00465         
00466         // ===> Attribute polarizationTypes
00467         
00468         
00469         
00470 
00471         
00476         vector<PolarizationType > getPolarizationTypes() const;
00477         
00478  
00479         
00480         
00486         void setPolarizationTypes (vector<PolarizationType > polarizationTypes);
00487                 
00488         
00489         
00490         
00491 
00492 
00493         
00494         // ===> Attribute startValidTime
00495         
00496         
00497         
00498 
00499         
00504         ArrayTime getStartValidTime() const;
00505         
00506  
00507         
00508         
00514         void setStartValidTime (ArrayTime startValidTime);
00515                 
00516         
00517         
00518         
00519 
00520 
00521         
00522         // ===> Attribute endValidTime
00523         
00524         
00525         
00526 
00527         
00532         ArrayTime getEndValidTime() const;
00533         
00534  
00535         
00536         
00542         void setEndValidTime (ArrayTime endValidTime);
00543                 
00544         
00545         
00546         
00547 
00548 
00549         
00550         // ===> Attribute frequencyRange
00551         
00552         
00553         
00554 
00555         
00560         vector<Frequency > getFrequencyRange() const;
00561         
00562  
00563         
00564         
00570         void setFrequencyRange (vector<Frequency > frequencyRange);
00571                 
00572         
00573         
00574         
00575 
00576 
00577         
00578         // ===> Attribute typeCurve
00579         
00580         
00581         
00582 
00583         
00588         CalCurveType getTypeCurve() const;
00589         
00590  
00591         
00592         
00598         void setTypeCurve (CalCurveType typeCurve);
00599                 
00600         
00601         
00602         
00603 
00604 
00605         
00606         // ===> Attribute timeOrigin
00607         
00608         
00609         
00610 
00611         
00616         ArrayTime getTimeOrigin() const;
00617         
00618  
00619         
00620         
00626         void setTimeOrigin (ArrayTime timeOrigin);
00627                 
00628         
00629         
00630         
00631 
00632 
00633         
00634         // ===> Attribute curve
00635         
00636         
00637         
00638 
00639         
00644         vector<vector<vector<vector<float > > > > getCurve() const;
00645         
00646  
00647         
00648         
00654         void setCurve (vector<vector<vector<vector<float > > > > curve);
00655                 
00656         
00657         
00658         
00659 
00660 
00661         
00662         // ===> Attribute rms
00663         
00664         
00665         
00666 
00667         
00672         vector<vector<vector<float > > > getRms() const;
00673         
00674  
00675         
00676         
00682         void setRms (vector<vector<vector<float > > > rms);
00683                 
00684         
00685         
00686         
00687 
00688 
00690         // Extrinsic Table Attributes //
00692         
00693         
00694         // ===> Attribute calDataId
00695         
00696         
00697         
00698 
00699         
00704         Tag getCalDataId() const;
00705         
00706  
00707         
00708         
00715         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00716                 
00717         
00718         
00719         
00720 
00721 
00722         
00723         // ===> Attribute calReductionId
00724         
00725         
00726         
00727 
00728         
00733         Tag getCalReductionId() const;
00734         
00735  
00736         
00737         
00744         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00745                 
00746         
00747         
00748         
00749 
00750 
00752         // Links //
00754         
00755         
00756 
00757         
00758                 
00765          CalDataRow* getCalDataUsingCalDataId();
00766          
00767 
00768         
00769 
00770         
00771 
00772         
00773                 
00780          CalReductionRow* getCalReductionUsingCalReductionId();
00781          
00782 
00783         
00784 
00785         
00786         
00787         
00792         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector<string > antennaNames, string refAntennaName, ReceiverBand receiverBand, vector<AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, CalCurveType typeCurve, ArrayTime timeOrigin, vector<vector<vector<vector<float > > > > curve, vector<vector<vector<float > > > rms);
00793         
00794         
00795 
00796         
00797         bool compareRequiredValue(int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector<string > antennaNames, string refAntennaName, ReceiverBand receiverBand, vector<AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, CalCurveType typeCurve, ArrayTime timeOrigin, vector<vector<vector<vector<float > > > > curve, vector<vector<vector<float > > > rms); 
00798                  
00799         
00808         bool equalByRequiredValue(CalCurveRow* x) ;
00809 
00810 private:
00814         CalCurveTable &table;
00818         bool hasBeenAdded;
00819 
00820         // This method is used by the Table class when this row is added to the table.
00821         void isAdded();
00822 
00823 
00832         CalCurveRow (CalCurveTable &table);
00833 
00851          CalCurveRow (CalCurveTable &table, CalCurveRow &row);
00852                 
00854         // Intrinsic Table Attributes //
00856         
00857         
00858         // ===> Attribute numAntenna
00859         
00860         
00861 
00862         int numAntenna;
00863 
00864         
00865         
00866         
00867 
00868         
00869         // ===> Attribute numBaseline
00870         
00871         
00872 
00873         int numBaseline;
00874 
00875         
00876         
00877         
00878 
00879         
00880         // ===> Attribute numAPC
00881         
00882         
00883 
00884         int numAPC;
00885 
00886         
00887         
00888         
00889 
00890         
00891         // ===> Attribute numReceptor
00892         
00893         
00894 
00895         int numReceptor;
00896 
00897         
00898         
00899         
00900 
00901         
00902         // ===> Attribute numPoly
00903         
00904         
00905 
00906         int numPoly;
00907 
00908         
00909         
00910         
00911 
00912         
00913         // ===> Attribute antennaNames
00914         
00915         
00916 
00917         vector<string > antennaNames;
00918 
00919         
00920         
00921         
00922 
00923         
00924         // ===> Attribute refAntennaName
00925         
00926         
00927 
00928         string refAntennaName;
00929 
00930         
00931         
00932         
00933 
00934         
00935         // ===> Attribute receiverBand
00936         
00937         
00938 
00939         ReceiverBand receiverBand;
00940 
00941         
00942         
00943         
00944 
00945         
00946         // ===> Attribute atmPhaseCorrections
00947         
00948         
00949 
00950         vector<AtmPhaseCorrection > atmPhaseCorrections;
00951 
00952         
00953         
00954         
00955 
00956         
00957         // ===> Attribute polarizationTypes
00958         
00959         
00960 
00961         vector<PolarizationType > polarizationTypes;
00962 
00963         
00964         
00965         
00966 
00967         
00968         // ===> Attribute startValidTime
00969         
00970         
00971 
00972         ArrayTime startValidTime;
00973 
00974         
00975         
00976         
00977 
00978         
00979         // ===> Attribute endValidTime
00980         
00981         
00982 
00983         ArrayTime endValidTime;
00984 
00985         
00986         
00987         
00988 
00989         
00990         // ===> Attribute frequencyRange
00991         
00992         
00993 
00994         vector<Frequency > frequencyRange;
00995 
00996         
00997         
00998         
00999 
01000         
01001         // ===> Attribute typeCurve
01002         
01003         
01004 
01005         CalCurveType typeCurve;
01006 
01007         
01008         
01009         
01010 
01011         
01012         // ===> Attribute timeOrigin
01013         
01014         
01015 
01016         ArrayTime timeOrigin;
01017 
01018         
01019         
01020         
01021 
01022         
01023         // ===> Attribute curve
01024         
01025         
01026 
01027         vector<vector<vector<vector<float > > > > curve;
01028 
01029         
01030         
01031         
01032 
01033         
01034         // ===> Attribute rms
01035         
01036         
01037 
01038         vector<vector<vector<float > > > rms;
01039 
01040         
01041         
01042         
01043 
01045         // Extrinsic Table Attributes //
01047         
01048         
01049         // ===> Attribute calDataId
01050         
01051         
01052 
01053         Tag calDataId;
01054 
01055         
01056         
01057         
01058 
01059         
01060         // ===> Attribute calReductionId
01061         
01062         
01063 
01064         Tag calReductionId;
01065 
01066         
01067         
01068         
01069 
01071         // Links //
01073         
01074         
01075                 
01076 
01077          
01078 
01079         
01080 
01081         
01082                 
01083 
01084          
01085 
01086         
01087 
01088 
01089 };
01090 
01091 } // End namespace asdm
01092 
01093 #endif /* CalCurve_CLASS */

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