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 "HEAD"
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         
00255         void setAntennaName (string antennaName);
00256                 
00257         
00258         
00259         
00260 
00261 
00262         
00263         // ===> Attribute numReceptor
00264         
00265         
00266         
00267 
00268         
00273         int getNumReceptor() const;
00274         
00275  
00276         
00277         
00285         void setNumReceptor (int numReceptor);
00286                 
00287         
00288         
00289         
00290 
00291 
00292         
00293         // ===> Attribute numFreq
00294         
00295         
00296         
00297 
00298         
00303         int getNumFreq() const;
00304         
00305  
00306         
00307         
00315         void setNumFreq (int numFreq);
00316                 
00317         
00318         
00319         
00320 
00321 
00322         
00323         // ===> Attribute endValidTime
00324         
00325         
00326         
00327 
00328         
00333         ArrayTime getEndValidTime() const;
00334         
00335  
00336         
00337         
00345         void setEndValidTime (ArrayTime endValidTime);
00346                 
00347         
00348         
00349         
00350 
00351 
00352         
00353         // ===> Attribute startValidTime
00354         
00355         
00356         
00357 
00358         
00363         ArrayTime getStartValidTime() const;
00364         
00365  
00366         
00367         
00375         void setStartValidTime (ArrayTime startValidTime);
00376                 
00377         
00378         
00379         
00380 
00381 
00382         
00383         // ===> Attribute polarizationTypes
00384         
00385         
00386         
00387 
00388         
00393         vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
00394         
00395  
00396         
00397         
00405         void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
00406                 
00407         
00408         
00409         
00410 
00411 
00412         
00413         // ===> Attribute frequencyRange
00414         
00415         
00416         
00417 
00418         
00423         vector<Frequency > getFrequencyRange() const;
00424         
00425  
00426         
00427         
00435         void setFrequencyRange (vector<Frequency > frequencyRange);
00436                 
00437         
00438         
00439         
00440 
00441 
00442         
00443         // ===> Attribute frequencySpectrum
00444         
00445         
00446         
00447 
00448         
00453         vector<Frequency > getFrequencySpectrum() const;
00454         
00455  
00456         
00457         
00465         void setFrequencySpectrum (vector<Frequency > frequencySpectrum);
00466                 
00467         
00468         
00469         
00470 
00471 
00472         
00473         // ===> Attribute syscalType
00474         
00475         
00476         
00477 
00478         
00483         SyscalMethodMod::SyscalMethod getSyscalType() const;
00484         
00485  
00486         
00487         
00495         void setSyscalType (SyscalMethodMod::SyscalMethod syscalType);
00496                 
00497         
00498         
00499         
00500 
00501 
00502         
00503         // ===> Attribute tSysSpectrum
00504         
00505         
00506         
00507 
00508         
00513         vector<vector<Temperature > > getTSysSpectrum() const;
00514         
00515  
00516         
00517         
00525         void setTSysSpectrum (vector<vector<Temperature > > tSysSpectrum);
00526                 
00527         
00528         
00529         
00530 
00531 
00532         
00533         // ===> Attribute tRecSpectrum
00534         
00535         
00536         
00537 
00538         
00543         vector<vector<Temperature > > getTRecSpectrum() const;
00544         
00545  
00546         
00547         
00555         void setTRecSpectrum (vector<vector<Temperature > > tRecSpectrum);
00556                 
00557         
00558         
00559         
00560 
00561 
00562         
00563         // ===> Attribute tAtmSpectrum
00564         
00565         
00566         
00567 
00568         
00573         vector<vector<Temperature > > getTAtmSpectrum() const;
00574         
00575  
00576         
00577         
00585         void setTAtmSpectrum (vector<vector<Temperature > > tAtmSpectrum);
00586                 
00587         
00588         
00589         
00590 
00591 
00592         
00593         // ===> Attribute tauSpectrum
00594         
00595         
00596         
00597 
00598         
00603         vector<vector<float > > getTauSpectrum() const;
00604         
00605  
00606         
00607         
00615         void setTauSpectrum (vector<vector<float > > tauSpectrum);
00616                 
00617         
00618         
00619         
00620 
00621 
00622         
00623         // ===> Attribute sbGainSpectrum
00624         
00625         
00626         
00627 
00628         
00633         vector<vector<float > > getSbGainSpectrum() const;
00634         
00635  
00636         
00637         
00645         void setSbGainSpectrum (vector<vector<float > > sbGainSpectrum);
00646                 
00647         
00648         
00649         
00650 
00651 
00652         
00653         // ===> Attribute forwardEffSpectrum
00654         
00655         
00656         
00657 
00658         
00663         vector<vector<float > > getForwardEffSpectrum() const;
00664         
00665  
00666         
00667         
00675         void setForwardEffSpectrum (vector<vector<float > > forwardEffSpectrum);
00676                 
00677         
00678         
00679         
00680 
00681 
00682         
00683         // ===> Attribute tSys, which is optional
00684         
00685         
00686         
00691         bool isTSysExists() const;
00692         
00693 
00694         
00700         vector<Temperature > getTSys() const throw(IllegalAccessException);
00701         
00702  
00703         
00704         
00711         void setTSys (vector<Temperature > tSys);
00712                 
00713         
00714         
00715         
00719         void clearTSys ();
00720         
00721 
00722 
00723         
00724         // ===> Attribute tRec, which is optional
00725         
00726         
00727         
00732         bool isTRecExists() const;
00733         
00734 
00735         
00741         vector<Temperature > getTRec() const throw(IllegalAccessException);
00742         
00743  
00744         
00745         
00752         void setTRec (vector<Temperature > tRec);
00753                 
00754         
00755         
00756         
00760         void clearTRec ();
00761         
00762 
00763 
00764         
00765         // ===> Attribute tAtm, which is optional
00766         
00767         
00768         
00773         bool isTAtmExists() const;
00774         
00775 
00776         
00782         vector<Temperature > getTAtm() const throw(IllegalAccessException);
00783         
00784  
00785         
00786         
00793         void setTAtm (vector<Temperature > tAtm);
00794                 
00795         
00796         
00797         
00801         void clearTAtm ();
00802         
00803 
00804 
00805         
00806         // ===> Attribute sbGain, which is optional
00807         
00808         
00809         
00814         bool isSbGainExists() const;
00815         
00816 
00817         
00823         vector<float > getSbGain() const throw(IllegalAccessException);
00824         
00825  
00826         
00827         
00834         void setSbGain (vector<float > sbGain);
00835                 
00836         
00837         
00838         
00842         void clearSbGain ();
00843         
00844 
00845 
00846         
00847         // ===> Attribute water, which is optional
00848         
00849         
00850         
00855         bool isWaterExists() const;
00856         
00857 
00858         
00864         vector<Length > getWater() const throw(IllegalAccessException);
00865         
00866  
00867         
00868         
00875         void setWater (vector<Length > water);
00876                 
00877         
00878         
00879         
00883         void clearWater ();
00884         
00885 
00886 
00887         
00888         // ===> Attribute forwardEfficiency, which is optional
00889         
00890         
00891         
00896         bool isForwardEfficiencyExists() const;
00897         
00898 
00899         
00905         vector<float > getForwardEfficiency() const throw(IllegalAccessException);
00906         
00907  
00908         
00909         
00916         void setForwardEfficiency (vector<float > forwardEfficiency);
00917                 
00918         
00919         
00920         
00924         void clearForwardEfficiency ();
00925         
00926 
00927 
00928         
00929         // ===> Attribute tau, which is optional
00930         
00931         
00932         
00937         bool isTauExists() const;
00938         
00939 
00940         
00946         vector<float > getTau() const throw(IllegalAccessException);
00947         
00948  
00949         
00950         
00957         void setTau (vector<float > tau);
00958                 
00959         
00960         
00961         
00965         void clearTau ();
00966         
00967 
00968 
00969         
00970         // ===> Attribute groundPressure
00971         
00972         
00973         
00974 
00975         
00980         Pressure getGroundPressure() const;
00981         
00982  
00983         
00984         
00992         void setGroundPressure (Pressure groundPressure);
00993                 
00994         
00995         
00996         
00997 
00998 
00999         
01000         // ===> Attribute groundTemperature
01001         
01002         
01003         
01004 
01005         
01010         Temperature getGroundTemperature() const;
01011         
01012  
01013         
01014         
01022         void setGroundTemperature (Temperature groundTemperature);
01023                 
01024         
01025         
01026         
01027 
01028 
01029         
01030         // ===> Attribute groundRelHumidity
01031         
01032         
01033         
01034 
01035         
01040         Humidity getGroundRelHumidity() const;
01041         
01042  
01043         
01044         
01052         void setGroundRelHumidity (Humidity groundRelHumidity);
01053                 
01054         
01055         
01056         
01057 
01058 
01059         
01060         // ===> Attribute subType
01061         
01062         
01063         
01064 
01065         
01070         string getSubType() const;
01071         
01072  
01073         
01074         
01082         void setSubType (string subType);
01083                 
01084         
01085         
01086         
01087 
01088 
01089         
01090         // ===> Attribute receiverBand
01091         
01092         
01093         
01094 
01095         
01100         ReceiverBandMod::ReceiverBand getReceiverBand() const;
01101         
01102  
01103         
01104         
01112         void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
01113                 
01114         
01115         
01116         
01117 
01118 
01120         // Extrinsic Table Attributes //
01122         
01123         
01124         // ===> Attribute calDataId
01125         
01126         
01127         
01128 
01129         
01134         Tag getCalDataId() const;
01135         
01136  
01137         
01138         
01148         void setCalDataId (Tag calDataId);
01149                 
01150         
01151         
01152         
01153 
01154 
01155         
01156         // ===> Attribute calReductionId
01157         
01158         
01159         
01160 
01161         
01166         Tag getCalReductionId() const;
01167         
01168  
01169         
01170         
01180         void setCalReductionId (Tag calReductionId);
01181                 
01182         
01183         
01184         
01185 
01186 
01188         // Links //
01190         
01191         
01192 
01193         
01194                 
01201          CalDataRow* getCalDataUsingCalDataId();
01202          
01203 
01204         
01205 
01206         
01207 
01208         
01209                 
01216          CalReductionRow* getCalReductionUsingCalReductionId();
01217          
01218 
01219         
01220 
01221         
01222         
01223         
01228         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);
01229         
01230         
01231 
01232         
01233         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); 
01234                  
01235         
01244         bool equalByRequiredValue(CalAtmosphereRow* x) ;
01245 
01246 private:
01250         CalAtmosphereTable &table;
01254         bool hasBeenAdded;
01255 
01256         // This method is used by the Table class when this row is added to the table.
01257         void isAdded();
01258 
01259 
01268         CalAtmosphereRow (CalAtmosphereTable &table);
01269 
01287          CalAtmosphereRow (CalAtmosphereTable &table, CalAtmosphereRow &row);
01288                 
01290         // Intrinsic Table Attributes //
01292         
01293         
01294         // ===> Attribute antennaName
01295         
01296         
01297 
01298         string antennaName;
01299 
01300         
01301         
01302         
01303 
01304         
01305         // ===> Attribute numReceptor
01306         
01307         
01308 
01309         int numReceptor;
01310 
01311         
01312         
01313         
01314 
01315         
01316         // ===> Attribute numFreq
01317         
01318         
01319 
01320         int numFreq;
01321 
01322         
01323         
01324         
01325 
01326         
01327         // ===> Attribute endValidTime
01328         
01329         
01330 
01331         ArrayTime endValidTime;
01332 
01333         
01334         
01335         
01336 
01337         
01338         // ===> Attribute startValidTime
01339         
01340         
01341 
01342         ArrayTime startValidTime;
01343 
01344         
01345         
01346         
01347 
01348         
01349         // ===> Attribute polarizationTypes
01350         
01351         
01352 
01353         vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
01354 
01355         
01356         
01357         
01358 
01359         
01360         // ===> Attribute frequencyRange
01361         
01362         
01363 
01364         vector<Frequency > frequencyRange;
01365 
01366         
01367         
01368         
01369 
01370         
01371         // ===> Attribute frequencySpectrum
01372         
01373         
01374 
01375         vector<Frequency > frequencySpectrum;
01376 
01377         
01378         
01379         
01380 
01381         
01382         // ===> Attribute syscalType
01383         
01384         
01385 
01386         SyscalMethodMod::SyscalMethod syscalType;
01387 
01388         
01389         
01390         
01391 
01392         
01393         // ===> Attribute tSysSpectrum
01394         
01395         
01396 
01397         vector<vector<Temperature > > tSysSpectrum;
01398 
01399         
01400         
01401         
01402 
01403         
01404         // ===> Attribute tRecSpectrum
01405         
01406         
01407 
01408         vector<vector<Temperature > > tRecSpectrum;
01409 
01410         
01411         
01412         
01413 
01414         
01415         // ===> Attribute tAtmSpectrum
01416         
01417         
01418 
01419         vector<vector<Temperature > > tAtmSpectrum;
01420 
01421         
01422         
01423         
01424 
01425         
01426         // ===> Attribute tauSpectrum
01427         
01428         
01429 
01430         vector<vector<float > > tauSpectrum;
01431 
01432         
01433         
01434         
01435 
01436         
01437         // ===> Attribute sbGainSpectrum
01438         
01439         
01440 
01441         vector<vector<float > > sbGainSpectrum;
01442 
01443         
01444         
01445         
01446 
01447         
01448         // ===> Attribute forwardEffSpectrum
01449         
01450         
01451 
01452         vector<vector<float > > forwardEffSpectrum;
01453 
01454         
01455         
01456         
01457 
01458         
01459         // ===> Attribute tSys, which is optional
01460         
01461         
01462         bool tSysExists;
01463         
01464 
01465         vector<Temperature > tSys;
01466 
01467         
01468         
01469         
01470 
01471         
01472         // ===> Attribute tRec, which is optional
01473         
01474         
01475         bool tRecExists;
01476         
01477 
01478         vector<Temperature > tRec;
01479 
01480         
01481         
01482         
01483 
01484         
01485         // ===> Attribute tAtm, which is optional
01486         
01487         
01488         bool tAtmExists;
01489         
01490 
01491         vector<Temperature > tAtm;
01492 
01493         
01494         
01495         
01496 
01497         
01498         // ===> Attribute sbGain, which is optional
01499         
01500         
01501         bool sbGainExists;
01502         
01503 
01504         vector<float > sbGain;
01505 
01506         
01507         
01508         
01509 
01510         
01511         // ===> Attribute water, which is optional
01512         
01513         
01514         bool waterExists;
01515         
01516 
01517         vector<Length > water;
01518 
01519         
01520         
01521         
01522 
01523         
01524         // ===> Attribute forwardEfficiency, which is optional
01525         
01526         
01527         bool forwardEfficiencyExists;
01528         
01529 
01530         vector<float > forwardEfficiency;
01531 
01532         
01533         
01534         
01535 
01536         
01537         // ===> Attribute tau, which is optional
01538         
01539         
01540         bool tauExists;
01541         
01542 
01543         vector<float > tau;
01544 
01545         
01546         
01547         
01548 
01549         
01550         // ===> Attribute groundPressure
01551         
01552         
01553 
01554         Pressure groundPressure;
01555 
01556         
01557         
01558         
01559 
01560         
01561         // ===> Attribute groundTemperature
01562         
01563         
01564 
01565         Temperature groundTemperature;
01566 
01567         
01568         
01569         
01570 
01571         
01572         // ===> Attribute groundRelHumidity
01573         
01574         
01575 
01576         Humidity groundRelHumidity;
01577 
01578         
01579         
01580         
01581 
01582         
01583         // ===> Attribute subType
01584         
01585         
01586 
01587         string subType;
01588 
01589         
01590         
01591         
01592 
01593         
01594         // ===> Attribute receiverBand
01595         
01596         
01597 
01598         ReceiverBandMod::ReceiverBand receiverBand;
01599 
01600         
01601         
01602         
01603 
01605         // Extrinsic Table Attributes //
01607         
01608         
01609         // ===> Attribute calDataId
01610         
01611         
01612 
01613         Tag calDataId;
01614 
01615         
01616         
01617         
01618 
01619         
01620         // ===> Attribute calReductionId
01621         
01622         
01623 
01624         Tag calReductionId;
01625 
01626         
01627         
01628         
01629 
01631         // Links //
01633         
01634         
01635                 
01636 
01637          
01638 
01639         
01640 
01641         
01642                 
01643 
01644          
01645 
01646         
01647 
01648 
01649 };
01650 
01651 } // End namespace asdm
01652 
01653 #endif /* CalAtmosphere_CLASS */

Generated on Thu Aug 27 21:08:35 2009 for NRAOCASA by  doxygen 1.5.1