CalAtmosphereRow.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 CalAtmosphereRow.h
00032  */
00033  
00034 #ifndef CalAtmosphereRow_CLASS
00035 #define CalAtmosphereRow_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::CalAtmosphereRowIDL;
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 #include "CPolarizationType.h"
00090 using namespace PolarizationTypeMod;
00091         
00092 
00093         
00094 
00095         
00096 
00097         
00098 #include "CSyscalMethod.h"
00099 using namespace SyscalMethodMod;
00100         
00101 
00102         
00103 
00104         
00105 
00106         
00107 
00108         
00109 
00110         
00111 
00112         
00113 
00114         
00115 
00116         
00117 
00118         
00119 
00120         
00121 
00122         
00123 
00124         
00125 
00126         
00127 
00128         
00129 
00130         
00131 
00132         
00133 
00134         
00135 
00136         
00137 #include "CReceiverBand.h"
00138 using namespace ReceiverBandMod;
00139         
00140 
00141 
00142 
00143 using asdm::Angle;
00144 using asdm::AngularRate;
00145 using asdm::ArrayTime;
00146 using asdm::Complex;
00147 using asdm::Entity;
00148 using asdm::EntityId;
00149 using asdm::EntityRef;
00150 using asdm::Flux;
00151 using asdm::Frequency;
00152 using asdm::Humidity;
00153 using asdm::Interval;
00154 using asdm::Length;
00155 using asdm::Pressure;
00156 using asdm::Speed;
00157 using asdm::Tag;
00158 using asdm::Temperature;
00159 using asdm::ConversionException;
00160 using asdm::NoSuchRow;
00161 using asdm::IllegalAccessException;
00162 
00163 /*\file CalAtmosphere.h
00164     \brief Generated from model's revision "1.46", branch "ALMA-5_1_1-B"
00165 */
00166 
00167 namespace asdm {
00168 
00169 //class asdm::CalAtmosphereTable;
00170 
00171 
00172 // class asdm::CalDataRow;
00173 class CalDataRow;
00174 
00175 // class asdm::CalReductionRow;
00176 class CalReductionRow;
00177         
00178 
00185 class CalAtmosphereRow {
00186 friend class asdm::CalAtmosphereTable;
00187 
00188 public:
00189 
00190         virtual ~CalAtmosphereRow();
00191 
00195         CalAtmosphereTable &getTable() const;
00196         
00197 #ifndef WITHOUT_ACS
00198 
00202         CalAtmosphereRowIDL *toIDL() const;
00203 #endif
00204         
00205 #ifndef WITHOUT_ACS
00206 
00210         void setFromIDL (CalAtmosphereRowIDL x) throw(ConversionException);
00211 #endif
00212         
00217         string toXML() const;
00218 
00224         void setFromXML (string rowDoc) throw(ConversionException);
00225         
00227         // Intrinsic Table Attributes //
00229         
00230         
00231         // ===> Attribute antennaName
00232         
00233         
00234         
00235 
00236         
00241         string getAntennaName() const;
00242         
00243  
00244         
00245         
00253         void setAntennaName (string antennaName) throw(IllegalAccessException);
00254                 
00255         
00256         
00257         
00258 
00259 
00260         
00261         // ===> Attribute numReceptor
00262         
00263         
00264         
00265 
00266         
00271         int getNumReceptor() const;
00272         
00273  
00274         
00275         
00283         void setNumReceptor (int numReceptor) throw(IllegalAccessException);
00284                 
00285         
00286         
00287         
00288 
00289 
00290         
00291         // ===> Attribute numFreq
00292         
00293         
00294         
00295 
00296         
00301         int getNumFreq() const;
00302         
00303  
00304         
00305         
00313         void setNumFreq (int numFreq) throw(IllegalAccessException);
00314                 
00315         
00316         
00317         
00318 
00319 
00320         
00321         // ===> Attribute endValidTime
00322         
00323         
00324         
00325 
00326         
00331         ArrayTime getEndValidTime() const;
00332         
00333  
00334         
00335         
00343         void setEndValidTime (ArrayTime endValidTime) throw(IllegalAccessException);
00344                 
00345         
00346         
00347         
00348 
00349 
00350         
00351         // ===> Attribute startValidTime
00352         
00353         
00354         
00355 
00356         
00361         ArrayTime getStartValidTime() const;
00362         
00363  
00364         
00365         
00373         void setStartValidTime (ArrayTime startValidTime) throw(IllegalAccessException);
00374                 
00375         
00376         
00377         
00378 
00379 
00380         
00381         // ===> Attribute polarizationTypes
00382         
00383         
00384         
00385 
00386         
00391         vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
00392         
00393  
00394         
00395         
00403         void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes) throw(IllegalAccessException);
00404                 
00405         
00406         
00407         
00408 
00409 
00410         
00411         // ===> Attribute frequencyRange
00412         
00413         
00414         
00415 
00416         
00421         vector<Frequency > getFrequencyRange() const;
00422         
00423  
00424         
00425         
00433         void setFrequencyRange (vector<Frequency > frequencyRange) throw(IllegalAccessException);
00434                 
00435         
00436         
00437         
00438 
00439 
00440         
00441         // ===> Attribute frequencySpectrum
00442         
00443         
00444         
00445 
00446         
00451         vector<Frequency > getFrequencySpectrum() const;
00452         
00453  
00454         
00455         
00463         void setFrequencySpectrum (vector<Frequency > frequencySpectrum) throw(IllegalAccessException);
00464                 
00465         
00466         
00467         
00468 
00469 
00470         
00471         // ===> Attribute syscalType
00472         
00473         
00474         
00475 
00476         
00481         SyscalMethodMod::SyscalMethod getSyscalType() const;
00482         
00483  
00484         
00485         
00493         void setSyscalType (SyscalMethodMod::SyscalMethod syscalType) throw(IllegalAccessException);
00494                 
00495         
00496         
00497         
00498 
00499 
00500         
00501         // ===> Attribute tSysSpectrum
00502         
00503         
00504         
00505 
00506         
00511         vector<vector<Temperature > > getTSysSpectrum() const;
00512         
00513  
00514         
00515         
00523         void setTSysSpectrum (vector<vector<Temperature > > tSysSpectrum) throw(IllegalAccessException);
00524                 
00525         
00526         
00527         
00528 
00529 
00530         
00531         // ===> Attribute tRecSpectrum
00532         
00533         
00534         
00535 
00536         
00541         vector<vector<Temperature > > getTRecSpectrum() const;
00542         
00543  
00544         
00545         
00553         void setTRecSpectrum (vector<vector<Temperature > > tRecSpectrum) throw(IllegalAccessException);
00554                 
00555         
00556         
00557         
00558 
00559 
00560         
00561         // ===> Attribute tAtmSpectrum
00562         
00563         
00564         
00565 
00566         
00571         vector<vector<Temperature > > getTAtmSpectrum() const;
00572         
00573  
00574         
00575         
00583         void setTAtmSpectrum (vector<vector<Temperature > > tAtmSpectrum) throw(IllegalAccessException);
00584                 
00585         
00586         
00587         
00588 
00589 
00590         
00591         // ===> Attribute tauSpectrum
00592         
00593         
00594         
00595 
00596         
00601         vector<vector<float > > getTauSpectrum() const;
00602         
00603  
00604         
00605         
00613         void setTauSpectrum (vector<vector<float > > tauSpectrum) throw(IllegalAccessException);
00614                 
00615         
00616         
00617         
00618 
00619 
00620         
00621         // ===> Attribute sbGainSpectrum
00622         
00623         
00624         
00625 
00626         
00631         vector<vector<float > > getSbGainSpectrum() const;
00632         
00633  
00634         
00635         
00643         void setSbGainSpectrum (vector<vector<float > > sbGainSpectrum) throw(IllegalAccessException);
00644                 
00645         
00646         
00647         
00648 
00649 
00650         
00651         // ===> Attribute forwardEffSpectrum
00652         
00653         
00654         
00655 
00656         
00661         vector<vector<float > > getForwardEffSpectrum() const;
00662         
00663  
00664         
00665         
00673         void setForwardEffSpectrum (vector<vector<float > > forwardEffSpectrum) throw(IllegalAccessException);
00674                 
00675         
00676         
00677         
00678 
00679 
00680         
00681         // ===> Attribute tSys, which is optional
00682         
00683         
00684         
00689         bool isTSysExists() const;
00690         
00691 
00692         
00698         vector<Temperature > getTSys() const throw(IllegalAccessException);
00699         
00700  
00701         
00702         
00709         void setTSys (vector<Temperature > tSys);
00710                 
00711         
00712         
00713         
00717         void clearTSys ();
00718         
00719 
00720 
00721         
00722         // ===> Attribute tRec, which is optional
00723         
00724         
00725         
00730         bool isTRecExists() const;
00731         
00732 
00733         
00739         vector<Temperature > getTRec() const throw(IllegalAccessException);
00740         
00741  
00742         
00743         
00750         void setTRec (vector<Temperature > tRec);
00751                 
00752         
00753         
00754         
00758         void clearTRec ();
00759         
00760 
00761 
00762         
00763         // ===> Attribute tAtm, which is optional
00764         
00765         
00766         
00771         bool isTAtmExists() const;
00772         
00773 
00774         
00780         vector<Temperature > getTAtm() const throw(IllegalAccessException);
00781         
00782  
00783         
00784         
00791         void setTAtm (vector<Temperature > tAtm);
00792                 
00793         
00794         
00795         
00799         void clearTAtm ();
00800         
00801 
00802 
00803         
00804         // ===> Attribute sbGain, which is optional
00805         
00806         
00807         
00812         bool isSbGainExists() const;
00813         
00814 
00815         
00821         vector<float > getSbGain() const throw(IllegalAccessException);
00822         
00823  
00824         
00825         
00832         void setSbGain (vector<float > sbGain);
00833                 
00834         
00835         
00836         
00840         void clearSbGain ();
00841         
00842 
00843 
00844         
00845         // ===> Attribute water, which is optional
00846         
00847         
00848         
00853         bool isWaterExists() const;
00854         
00855 
00856         
00862         vector<Length > getWater() const throw(IllegalAccessException);
00863         
00864  
00865         
00866         
00873         void setWater (vector<Length > water);
00874                 
00875         
00876         
00877         
00881         void clearWater ();
00882         
00883 
00884 
00885         
00886         // ===> Attribute forwardEfficiency, which is optional
00887         
00888         
00889         
00894         bool isForwardEfficiencyExists() const;
00895         
00896 
00897         
00903         vector<float > getForwardEfficiency() const throw(IllegalAccessException);
00904         
00905  
00906         
00907         
00914         void setForwardEfficiency (vector<float > forwardEfficiency);
00915                 
00916         
00917         
00918         
00922         void clearForwardEfficiency ();
00923         
00924 
00925 
00926         
00927         // ===> Attribute tau, which is optional
00928         
00929         
00930         
00935         bool isTauExists() const;
00936         
00937 
00938         
00944         vector<float > getTau() const throw(IllegalAccessException);
00945         
00946  
00947         
00948         
00955         void setTau (vector<float > tau);
00956                 
00957         
00958         
00959         
00963         void clearTau ();
00964         
00965 
00966 
00967         
00968         // ===> Attribute groundPressure
00969         
00970         
00971         
00972 
00973         
00978         Pressure getGroundPressure() const;
00979         
00980  
00981         
00982         
00990         void setGroundPressure (Pressure groundPressure) throw(IllegalAccessException);
00991                 
00992         
00993         
00994         
00995 
00996 
00997         
00998         // ===> Attribute groundTemperature
00999         
01000         
01001         
01002 
01003         
01008         Temperature getGroundTemperature() const;
01009         
01010  
01011         
01012         
01020         void setGroundTemperature (Temperature groundTemperature) throw(IllegalAccessException);
01021                 
01022         
01023         
01024         
01025 
01026 
01027         
01028         // ===> Attribute groundRelHumidity
01029         
01030         
01031         
01032 
01033         
01038         Humidity getGroundRelHumidity() const;
01039         
01040  
01041         
01042         
01050         void setGroundRelHumidity (Humidity groundRelHumidity) throw(IllegalAccessException);
01051                 
01052         
01053         
01054         
01055 
01056 
01057         
01058         // ===> Attribute subType
01059         
01060         
01061         
01062 
01063         
01068         string getSubType() const;
01069         
01070  
01071         
01072         
01080         void setSubType (string subType) throw(IllegalAccessException);
01081                 
01082         
01083         
01084         
01085 
01086 
01087         
01088         // ===> Attribute receiverBand
01089         
01090         
01091         
01092 
01093         
01098         ReceiverBandMod::ReceiverBand getReceiverBand() const;
01099         
01100  
01101         
01102         
01110         void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) throw(IllegalAccessException);
01111                 
01112         
01113         
01114         
01115 
01116 
01118         // Extrinsic Table Attributes //
01120         
01121         
01122         // ===> Attribute calDataId
01123         
01124         
01125         
01126 
01127         
01132         Tag getCalDataId() const;
01133         
01134  
01135         
01136         
01144         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
01145                 
01146         
01147         
01148         
01149 
01150 
01151         
01152         // ===> Attribute calReductionId
01153         
01154         
01155         
01156 
01157         
01162         Tag getCalReductionId() const;
01163         
01164  
01165         
01166         
01174         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
01175                 
01176         
01177         
01178         
01179 
01180 
01182         // Links //
01184         
01185         
01186 
01187         
01188                 
01195          CalDataRow* getCalDataUsingCalDataId();
01196          
01197 
01198         
01199 
01200         
01201 
01202         
01203                 
01210          CalReductionRow* getCalReductionUsingCalReductionId();
01211          
01212 
01213         
01214 
01215         
01216         
01217         
01222         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, int numReceptor, int numFreq, ArrayTime endValidTime, ArrayTime startValidTime, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<Frequency > frequencyRange, vector<Frequency > frequencySpectrum, SyscalMethodMod::SyscalMethod syscalType, vector<vector<Temperature > > tSysSpectrum, vector<vector<Temperature > > tRecSpectrum, vector<vector<Temperature > > tAtmSpectrum, vector<vector<float > > tauSpectrum, vector<vector<float > > sbGainSpectrum, vector<vector<float > > forwardEffSpectrum, Pressure groundPressure, Temperature groundTemperature, Humidity groundRelHumidity, string subType, ReceiverBandMod::ReceiverBand receiverBand);
01223         
01224         
01225 
01226         
01227         bool compareRequiredValue(int numReceptor, int numFreq, ArrayTime endValidTime, ArrayTime startValidTime, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<Frequency > frequencyRange, vector<Frequency > frequencySpectrum, SyscalMethodMod::SyscalMethod syscalType, vector<vector<Temperature > > tSysSpectrum, vector<vector<Temperature > > tRecSpectrum, vector<vector<Temperature > > tAtmSpectrum, vector<vector<float > > tauSpectrum, vector<vector<float > > sbGainSpectrum, vector<vector<float > > forwardEffSpectrum, Pressure groundPressure, Temperature groundTemperature, Humidity groundRelHumidity, string subType, ReceiverBandMod::ReceiverBand receiverBand); 
01228                  
01229         
01238         bool equalByRequiredValue(CalAtmosphereRow* x) ;
01239 
01240 private:
01244         CalAtmosphereTable &table;
01248         bool hasBeenAdded;
01249 
01250         // This method is used by the Table class when this row is added to the table.
01251         void isAdded();
01252 
01253 
01262         CalAtmosphereRow (CalAtmosphereTable &table);
01263 
01281          CalAtmosphereRow (CalAtmosphereTable &table, CalAtmosphereRow &row);
01282                 
01284         // Intrinsic Table Attributes //
01286         
01287         
01288         // ===> Attribute antennaName
01289         
01290         
01291 
01292         string antennaName;
01293 
01294         
01295         
01296         
01297 
01298         
01299         // ===> Attribute numReceptor
01300         
01301         
01302 
01303         int numReceptor;
01304 
01305         
01306         
01307         
01308 
01309         
01310         // ===> Attribute numFreq
01311         
01312         
01313 
01314         int numFreq;
01315 
01316         
01317         
01318         
01319 
01320         
01321         // ===> Attribute endValidTime
01322         
01323         
01324 
01325         ArrayTime endValidTime;
01326 
01327         
01328         
01329         
01330 
01331         
01332         // ===> Attribute startValidTime
01333         
01334         
01335 
01336         ArrayTime startValidTime;
01337 
01338         
01339         
01340         
01341 
01342         
01343         // ===> Attribute polarizationTypes
01344         
01345         
01346 
01347         vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
01348 
01349         
01350         
01351         
01352 
01353         
01354         // ===> Attribute frequencyRange
01355         
01356         
01357 
01358         vector<Frequency > frequencyRange;
01359 
01360         
01361         
01362         
01363 
01364         
01365         // ===> Attribute frequencySpectrum
01366         
01367         
01368 
01369         vector<Frequency > frequencySpectrum;
01370 
01371         
01372         
01373         
01374 
01375         
01376         // ===> Attribute syscalType
01377         
01378         
01379 
01380         SyscalMethodMod::SyscalMethod syscalType;
01381 
01382         
01383         
01384         
01385 
01386         
01387         // ===> Attribute tSysSpectrum
01388         
01389         
01390 
01391         vector<vector<Temperature > > tSysSpectrum;
01392 
01393         
01394         
01395         
01396 
01397         
01398         // ===> Attribute tRecSpectrum
01399         
01400         
01401 
01402         vector<vector<Temperature > > tRecSpectrum;
01403 
01404         
01405         
01406         
01407 
01408         
01409         // ===> Attribute tAtmSpectrum
01410         
01411         
01412 
01413         vector<vector<Temperature > > tAtmSpectrum;
01414 
01415         
01416         
01417         
01418 
01419         
01420         // ===> Attribute tauSpectrum
01421         
01422         
01423 
01424         vector<vector<float > > tauSpectrum;
01425 
01426         
01427         
01428         
01429 
01430         
01431         // ===> Attribute sbGainSpectrum
01432         
01433         
01434 
01435         vector<vector<float > > sbGainSpectrum;
01436 
01437         
01438         
01439         
01440 
01441         
01442         // ===> Attribute forwardEffSpectrum
01443         
01444         
01445 
01446         vector<vector<float > > forwardEffSpectrum;
01447 
01448         
01449         
01450         
01451 
01452         
01453         // ===> Attribute tSys, which is optional
01454         
01455         
01456         bool tSysExists;
01457         
01458 
01459         vector<Temperature > tSys;
01460 
01461         
01462         
01463         
01464 
01465         
01466         // ===> Attribute tRec, which is optional
01467         
01468         
01469         bool tRecExists;
01470         
01471 
01472         vector<Temperature > tRec;
01473 
01474         
01475         
01476         
01477 
01478         
01479         // ===> Attribute tAtm, which is optional
01480         
01481         
01482         bool tAtmExists;
01483         
01484 
01485         vector<Temperature > tAtm;
01486 
01487         
01488         
01489         
01490 
01491         
01492         // ===> Attribute sbGain, which is optional
01493         
01494         
01495         bool sbGainExists;
01496         
01497 
01498         vector<float > sbGain;
01499 
01500         
01501         
01502         
01503 
01504         
01505         // ===> Attribute water, which is optional
01506         
01507         
01508         bool waterExists;
01509         
01510 
01511         vector<Length > water;
01512 
01513         
01514         
01515         
01516 
01517         
01518         // ===> Attribute forwardEfficiency, which is optional
01519         
01520         
01521         bool forwardEfficiencyExists;
01522         
01523 
01524         vector<float > forwardEfficiency;
01525 
01526         
01527         
01528         
01529 
01530         
01531         // ===> Attribute tau, which is optional
01532         
01533         
01534         bool tauExists;
01535         
01536 
01537         vector<float > tau;
01538 
01539         
01540         
01541         
01542 
01543         
01544         // ===> Attribute groundPressure
01545         
01546         
01547 
01548         Pressure groundPressure;
01549 
01550         
01551         
01552         
01553 
01554         
01555         // ===> Attribute groundTemperature
01556         
01557         
01558 
01559         Temperature groundTemperature;
01560 
01561         
01562         
01563         
01564 
01565         
01566         // ===> Attribute groundRelHumidity
01567         
01568         
01569 
01570         Humidity groundRelHumidity;
01571 
01572         
01573         
01574         
01575 
01576         
01577         // ===> Attribute subType
01578         
01579         
01580 
01581         string subType;
01582 
01583         
01584         
01585         
01586 
01587         
01588         // ===> Attribute receiverBand
01589         
01590         
01591 
01592         ReceiverBandMod::ReceiverBand receiverBand;
01593 
01594         
01595         
01596         
01597 
01599         // Extrinsic Table Attributes //
01601         
01602         
01603         // ===> Attribute calDataId
01604         
01605         
01606 
01607         Tag calDataId;
01608 
01609         
01610         
01611         
01612 
01613         
01614         // ===> Attribute calReductionId
01615         
01616         
01617 
01618         Tag calReductionId;
01619 
01620         
01621         
01622         
01623 
01625         // Links //
01627         
01628         
01629                 
01630 
01631          
01632 
01633         
01634 
01635         
01636                 
01637 
01638          
01639 
01640         
01641 
01642 
01643 };
01644 
01645 } // End namespace asdm
01646 
01647 #endif /* CalAtmosphere_CLASS */

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