casa
$Rev:20696$
|
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 00041 #ifndef WITHOUT_ACS 00042 #include <asdmIDLC.h> 00043 #endif 00044 00045 00046 00047 00048 00049 00050 00051 #include <ArrayTime.h> 00052 00053 00054 00055 #include <Temperature.h> 00056 00057 00058 00059 #include <Humidity.h> 00060 00061 00062 00063 #include <Tag.h> 00064 00065 00066 00067 #include <Length.h> 00068 00069 00070 00071 #include <Frequency.h> 00072 00073 00074 00075 #include <Pressure.h> 00076 00077 00078 00079 00080 00081 00082 #include "CReceiverBand.h" 00083 00084 00085 00086 00087 00088 #include "CBasebandName.h" 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 #include "CPolarizationType.h" 00115 00116 00117 00118 00119 00120 00121 00122 #include "CSyscalMethod.h" 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 00148 00149 00150 00151 00152 00153 00154 00155 00156 00157 00158 00159 #include <ConversionException.h> 00160 #include <NoSuchRow.h> 00161 #include <IllegalAccessException.h> 00162 00163 #include <RowTransformer.h> 00164 //#include <TableStreamReader.h> 00165 00166 /*\file CalAtmosphere.h 00167 \brief Generated from model's revision "1.61", branch "HEAD" 00168 */ 00169 00170 namespace asdm { 00171 00172 //class asdm::CalAtmosphereTable; 00173 00174 00175 // class asdm::CalReductionRow; 00176 class CalReductionRow; 00177 00178 // class asdm::CalDataRow; 00179 class CalDataRow; 00180 00181 00182 class CalAtmosphereRow; 00183 typedef void (CalAtmosphereRow::*CalAtmosphereAttributeFromBin) (EndianIStream& eis); 00184 typedef void (CalAtmosphereRow::*CalAtmosphereAttributeFromText) (const string& s); 00185 00192 class CalAtmosphereRow { 00193 friend class asdm::CalAtmosphereTable; 00194 friend class asdm::RowTransformer<CalAtmosphereRow>; 00195 //friend class asdm::TableStreamReader<CalAtmosphereTable, CalAtmosphereRow>; 00196 00197 public: 00198 00199 virtual ~CalAtmosphereRow(); 00200 00204 CalAtmosphereTable &getTable() const; 00205 00210 bool isAdded() const; 00211 00213 // Intrinsic Table Attributes // 00215 00216 00217 // ===> Attribute receiverBand 00218 00219 00220 00221 00222 00227 ReceiverBandMod::ReceiverBand getReceiverBand() const; 00228 00229 00230 00231 00241 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand); 00242 00243 00244 00245 00246 00247 00248 00249 // ===> Attribute antennaName 00250 00251 00252 00253 00254 00259 string getAntennaName() const; 00260 00261 00262 00263 00273 void setAntennaName (string antennaName); 00274 00275 00276 00277 00278 00279 00280 00281 // ===> Attribute basebandName 00282 00283 00284 00285 00286 00291 BasebandNameMod::BasebandName getBasebandName() const; 00292 00293 00294 00295 00305 void setBasebandName (BasebandNameMod::BasebandName basebandName); 00306 00307 00308 00309 00310 00311 00312 00313 // ===> Attribute startValidTime 00314 00315 00316 00317 00318 00323 ArrayTime getStartValidTime() const; 00324 00325 00326 00327 00335 void setStartValidTime (ArrayTime startValidTime); 00336 00337 00338 00339 00340 00341 00342 00343 // ===> Attribute endValidTime 00344 00345 00346 00347 00348 00353 ArrayTime getEndValidTime() const; 00354 00355 00356 00357 00365 void setEndValidTime (ArrayTime endValidTime); 00366 00367 00368 00369 00370 00371 00372 00373 // ===> Attribute numFreq 00374 00375 00376 00377 00378 00383 int getNumFreq() const; 00384 00385 00386 00387 00395 void setNumFreq (int numFreq); 00396 00397 00398 00399 00400 00401 00402 00403 // ===> Attribute numLoad 00404 00405 00406 00407 00408 00413 int getNumLoad() const; 00414 00415 00416 00417 00425 void setNumLoad (int numLoad); 00426 00427 00428 00429 00430 00431 00432 00433 // ===> Attribute numReceptor 00434 00435 00436 00437 00438 00443 int getNumReceptor() const; 00444 00445 00446 00447 00455 void setNumReceptor (int numReceptor); 00456 00457 00458 00459 00460 00461 00462 00463 // ===> Attribute forwardEffSpectrum 00464 00465 00466 00467 00468 00473 vector<vector<float > > getForwardEffSpectrum() const; 00474 00475 00476 00477 00485 void setForwardEffSpectrum (vector<vector<float > > forwardEffSpectrum); 00486 00487 00488 00489 00490 00491 00492 00493 // ===> Attribute frequencyRange 00494 00495 00496 00497 00498 00503 vector<Frequency > getFrequencyRange() const; 00504 00505 00506 00507 00515 void setFrequencyRange (vector<Frequency > frequencyRange); 00516 00517 00518 00519 00520 00521 00522 00523 // ===> Attribute groundPressure 00524 00525 00526 00527 00528 00533 Pressure getGroundPressure() const; 00534 00535 00536 00537 00545 void setGroundPressure (Pressure groundPressure); 00546 00547 00548 00549 00550 00551 00552 00553 // ===> Attribute groundRelHumidity 00554 00555 00556 00557 00558 00563 Humidity getGroundRelHumidity() const; 00564 00565 00566 00567 00575 void setGroundRelHumidity (Humidity groundRelHumidity); 00576 00577 00578 00579 00580 00581 00582 00583 // ===> Attribute frequencySpectrum 00584 00585 00586 00587 00588 00593 vector<Frequency > getFrequencySpectrum() const; 00594 00595 00596 00597 00605 void setFrequencySpectrum (vector<Frequency > frequencySpectrum); 00606 00607 00608 00609 00610 00611 00612 00613 // ===> Attribute groundTemperature 00614 00615 00616 00617 00618 00623 Temperature getGroundTemperature() const; 00624 00625 00626 00627 00635 void setGroundTemperature (Temperature groundTemperature); 00636 00637 00638 00639 00640 00641 00642 00643 // ===> Attribute polarizationTypes 00644 00645 00646 00647 00648 00653 vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const; 00654 00655 00656 00657 00665 void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes); 00666 00667 00668 00669 00670 00671 00672 00673 // ===> Attribute powerSkySpectrum 00674 00675 00676 00677 00678 00683 vector<vector<float > > getPowerSkySpectrum() const; 00684 00685 00686 00687 00695 void setPowerSkySpectrum (vector<vector<float > > powerSkySpectrum); 00696 00697 00698 00699 00700 00701 00702 00703 // ===> Attribute powerLoadSpectrum 00704 00705 00706 00707 00708 00713 vector<vector<vector<float > > > getPowerLoadSpectrum() const; 00714 00715 00716 00717 00725 void setPowerLoadSpectrum (vector<vector<vector<float > > > powerLoadSpectrum); 00726 00727 00728 00729 00730 00731 00732 00733 // ===> Attribute syscalType 00734 00735 00736 00737 00738 00743 SyscalMethodMod::SyscalMethod getSyscalType() const; 00744 00745 00746 00747 00755 void setSyscalType (SyscalMethodMod::SyscalMethod syscalType); 00756 00757 00758 00759 00760 00761 00762 00763 // ===> Attribute tAtmSpectrum 00764 00765 00766 00767 00768 00773 vector<vector<Temperature > > getTAtmSpectrum() const; 00774 00775 00776 00777 00785 void setTAtmSpectrum (vector<vector<Temperature > > tAtmSpectrum); 00786 00787 00788 00789 00790 00791 00792 00793 // ===> Attribute tRecSpectrum 00794 00795 00796 00797 00798 00803 vector<vector<Temperature > > getTRecSpectrum() const; 00804 00805 00806 00807 00815 void setTRecSpectrum (vector<vector<Temperature > > tRecSpectrum); 00816 00817 00818 00819 00820 00821 00822 00823 // ===> Attribute tSysSpectrum 00824 00825 00826 00827 00828 00833 vector<vector<Temperature > > getTSysSpectrum() const; 00834 00835 00836 00837 00845 void setTSysSpectrum (vector<vector<Temperature > > tSysSpectrum); 00846 00847 00848 00849 00850 00851 00852 00853 // ===> Attribute tauSpectrum 00854 00855 00856 00857 00858 00863 vector<vector<float > > getTauSpectrum() const; 00864 00865 00866 00867 00875 void setTauSpectrum (vector<vector<float > > tauSpectrum); 00876 00877 00878 00879 00880 00881 00882 00883 // ===> Attribute tAtm 00884 00885 00886 00887 00888 00893 vector<Temperature > getTAtm() const; 00894 00895 00896 00897 00905 void setTAtm (vector<Temperature > tAtm); 00906 00907 00908 00909 00910 00911 00912 00913 // ===> Attribute tRec 00914 00915 00916 00917 00918 00923 vector<Temperature > getTRec() const; 00924 00925 00926 00927 00935 void setTRec (vector<Temperature > tRec); 00936 00937 00938 00939 00940 00941 00942 00943 // ===> Attribute tSys 00944 00945 00946 00947 00948 00953 vector<Temperature > getTSys() const; 00954 00955 00956 00957 00965 void setTSys (vector<Temperature > tSys); 00966 00967 00968 00969 00970 00971 00972 00973 // ===> Attribute tau 00974 00975 00976 00977 00978 00983 vector<float > getTau() const; 00984 00985 00986 00987 00995 void setTau (vector<float > tau); 00996 00997 00998 00999 01000 01001 01002 01003 // ===> Attribute water 01004 01005 01006 01007 01008 01013 vector<Length > getWater() const; 01014 01015 01016 01017 01025 void setWater (vector<Length > water); 01026 01027 01028 01029 01030 01031 01032 01033 // ===> Attribute waterError 01034 01035 01036 01037 01038 01043 vector<Length > getWaterError() const; 01044 01045 01046 01047 01055 void setWaterError (vector<Length > waterError); 01056 01057 01058 01059 01060 01061 01062 01063 // ===> Attribute alphaSpectrum, which is optional 01064 01065 01066 01071 bool isAlphaSpectrumExists() const; 01072 01073 01074 01080 vector<vector<float > > getAlphaSpectrum() const; 01081 01082 01083 01084 01091 void setAlphaSpectrum (vector<vector<float > > alphaSpectrum); 01092 01093 01094 01095 01099 void clearAlphaSpectrum (); 01100 01101 01102 01103 01104 // ===> Attribute forwardEfficiency, which is optional 01105 01106 01107 01112 bool isForwardEfficiencyExists() const; 01113 01114 01115 01121 vector<float > getForwardEfficiency() const; 01122 01123 01124 01125 01132 void setForwardEfficiency (vector<float > forwardEfficiency); 01133 01134 01135 01136 01140 void clearForwardEfficiency (); 01141 01142 01143 01144 01145 // ===> Attribute forwardEfficiencyError, which is optional 01146 01147 01148 01153 bool isForwardEfficiencyErrorExists() const; 01154 01155 01156 01162 vector<double > getForwardEfficiencyError() const; 01163 01164 01165 01166 01173 void setForwardEfficiencyError (vector<double > forwardEfficiencyError); 01174 01175 01176 01177 01181 void clearForwardEfficiencyError (); 01182 01183 01184 01185 01186 // ===> Attribute sbGain, which is optional 01187 01188 01189 01194 bool isSbGainExists() const; 01195 01196 01197 01203 vector<float > getSbGain() const; 01204 01205 01206 01207 01214 void setSbGain (vector<float > sbGain); 01215 01216 01217 01218 01222 void clearSbGain (); 01223 01224 01225 01226 01227 // ===> Attribute sbGainError, which is optional 01228 01229 01230 01235 bool isSbGainErrorExists() const; 01236 01237 01238 01244 vector<float > getSbGainError() const; 01245 01246 01247 01248 01255 void setSbGainError (vector<float > sbGainError); 01256 01257 01258 01259 01263 void clearSbGainError (); 01264 01265 01266 01267 01268 // ===> Attribute sbGainSpectrum, which is optional 01269 01270 01271 01276 bool isSbGainSpectrumExists() const; 01277 01278 01279 01285 vector<vector<float > > getSbGainSpectrum() const; 01286 01287 01288 01289 01296 void setSbGainSpectrum (vector<vector<float > > sbGainSpectrum); 01297 01298 01299 01300 01304 void clearSbGainSpectrum (); 01305 01306 01307 01309 // Extrinsic Table Attributes // 01311 01312 01313 // ===> Attribute calDataId 01314 01315 01316 01317 01318 01323 Tag getCalDataId() const; 01324 01325 01326 01327 01337 void setCalDataId (Tag calDataId); 01338 01339 01340 01341 01342 01343 01344 01345 // ===> Attribute calReductionId 01346 01347 01348 01349 01350 01355 Tag getCalReductionId() const; 01356 01357 01358 01359 01369 void setCalReductionId (Tag calReductionId); 01370 01371 01372 01373 01374 01375 01377 // Links // 01379 01380 01381 01382 01383 01390 CalReductionRow* getCalReductionUsingCalReductionId(); 01391 01392 01393 01394 01395 01396 01397 01398 01405 CalDataRow* getCalDataUsingCalDataId(); 01406 01407 01408 01409 01410 01411 01412 01478 bool compareNoAutoInc(string antennaName, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName basebandName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numFreq, int numLoad, int numReceptor, vector<vector<float > > forwardEffSpectrum, vector<Frequency > frequencyRange, Pressure groundPressure, Humidity groundRelHumidity, vector<Frequency > frequencySpectrum, Temperature groundTemperature, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<vector<float > > powerSkySpectrum, vector<vector<vector<float > > > powerLoadSpectrum, SyscalMethodMod::SyscalMethod syscalType, vector<vector<Temperature > > tAtmSpectrum, vector<vector<Temperature > > tRecSpectrum, vector<vector<Temperature > > tSysSpectrum, vector<vector<float > > tauSpectrum, vector<Temperature > tAtm, vector<Temperature > tRec, vector<Temperature > tSys, vector<float > tau, vector<Length > water, vector<Length > waterError); 01479 01480 01481 01482 01538 bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numFreq, int numLoad, int numReceptor, vector<vector<float > > forwardEffSpectrum, vector<Frequency > frequencyRange, Pressure groundPressure, Humidity groundRelHumidity, vector<Frequency > frequencySpectrum, Temperature groundTemperature, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, vector<vector<float > > powerSkySpectrum, vector<vector<vector<float > > > powerLoadSpectrum, SyscalMethodMod::SyscalMethod syscalType, vector<vector<Temperature > > tAtmSpectrum, vector<vector<Temperature > > tRecSpectrum, vector<vector<Temperature > > tSysSpectrum, vector<vector<float > > tauSpectrum, vector<Temperature > tAtm, vector<Temperature > tRec, vector<Temperature > tSys, vector<float > tau, vector<Length > water, vector<Length > waterError); 01539 01540 01549 bool equalByRequiredValue(CalAtmosphereRow* x) ; 01550 01551 #ifndef WITHOUT_ACS 01552 01556 asdmIDL::CalAtmosphereRowIDL *toIDL() const; 01557 #endif 01558 01559 #ifndef WITHOUT_ACS 01560 01565 void setFromIDL (asdmIDL::CalAtmosphereRowIDL x) ; 01566 #endif 01567 01572 std::string toXML() const; 01573 01580 void setFromXML (std::string rowDoc) ; 01581 01584 // binary-deserialization material from an EndianIStream // 01586 01587 std::map<std::string, CalAtmosphereAttributeFromBin> fromBinMethods; 01588 void antennaNameFromBin( EndianIStream& eis); 01589 void receiverBandFromBin( EndianIStream& eis); 01590 void basebandNameFromBin( EndianIStream& eis); 01591 void calDataIdFromBin( EndianIStream& eis); 01592 void calReductionIdFromBin( EndianIStream& eis); 01593 void startValidTimeFromBin( EndianIStream& eis); 01594 void endValidTimeFromBin( EndianIStream& eis); 01595 void numFreqFromBin( EndianIStream& eis); 01596 void numLoadFromBin( EndianIStream& eis); 01597 void numReceptorFromBin( EndianIStream& eis); 01598 void forwardEffSpectrumFromBin( EndianIStream& eis); 01599 void frequencyRangeFromBin( EndianIStream& eis); 01600 void groundPressureFromBin( EndianIStream& eis); 01601 void groundRelHumidityFromBin( EndianIStream& eis); 01602 void frequencySpectrumFromBin( EndianIStream& eis); 01603 void groundTemperatureFromBin( EndianIStream& eis); 01604 void polarizationTypesFromBin( EndianIStream& eis); 01605 void powerSkySpectrumFromBin( EndianIStream& eis); 01606 void powerLoadSpectrumFromBin( EndianIStream& eis); 01607 void syscalTypeFromBin( EndianIStream& eis); 01608 void tAtmSpectrumFromBin( EndianIStream& eis); 01609 void tRecSpectrumFromBin( EndianIStream& eis); 01610 void tSysSpectrumFromBin( EndianIStream& eis); 01611 void tauSpectrumFromBin( EndianIStream& eis); 01612 void tAtmFromBin( EndianIStream& eis); 01613 void tRecFromBin( EndianIStream& eis); 01614 void tSysFromBin( EndianIStream& eis); 01615 void tauFromBin( EndianIStream& eis); 01616 void waterFromBin( EndianIStream& eis); 01617 void waterErrorFromBin( EndianIStream& eis); 01618 01619 void alphaSpectrumFromBin( EndianIStream& eis); 01620 void forwardEfficiencyFromBin( EndianIStream& eis); 01621 void forwardEfficiencyErrorFromBin( EndianIStream& eis); 01622 void sbGainFromBin( EndianIStream& eis); 01623 void sbGainErrorFromBin( EndianIStream& eis); 01624 void sbGainSpectrumFromBin( EndianIStream& eis); 01625 01626 01634 static CalAtmosphereRow* fromBin(EndianIStream& eis, CalAtmosphereTable& table, const std::vector<std::string>& attributesSeq); 01636 01637 private: 01641 CalAtmosphereTable &table; 01645 bool hasBeenAdded; 01646 01647 // This method is used by the Table class when this row is added to the table. 01648 void isAdded(bool added); 01649 01650 01659 CalAtmosphereRow (CalAtmosphereTable &table); 01660 01678 CalAtmosphereRow (CalAtmosphereTable &table, CalAtmosphereRow &row); 01679 01681 // Intrinsic Table Attributes // 01683 01684 01685 // ===> Attribute receiverBand 01686 01687 01688 01689 ReceiverBandMod::ReceiverBand receiverBand; 01690 01691 01692 01693 01694 01695 01696 // ===> Attribute antennaName 01697 01698 01699 01700 string antennaName; 01701 01702 01703 01704 01705 01706 01707 // ===> Attribute basebandName 01708 01709 01710 01711 BasebandNameMod::BasebandName basebandName; 01712 01713 01714 01715 01716 01717 01718 // ===> Attribute startValidTime 01719 01720 01721 01722 ArrayTime startValidTime; 01723 01724 01725 01726 01727 01728 01729 // ===> Attribute endValidTime 01730 01731 01732 01733 ArrayTime endValidTime; 01734 01735 01736 01737 01738 01739 01740 // ===> Attribute numFreq 01741 01742 01743 01744 int numFreq; 01745 01746 01747 01748 01749 01750 01751 // ===> Attribute numLoad 01752 01753 01754 01755 int numLoad; 01756 01757 01758 01759 01760 01761 01762 // ===> Attribute numReceptor 01763 01764 01765 01766 int numReceptor; 01767 01768 01769 01770 01771 01772 01773 // ===> Attribute forwardEffSpectrum 01774 01775 01776 01777 vector<vector<float > > forwardEffSpectrum; 01778 01779 01780 01781 01782 01783 01784 // ===> Attribute frequencyRange 01785 01786 01787 01788 vector<Frequency > frequencyRange; 01789 01790 01791 01792 01793 01794 01795 // ===> Attribute groundPressure 01796 01797 01798 01799 Pressure groundPressure; 01800 01801 01802 01803 01804 01805 01806 // ===> Attribute groundRelHumidity 01807 01808 01809 01810 Humidity groundRelHumidity; 01811 01812 01813 01814 01815 01816 01817 // ===> Attribute frequencySpectrum 01818 01819 01820 01821 vector<Frequency > frequencySpectrum; 01822 01823 01824 01825 01826 01827 01828 // ===> Attribute groundTemperature 01829 01830 01831 01832 Temperature groundTemperature; 01833 01834 01835 01836 01837 01838 01839 // ===> Attribute polarizationTypes 01840 01841 01842 01843 vector<PolarizationTypeMod::PolarizationType > polarizationTypes; 01844 01845 01846 01847 01848 01849 01850 // ===> Attribute powerSkySpectrum 01851 01852 01853 01854 vector<vector<float > > powerSkySpectrum; 01855 01856 01857 01858 01859 01860 01861 // ===> Attribute powerLoadSpectrum 01862 01863 01864 01865 vector<vector<vector<float > > > powerLoadSpectrum; 01866 01867 01868 01869 01870 01871 01872 // ===> Attribute syscalType 01873 01874 01875 01876 SyscalMethodMod::SyscalMethod syscalType; 01877 01878 01879 01880 01881 01882 01883 // ===> Attribute tAtmSpectrum 01884 01885 01886 01887 vector<vector<Temperature > > tAtmSpectrum; 01888 01889 01890 01891 01892 01893 01894 // ===> Attribute tRecSpectrum 01895 01896 01897 01898 vector<vector<Temperature > > tRecSpectrum; 01899 01900 01901 01902 01903 01904 01905 // ===> Attribute tSysSpectrum 01906 01907 01908 01909 vector<vector<Temperature > > tSysSpectrum; 01910 01911 01912 01913 01914 01915 01916 // ===> Attribute tauSpectrum 01917 01918 01919 01920 vector<vector<float > > tauSpectrum; 01921 01922 01923 01924 01925 01926 01927 // ===> Attribute tAtm 01928 01929 01930 01931 vector<Temperature > tAtm; 01932 01933 01934 01935 01936 01937 01938 // ===> Attribute tRec 01939 01940 01941 01942 vector<Temperature > tRec; 01943 01944 01945 01946 01947 01948 01949 // ===> Attribute tSys 01950 01951 01952 01953 vector<Temperature > tSys; 01954 01955 01956 01957 01958 01959 01960 // ===> Attribute tau 01961 01962 01963 01964 vector<float > tau; 01965 01966 01967 01968 01969 01970 01971 // ===> Attribute water 01972 01973 01974 01975 vector<Length > water; 01976 01977 01978 01979 01980 01981 01982 // ===> Attribute waterError 01983 01984 01985 01986 vector<Length > waterError; 01987 01988 01989 01990 01991 01992 01993 // ===> Attribute alphaSpectrum, which is optional 01994 01995 01996 bool alphaSpectrumExists; 01997 01998 01999 vector<vector<float > > alphaSpectrum; 02000 02001 02002 02003 02004 02005 02006 // ===> Attribute forwardEfficiency, which is optional 02007 02008 02009 bool forwardEfficiencyExists; 02010 02011 02012 vector<float > forwardEfficiency; 02013 02014 02015 02016 02017 02018 02019 // ===> Attribute forwardEfficiencyError, which is optional 02020 02021 02022 bool forwardEfficiencyErrorExists; 02023 02024 02025 vector<double > forwardEfficiencyError; 02026 02027 02028 02029 02030 02031 02032 // ===> Attribute sbGain, which is optional 02033 02034 02035 bool sbGainExists; 02036 02037 02038 vector<float > sbGain; 02039 02040 02041 02042 02043 02044 02045 // ===> Attribute sbGainError, which is optional 02046 02047 02048 bool sbGainErrorExists; 02049 02050 02051 vector<float > sbGainError; 02052 02053 02054 02055 02056 02057 02058 // ===> Attribute sbGainSpectrum, which is optional 02059 02060 02061 bool sbGainSpectrumExists; 02062 02063 02064 vector<vector<float > > sbGainSpectrum; 02065 02066 02067 02068 02069 02071 // Extrinsic Table Attributes // 02073 02074 02075 // ===> Attribute calDataId 02076 02077 02078 02079 Tag calDataId; 02080 02081 02082 02083 02084 02085 02086 // ===> Attribute calReductionId 02087 02088 02089 02090 Tag calReductionId; 02091 02092 02093 02094 02095 02097 // Links // 02099 02100 02101 02102 02103 02104 02105 02106 02107 02108 02109 02110 02111 02112 02113 02114 02115 /* 02117 // binary-deserialization material from an EndianIStream // 02119 std::map<std::string, CalAtmosphereAttributeFromBin> fromBinMethods; 02120 void antennaNameFromBin( EndianIStream& eis); 02121 void receiverBandFromBin( EndianIStream& eis); 02122 void basebandNameFromBin( EndianIStream& eis); 02123 void calDataIdFromBin( EndianIStream& eis); 02124 void calReductionIdFromBin( EndianIStream& eis); 02125 void startValidTimeFromBin( EndianIStream& eis); 02126 void endValidTimeFromBin( EndianIStream& eis); 02127 void numFreqFromBin( EndianIStream& eis); 02128 void numLoadFromBin( EndianIStream& eis); 02129 void numReceptorFromBin( EndianIStream& eis); 02130 void forwardEffSpectrumFromBin( EndianIStream& eis); 02131 void frequencyRangeFromBin( EndianIStream& eis); 02132 void groundPressureFromBin( EndianIStream& eis); 02133 void groundRelHumidityFromBin( EndianIStream& eis); 02134 void frequencySpectrumFromBin( EndianIStream& eis); 02135 void groundTemperatureFromBin( EndianIStream& eis); 02136 void polarizationTypesFromBin( EndianIStream& eis); 02137 void powerSkySpectrumFromBin( EndianIStream& eis); 02138 void powerLoadSpectrumFromBin( EndianIStream& eis); 02139 void syscalTypeFromBin( EndianIStream& eis); 02140 void tAtmSpectrumFromBin( EndianIStream& eis); 02141 void tRecSpectrumFromBin( EndianIStream& eis); 02142 void tSysSpectrumFromBin( EndianIStream& eis); 02143 void tauSpectrumFromBin( EndianIStream& eis); 02144 void tAtmFromBin( EndianIStream& eis); 02145 void tRecFromBin( EndianIStream& eis); 02146 void tSysFromBin( EndianIStream& eis); 02147 void tauFromBin( EndianIStream& eis); 02148 void waterFromBin( EndianIStream& eis); 02149 void waterErrorFromBin( EndianIStream& eis); 02150 02151 void alphaSpectrumFromBin( EndianIStream& eis); 02152 void forwardEfficiencyFromBin( EndianIStream& eis); 02153 void forwardEfficiencyErrorFromBin( EndianIStream& eis); 02154 void sbGainFromBin( EndianIStream& eis); 02155 void sbGainErrorFromBin( EndianIStream& eis); 02156 void sbGainSpectrumFromBin( EndianIStream& eis); 02157 02158 */ 02159 02161 // text-deserialization material // 02163 std::map<std::string, CalAtmosphereAttributeFromText> fromTextMethods; 02164 02165 void antennaNameFromText (const string & s); 02166 02167 02168 void receiverBandFromText (const string & s); 02169 02170 02171 void basebandNameFromText (const string & s); 02172 02173 02174 void calDataIdFromText (const string & s); 02175 02176 02177 void calReductionIdFromText (const string & s); 02178 02179 02180 void startValidTimeFromText (const string & s); 02181 02182 02183 void endValidTimeFromText (const string & s); 02184 02185 02186 void numFreqFromText (const string & s); 02187 02188 02189 void numLoadFromText (const string & s); 02190 02191 02192 void numReceptorFromText (const string & s); 02193 02194 02195 void forwardEffSpectrumFromText (const string & s); 02196 02197 02198 void frequencyRangeFromText (const string & s); 02199 02200 02201 void groundPressureFromText (const string & s); 02202 02203 02204 void groundRelHumidityFromText (const string & s); 02205 02206 02207 void frequencySpectrumFromText (const string & s); 02208 02209 02210 void groundTemperatureFromText (const string & s); 02211 02212 02213 void polarizationTypesFromText (const string & s); 02214 02215 02216 void powerSkySpectrumFromText (const string & s); 02217 02218 02219 void powerLoadSpectrumFromText (const string & s); 02220 02221 02222 void syscalTypeFromText (const string & s); 02223 02224 02225 void tAtmSpectrumFromText (const string & s); 02226 02227 02228 void tRecSpectrumFromText (const string & s); 02229 02230 02231 void tSysSpectrumFromText (const string & s); 02232 02233 02234 void tauSpectrumFromText (const string & s); 02235 02236 02237 void tAtmFromText (const string & s); 02238 02239 02240 void tRecFromText (const string & s); 02241 02242 02243 void tSysFromText (const string & s); 02244 02245 02246 void tauFromText (const string & s); 02247 02248 02249 void waterFromText (const string & s); 02250 02251 02252 void waterErrorFromText (const string & s); 02253 02254 02255 02256 void alphaSpectrumFromText (const string & s); 02257 02258 02259 void forwardEfficiencyFromText (const string & s); 02260 02261 02262 void forwardEfficiencyErrorFromText (const string & s); 02263 02264 02265 void sbGainFromText (const string & s); 02266 02267 02268 void sbGainErrorFromText (const string & s); 02269 02270 02271 void sbGainSpectrumFromText (const string & s); 02272 02273 02274 02275 void fromText(const std::string& attributeName, const std::string& t); 02276 02281 void toBin(EndianOSStream& eoss); 02282 02292 }; 02293 02294 } // End namespace asdm 02295 02296 #endif /* CalAtmosphere_CLASS */