CalBandpassRow.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 CalBandpassRow.h
00032  */
00033  
00034 #ifndef CalBandpassRow_CLASS
00035 #define CalBandpassRow_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::CalBandpassRowIDL;
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 #include "CBasebandName.h"
00080 using namespace BasebandNameMod;
00081         
00082 
00083         
00084 
00085         
00086 
00087         
00088 
00089         
00090 
00091         
00092 
00093         
00094 
00095         
00096 
00097         
00098 #include "CReceiverBand.h"
00099 using namespace ReceiverBandMod;
00100         
00101 
00102         
00103 
00104         
00105 
00106         
00107 #include "CAtmPhaseCorrection.h"
00108 using namespace AtmPhaseCorrectionMod;
00109         
00110 
00111         
00112 #include "CPolarizationType.h"
00113 using namespace PolarizationTypeMod;
00114         
00115 
00116         
00117 
00118         
00119 
00120         
00121 
00122         
00123 
00124         
00125 
00126         
00127 
00128 
00129 
00130 using asdm::Angle;
00131 using asdm::AngularRate;
00132 using asdm::ArrayTime;
00133 using asdm::Complex;
00134 using asdm::Entity;
00135 using asdm::EntityId;
00136 using asdm::EntityRef;
00137 using asdm::Flux;
00138 using asdm::Frequency;
00139 using asdm::Humidity;
00140 using asdm::Interval;
00141 using asdm::Length;
00142 using asdm::Pressure;
00143 using asdm::Speed;
00144 using asdm::Tag;
00145 using asdm::Temperature;
00146 using asdm::ConversionException;
00147 using asdm::NoSuchRow;
00148 using asdm::IllegalAccessException;
00149 
00150 /*\file CalBandpass.h
00151     \brief Generated from model's revision "1.41", branch "HEAD"
00152 */
00153 
00154 namespace asdm {
00155 
00156 //class asdm::CalBandpassTable;
00157 
00158 
00159 // class asdm::CalReductionRow;
00160 class CalReductionRow;
00161 
00162 // class asdm::CalDataRow;
00163 class CalDataRow;
00164         
00165 
00172 class CalBandpassRow {
00173 friend class asdm::CalBandpassTable;
00174 
00175 public:
00176 
00177         virtual ~CalBandpassRow();
00178 
00182         CalBandpassTable &getTable() const;
00183         
00184 #ifndef WITHOUT_ACS
00185 
00189         CalBandpassRowIDL *toIDL() const;
00190 #endif
00191         
00192 #ifndef WITHOUT_ACS
00193 
00197         void setFromIDL (CalBandpassRowIDL x) throw(ConversionException);
00198 #endif
00199         
00204         string toXML() const;
00205 
00211         void setFromXML (string rowDoc) throw(ConversionException);
00212         
00214         // Intrinsic Table Attributes //
00216         
00217         
00218         // ===> Attribute basebandName
00219         
00220         
00221         
00222 
00223         
00228         BasebandName getBasebandName() const;
00229         
00230  
00231         
00232         
00239         void setBasebandName (BasebandName basebandName) throw(IllegalAccessException);
00240                 
00241         
00242         
00243         
00244 
00245 
00246         
00247         // ===> Attribute numAntenna
00248         
00249         
00250         
00251 
00252         
00257         int getNumAntenna() const;
00258         
00259  
00260         
00261         
00267         void setNumAntenna (int numAntenna);
00268                 
00269         
00270         
00271         
00272 
00273 
00274         
00275         // ===> Attribute numBaseline
00276         
00277         
00278         
00279 
00280         
00285         int getNumBaseline() const;
00286         
00287  
00288         
00289         
00295         void setNumBaseline (int numBaseline);
00296                 
00297         
00298         
00299         
00300 
00301 
00302         
00303         // ===> Attribute numAPC
00304         
00305         
00306         
00307 
00308         
00313         int getNumAPC() const;
00314         
00315  
00316         
00317         
00323         void setNumAPC (int numAPC);
00324                 
00325         
00326         
00327         
00328 
00329 
00330         
00331         // ===> Attribute numReceptor
00332         
00333         
00334         
00335 
00336         
00341         int getNumReceptor() const;
00342         
00343  
00344         
00345         
00351         void setNumReceptor (int numReceptor);
00352                 
00353         
00354         
00355         
00356 
00357 
00358         
00359         // ===> Attribute startValidTime
00360         
00361         
00362         
00363 
00364         
00369         ArrayTime getStartValidTime() const;
00370         
00371  
00372         
00373         
00379         void setStartValidTime (ArrayTime startValidTime);
00380                 
00381         
00382         
00383         
00384 
00385 
00386         
00387         // ===> Attribute endValidTime
00388         
00389         
00390         
00391 
00392         
00397         ArrayTime getEndValidTime() const;
00398         
00399  
00400         
00401         
00407         void setEndValidTime (ArrayTime endValidTime);
00408                 
00409         
00410         
00411         
00412 
00413 
00414         
00415         // ===> Attribute freqLimits
00416         
00417         
00418         
00419 
00420         
00425         vector<Frequency > getFreqLimits() const;
00426         
00427  
00428         
00429         
00435         void setFreqLimits (vector<Frequency > freqLimits);
00436                 
00437         
00438         
00439         
00440 
00441 
00442         
00443         // ===> Attribute receiverBand
00444         
00445         
00446         
00447 
00448         
00453         ReceiverBand getReceiverBand() const;
00454         
00455  
00456         
00457         
00463         void setReceiverBand (ReceiverBand receiverBand);
00464                 
00465         
00466         
00467         
00468 
00469 
00470         
00471         // ===> Attribute antennaNames
00472         
00473         
00474         
00475 
00476         
00481         vector<string > getAntennaNames() const;
00482         
00483  
00484         
00485         
00491         void setAntennaNames (vector<string > antennaNames);
00492                 
00493         
00494         
00495         
00496 
00497 
00498         
00499         // ===> Attribute refAntennaName
00500         
00501         
00502         
00503 
00504         
00509         string getRefAntennaName() const;
00510         
00511  
00512         
00513         
00519         void setRefAntennaName (string refAntennaName);
00520                 
00521         
00522         
00523         
00524 
00525 
00526         
00527         // ===> Attribute atmPhaseCorrections
00528         
00529         
00530         
00531 
00532         
00537         vector<AtmPhaseCorrection > getAtmPhaseCorrections() const;
00538         
00539  
00540         
00541         
00547         void setAtmPhaseCorrections (vector<AtmPhaseCorrection > atmPhaseCorrections);
00548                 
00549         
00550         
00551         
00552 
00553 
00554         
00555         // ===> Attribute polarizationTypes
00556         
00557         
00558         
00559 
00560         
00565         vector<PolarizationType > getPolarizationTypes() const;
00566         
00567  
00568         
00569         
00575         void setPolarizationTypes (vector<PolarizationType > polarizationTypes);
00576                 
00577         
00578         
00579         
00580 
00581 
00582         
00583         // ===> Attribute numAmpliPoly
00584         
00585         
00586         
00587 
00588         
00593         int getNumAmpliPoly() const;
00594         
00595  
00596         
00597         
00603         void setNumAmpliPoly (int numAmpliPoly);
00604                 
00605         
00606         
00607         
00608 
00609 
00610         
00611         // ===> Attribute ampliCurve
00612         
00613         
00614         
00615 
00616         
00621         vector<vector<vector<vector<float > > > > getAmpliCurve() const;
00622         
00623  
00624         
00625         
00631         void setAmpliCurve (vector<vector<vector<vector<float > > > > ampliCurve);
00632                 
00633         
00634         
00635         
00636 
00637 
00638         
00639         // ===> Attribute ampliRms
00640         
00641         
00642         
00643 
00644         
00649         vector<vector<vector<float > > > getAmpliRms() const;
00650         
00651  
00652         
00653         
00659         void setAmpliRms (vector<vector<vector<float > > > ampliRms);
00660                 
00661         
00662         
00663         
00664 
00665 
00666         
00667         // ===> Attribute numPhasePoly
00668         
00669         
00670         
00671 
00672         
00677         int getNumPhasePoly() const;
00678         
00679  
00680         
00681         
00687         void setNumPhasePoly (int numPhasePoly);
00688                 
00689         
00690         
00691         
00692 
00693 
00694         
00695         // ===> Attribute phaseCurve
00696         
00697         
00698         
00699 
00700         
00705         vector<vector<vector<vector<Angle > > > > getPhaseCurve() const;
00706         
00707  
00708         
00709         
00715         void setPhaseCurve (vector<vector<vector<vector<Angle > > > > phaseCurve);
00716                 
00717         
00718         
00719         
00720 
00721 
00722         
00723         // ===> Attribute phaseRms
00724         
00725         
00726         
00727 
00728         
00733         vector<vector<vector<float > > > getPhaseRms() const;
00734         
00735  
00736         
00737         
00743         void setPhaseRms (vector<vector<vector<float > > > phaseRms);
00744                 
00745         
00746         
00747         
00748 
00749 
00751         // Extrinsic Table Attributes //
00753         
00754         
00755         // ===> Attribute calDataId
00756         
00757         
00758         
00759 
00760         
00765         Tag getCalDataId() const;
00766         
00767  
00768         
00769         
00776         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00777                 
00778         
00779         
00780         
00781 
00782 
00783         
00784         // ===> Attribute calReductionId
00785         
00786         
00787         
00788 
00789         
00794         Tag getCalReductionId() const;
00795         
00796  
00797         
00798         
00805         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00806                 
00807         
00808         
00809         
00810 
00811 
00813         // Links //
00815         
00816         
00817 
00818         
00819                 
00826          CalReductionRow* getCalReductionUsingCalReductionId();
00827          
00828 
00829         
00830 
00831         
00832 
00833         
00834                 
00841          CalDataRow* getCalDataUsingCalDataId();
00842          
00843 
00844         
00845 
00846         
00847         
00848         
00853         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, BasebandName basebandName, int numAntenna, int numBaseline, int numAPC, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > freqLimits, ReceiverBand receiverBand, vector<string > antennaNames, string refAntennaName, vector<AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationType > polarizationTypes, int numAmpliPoly, vector<vector<vector<vector<float > > > > ampliCurve, vector<vector<vector<float > > > ampliRms, int numPhasePoly, vector<vector<vector<vector<Angle > > > > phaseCurve, vector<vector<vector<float > > > phaseRms);
00854         
00855         
00856 
00857         
00858         bool compareRequiredValue(int numAntenna, int numBaseline, int numAPC, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > freqLimits, ReceiverBand receiverBand, vector<string > antennaNames, string refAntennaName, vector<AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationType > polarizationTypes, int numAmpliPoly, vector<vector<vector<vector<float > > > > ampliCurve, vector<vector<vector<float > > > ampliRms, int numPhasePoly, vector<vector<vector<vector<Angle > > > > phaseCurve, vector<vector<vector<float > > > phaseRms); 
00859                  
00860         
00869         bool equalByRequiredValue(CalBandpassRow* x) ;
00870 
00871 private:
00875         CalBandpassTable &table;
00879         bool hasBeenAdded;
00880 
00881         // This method is used by the Table class when this row is added to the table.
00882         void isAdded();
00883 
00884 
00893         CalBandpassRow (CalBandpassTable &table);
00894 
00912          CalBandpassRow (CalBandpassTable &table, CalBandpassRow &row);
00913                 
00915         // Intrinsic Table Attributes //
00917         
00918         
00919         // ===> Attribute basebandName
00920         
00921         
00922 
00923         BasebandName basebandName;
00924 
00925         
00926         
00927         
00928 
00929         
00930         // ===> Attribute numAntenna
00931         
00932         
00933 
00934         int numAntenna;
00935 
00936         
00937         
00938         
00939 
00940         
00941         // ===> Attribute numBaseline
00942         
00943         
00944 
00945         int numBaseline;
00946 
00947         
00948         
00949         
00950 
00951         
00952         // ===> Attribute numAPC
00953         
00954         
00955 
00956         int numAPC;
00957 
00958         
00959         
00960         
00961 
00962         
00963         // ===> Attribute numReceptor
00964         
00965         
00966 
00967         int numReceptor;
00968 
00969         
00970         
00971         
00972 
00973         
00974         // ===> Attribute startValidTime
00975         
00976         
00977 
00978         ArrayTime startValidTime;
00979 
00980         
00981         
00982         
00983 
00984         
00985         // ===> Attribute endValidTime
00986         
00987         
00988 
00989         ArrayTime endValidTime;
00990 
00991         
00992         
00993         
00994 
00995         
00996         // ===> Attribute freqLimits
00997         
00998         
00999 
01000         vector<Frequency > freqLimits;
01001 
01002         
01003         
01004         
01005 
01006         
01007         // ===> Attribute receiverBand
01008         
01009         
01010 
01011         ReceiverBand receiverBand;
01012 
01013         
01014         
01015         
01016 
01017         
01018         // ===> Attribute antennaNames
01019         
01020         
01021 
01022         vector<string > antennaNames;
01023 
01024         
01025         
01026         
01027 
01028         
01029         // ===> Attribute refAntennaName
01030         
01031         
01032 
01033         string refAntennaName;
01034 
01035         
01036         
01037         
01038 
01039         
01040         // ===> Attribute atmPhaseCorrections
01041         
01042         
01043 
01044         vector<AtmPhaseCorrection > atmPhaseCorrections;
01045 
01046         
01047         
01048         
01049 
01050         
01051         // ===> Attribute polarizationTypes
01052         
01053         
01054 
01055         vector<PolarizationType > polarizationTypes;
01056 
01057         
01058         
01059         
01060 
01061         
01062         // ===> Attribute numAmpliPoly
01063         
01064         
01065 
01066         int numAmpliPoly;
01067 
01068         
01069         
01070         
01071 
01072         
01073         // ===> Attribute ampliCurve
01074         
01075         
01076 
01077         vector<vector<vector<vector<float > > > > ampliCurve;
01078 
01079         
01080         
01081         
01082 
01083         
01084         // ===> Attribute ampliRms
01085         
01086         
01087 
01088         vector<vector<vector<float > > > ampliRms;
01089 
01090         
01091         
01092         
01093 
01094         
01095         // ===> Attribute numPhasePoly
01096         
01097         
01098 
01099         int numPhasePoly;
01100 
01101         
01102         
01103         
01104 
01105         
01106         // ===> Attribute phaseCurve
01107         
01108         
01109 
01110         vector<vector<vector<vector<Angle > > > > phaseCurve;
01111 
01112         
01113         
01114         
01115 
01116         
01117         // ===> Attribute phaseRms
01118         
01119         
01120 
01121         vector<vector<vector<float > > > phaseRms;
01122 
01123         
01124         
01125         
01126 
01128         // Extrinsic Table Attributes //
01130         
01131         
01132         // ===> Attribute calDataId
01133         
01134         
01135 
01136         Tag calDataId;
01137 
01138         
01139         
01140         
01141 
01142         
01143         // ===> Attribute calReductionId
01144         
01145         
01146 
01147         Tag calReductionId;
01148 
01149         
01150         
01151         
01152 
01154         // Links //
01156         
01157         
01158                 
01159 
01160          
01161 
01162         
01163 
01164         
01165                 
01166 
01167          
01168 
01169         
01170 
01171 
01172 };
01173 
01174 } // End namespace asdm
01175 
01176 #endif /* CalBandpass_CLASS */

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