CalBandpassRow.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 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.46", branch "ALMA-5_1_1-B"
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         BasebandNameMod::BasebandName getBasebandName() const;
00229         
00230  
00231         
00232         
00240         void setBasebandName (BasebandNameMod::BasebandName basebandName) throw(IllegalAccessException);
00241                 
00242         
00243         
00244         
00245 
00246 
00247         
00248         // ===> Attribute numAntenna
00249         
00250         
00251         
00252 
00253         
00258         int getNumAntenna() const;
00259         
00260  
00261         
00262         
00270         void setNumAntenna (int numAntenna) throw(IllegalAccessException);
00271                 
00272         
00273         
00274         
00275 
00276 
00277         
00278         // ===> Attribute numBaseline
00279         
00280         
00281         
00282 
00283         
00288         int getNumBaseline() const;
00289         
00290  
00291         
00292         
00300         void setNumBaseline (int numBaseline) throw(IllegalAccessException);
00301                 
00302         
00303         
00304         
00305 
00306 
00307         
00308         // ===> Attribute numAPC
00309         
00310         
00311         
00312 
00313         
00318         int getNumAPC() const;
00319         
00320  
00321         
00322         
00330         void setNumAPC (int numAPC) throw(IllegalAccessException);
00331                 
00332         
00333         
00334         
00335 
00336 
00337         
00338         // ===> Attribute numReceptor
00339         
00340         
00341         
00342 
00343         
00348         int getNumReceptor() const;
00349         
00350  
00351         
00352         
00360         void setNumReceptor (int numReceptor) throw(IllegalAccessException);
00361                 
00362         
00363         
00364         
00365 
00366 
00367         
00368         // ===> Attribute startValidTime
00369         
00370         
00371         
00372 
00373         
00378         ArrayTime getStartValidTime() const;
00379         
00380  
00381         
00382         
00390         void setStartValidTime (ArrayTime startValidTime) throw(IllegalAccessException);
00391                 
00392         
00393         
00394         
00395 
00396 
00397         
00398         // ===> Attribute endValidTime
00399         
00400         
00401         
00402 
00403         
00408         ArrayTime getEndValidTime() const;
00409         
00410  
00411         
00412         
00420         void setEndValidTime (ArrayTime endValidTime) throw(IllegalAccessException);
00421                 
00422         
00423         
00424         
00425 
00426 
00427         
00428         // ===> Attribute freqLimits
00429         
00430         
00431         
00432 
00433         
00438         vector<Frequency > getFreqLimits() const;
00439         
00440  
00441         
00442         
00450         void setFreqLimits (vector<Frequency > freqLimits) throw(IllegalAccessException);
00451                 
00452         
00453         
00454         
00455 
00456 
00457         
00458         // ===> Attribute receiverBand
00459         
00460         
00461         
00462 
00463         
00468         ReceiverBandMod::ReceiverBand getReceiverBand() const;
00469         
00470  
00471         
00472         
00480         void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) throw(IllegalAccessException);
00481                 
00482         
00483         
00484         
00485 
00486 
00487         
00488         // ===> Attribute antennaNames
00489         
00490         
00491         
00492 
00493         
00498         vector<string > getAntennaNames() const;
00499         
00500  
00501         
00502         
00510         void setAntennaNames (vector<string > antennaNames) throw(IllegalAccessException);
00511                 
00512         
00513         
00514         
00515 
00516 
00517         
00518         // ===> Attribute refAntennaName
00519         
00520         
00521         
00522 
00523         
00528         string getRefAntennaName() const;
00529         
00530  
00531         
00532         
00540         void setRefAntennaName (string refAntennaName) throw(IllegalAccessException);
00541                 
00542         
00543         
00544         
00545 
00546 
00547         
00548         // ===> Attribute atmPhaseCorrections
00549         
00550         
00551         
00552 
00553         
00558         vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > getAtmPhaseCorrections() const;
00559         
00560  
00561         
00562         
00570         void setAtmPhaseCorrections (vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections) throw(IllegalAccessException);
00571                 
00572         
00573         
00574         
00575 
00576 
00577         
00578         // ===> Attribute polarizationTypes
00579         
00580         
00581         
00582 
00583         
00588         vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
00589         
00590  
00591         
00592         
00600         void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes) throw(IllegalAccessException);
00601                 
00602         
00603         
00604         
00605 
00606 
00607         
00608         // ===> Attribute numAmpliPoly
00609         
00610         
00611         
00612 
00613         
00618         int getNumAmpliPoly() const;
00619         
00620  
00621         
00622         
00630         void setNumAmpliPoly (int numAmpliPoly) throw(IllegalAccessException);
00631                 
00632         
00633         
00634         
00635 
00636 
00637         
00638         // ===> Attribute ampliCurve
00639         
00640         
00641         
00642 
00643         
00648         vector<vector<vector<vector<float > > > > getAmpliCurve() const;
00649         
00650  
00651         
00652         
00660         void setAmpliCurve (vector<vector<vector<vector<float > > > > ampliCurve) throw(IllegalAccessException);
00661                 
00662         
00663         
00664         
00665 
00666 
00667         
00668         // ===> Attribute ampliRms
00669         
00670         
00671         
00672 
00673         
00678         vector<vector<vector<float > > > getAmpliRms() const;
00679         
00680  
00681         
00682         
00690         void setAmpliRms (vector<vector<vector<float > > > ampliRms) throw(IllegalAccessException);
00691                 
00692         
00693         
00694         
00695 
00696 
00697         
00698         // ===> Attribute numPhasePoly
00699         
00700         
00701         
00702 
00703         
00708         int getNumPhasePoly() const;
00709         
00710  
00711         
00712         
00720         void setNumPhasePoly (int numPhasePoly) throw(IllegalAccessException);
00721                 
00722         
00723         
00724         
00725 
00726 
00727         
00728         // ===> Attribute phaseCurve
00729         
00730         
00731         
00732 
00733         
00738         vector<vector<vector<vector<Angle > > > > getPhaseCurve() const;
00739         
00740  
00741         
00742         
00750         void setPhaseCurve (vector<vector<vector<vector<Angle > > > > phaseCurve) throw(IllegalAccessException);
00751                 
00752         
00753         
00754         
00755 
00756 
00757         
00758         // ===> Attribute phaseRms
00759         
00760         
00761         
00762 
00763         
00768         vector<vector<vector<float > > > getPhaseRms() const;
00769         
00770  
00771         
00772         
00780         void setPhaseRms (vector<vector<vector<float > > > phaseRms) throw(IllegalAccessException);
00781                 
00782         
00783         
00784         
00785 
00786 
00788         // Extrinsic Table Attributes //
00790         
00791         
00792         // ===> Attribute calDataId
00793         
00794         
00795         
00796 
00797         
00802         Tag getCalDataId() const;
00803         
00804  
00805         
00806         
00814         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00815                 
00816         
00817         
00818         
00819 
00820 
00821         
00822         // ===> Attribute calReductionId
00823         
00824         
00825         
00826 
00827         
00832         Tag getCalReductionId() const;
00833         
00834  
00835         
00836         
00844         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00845                 
00846         
00847         
00848         
00849 
00850 
00852         // Links //
00854         
00855         
00856 
00857         
00858                 
00865          CalReductionRow* getCalReductionUsingCalReductionId();
00866          
00867 
00868         
00869 
00870         
00871 
00872         
00873                 
00880          CalDataRow* getCalDataUsingCalDataId();
00881          
00882 
00883         
00884 
00885         
00886         
00887         
00892         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, BasebandNameMod::BasebandName basebandName, int numAntenna, int numBaseline, int numAPC, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > freqLimits, ReceiverBandMod::ReceiverBand receiverBand, vector<string > antennaNames, string refAntennaName, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::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);
00893         
00894         
00895 
00896         
00897         bool compareRequiredValue(int numAntenna, int numBaseline, int numAPC, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > freqLimits, ReceiverBandMod::ReceiverBand receiverBand, vector<string > antennaNames, string refAntennaName, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::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); 
00898                  
00899         
00908         bool equalByRequiredValue(CalBandpassRow* x) ;
00909 
00910 private:
00914         CalBandpassTable &table;
00918         bool hasBeenAdded;
00919 
00920         // This method is used by the Table class when this row is added to the table.
00921         void isAdded();
00922 
00923 
00932         CalBandpassRow (CalBandpassTable &table);
00933 
00951          CalBandpassRow (CalBandpassTable &table, CalBandpassRow &row);
00952                 
00954         // Intrinsic Table Attributes //
00956         
00957         
00958         // ===> Attribute basebandName
00959         
00960         
00961 
00962         BasebandNameMod::BasebandName basebandName;
00963 
00964         
00965         
00966         
00967 
00968         
00969         // ===> Attribute numAntenna
00970         
00971         
00972 
00973         int numAntenna;
00974 
00975         
00976         
00977         
00978 
00979         
00980         // ===> Attribute numBaseline
00981         
00982         
00983 
00984         int numBaseline;
00985 
00986         
00987         
00988         
00989 
00990         
00991         // ===> Attribute numAPC
00992         
00993         
00994 
00995         int numAPC;
00996 
00997         
00998         
00999         
01000 
01001         
01002         // ===> Attribute numReceptor
01003         
01004         
01005 
01006         int numReceptor;
01007 
01008         
01009         
01010         
01011 
01012         
01013         // ===> Attribute startValidTime
01014         
01015         
01016 
01017         ArrayTime startValidTime;
01018 
01019         
01020         
01021         
01022 
01023         
01024         // ===> Attribute endValidTime
01025         
01026         
01027 
01028         ArrayTime endValidTime;
01029 
01030         
01031         
01032         
01033 
01034         
01035         // ===> Attribute freqLimits
01036         
01037         
01038 
01039         vector<Frequency > freqLimits;
01040 
01041         
01042         
01043         
01044 
01045         
01046         // ===> Attribute receiverBand
01047         
01048         
01049 
01050         ReceiverBandMod::ReceiverBand receiverBand;
01051 
01052         
01053         
01054         
01055 
01056         
01057         // ===> Attribute antennaNames
01058         
01059         
01060 
01061         vector<string > antennaNames;
01062 
01063         
01064         
01065         
01066 
01067         
01068         // ===> Attribute refAntennaName
01069         
01070         
01071 
01072         string refAntennaName;
01073 
01074         
01075         
01076         
01077 
01078         
01079         // ===> Attribute atmPhaseCorrections
01080         
01081         
01082 
01083         vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections;
01084 
01085         
01086         
01087         
01088 
01089         
01090         // ===> Attribute polarizationTypes
01091         
01092         
01093 
01094         vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
01095 
01096         
01097         
01098         
01099 
01100         
01101         // ===> Attribute numAmpliPoly
01102         
01103         
01104 
01105         int numAmpliPoly;
01106 
01107         
01108         
01109         
01110 
01111         
01112         // ===> Attribute ampliCurve
01113         
01114         
01115 
01116         vector<vector<vector<vector<float > > > > ampliCurve;
01117 
01118         
01119         
01120         
01121 
01122         
01123         // ===> Attribute ampliRms
01124         
01125         
01126 
01127         vector<vector<vector<float > > > ampliRms;
01128 
01129         
01130         
01131         
01132 
01133         
01134         // ===> Attribute numPhasePoly
01135         
01136         
01137 
01138         int numPhasePoly;
01139 
01140         
01141         
01142         
01143 
01144         
01145         // ===> Attribute phaseCurve
01146         
01147         
01148 
01149         vector<vector<vector<vector<Angle > > > > phaseCurve;
01150 
01151         
01152         
01153         
01154 
01155         
01156         // ===> Attribute phaseRms
01157         
01158         
01159 
01160         vector<vector<vector<float > > > phaseRms;
01161 
01162         
01163         
01164         
01165 
01167         // Extrinsic Table Attributes //
01169         
01170         
01171         // ===> Attribute calDataId
01172         
01173         
01174 
01175         Tag calDataId;
01176 
01177         
01178         
01179         
01180 
01181         
01182         // ===> Attribute calReductionId
01183         
01184         
01185 
01186         Tag calReductionId;
01187 
01188         
01189         
01190         
01191 
01193         // Links //
01195         
01196         
01197                 
01198 
01199          
01200 
01201         
01202 
01203         
01204                 
01205 
01206          
01207 
01208         
01209 
01210 
01211 };
01212 
01213 } // End namespace asdm
01214 
01215 #endif /* CalBandpass_CLASS */

Generated on Mon Sep 1 22:33:01 2008 for NRAOCASA by  doxygen 1.5.1