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.64", 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 01565 void toIDL(asdmIDL::CalAtmosphereRowIDL& x) const; 01566 #endif 01567 01568 #ifndef WITHOUT_ACS 01569 01574 void setFromIDL (asdmIDL::CalAtmosphereRowIDL x) ; 01575 #endif 01576 01581 std::string toXML() const; 01582 01589 void setFromXML (std::string rowDoc) ; 01590 01593 // binary-deserialization material from an EndianIStream // 01595 01596 std::map<std::string, CalAtmosphereAttributeFromBin> fromBinMethods; 01597 void antennaNameFromBin( EndianIStream& eis); 01598 void receiverBandFromBin( EndianIStream& eis); 01599 void basebandNameFromBin( EndianIStream& eis); 01600 void calDataIdFromBin( EndianIStream& eis); 01601 void calReductionIdFromBin( EndianIStream& eis); 01602 void startValidTimeFromBin( EndianIStream& eis); 01603 void endValidTimeFromBin( EndianIStream& eis); 01604 void numFreqFromBin( EndianIStream& eis); 01605 void numLoadFromBin( EndianIStream& eis); 01606 void numReceptorFromBin( EndianIStream& eis); 01607 void forwardEffSpectrumFromBin( EndianIStream& eis); 01608 void frequencyRangeFromBin( EndianIStream& eis); 01609 void groundPressureFromBin( EndianIStream& eis); 01610 void groundRelHumidityFromBin( EndianIStream& eis); 01611 void frequencySpectrumFromBin( EndianIStream& eis); 01612 void groundTemperatureFromBin( EndianIStream& eis); 01613 void polarizationTypesFromBin( EndianIStream& eis); 01614 void powerSkySpectrumFromBin( EndianIStream& eis); 01615 void powerLoadSpectrumFromBin( EndianIStream& eis); 01616 void syscalTypeFromBin( EndianIStream& eis); 01617 void tAtmSpectrumFromBin( EndianIStream& eis); 01618 void tRecSpectrumFromBin( EndianIStream& eis); 01619 void tSysSpectrumFromBin( EndianIStream& eis); 01620 void tauSpectrumFromBin( EndianIStream& eis); 01621 void tAtmFromBin( EndianIStream& eis); 01622 void tRecFromBin( EndianIStream& eis); 01623 void tSysFromBin( EndianIStream& eis); 01624 void tauFromBin( EndianIStream& eis); 01625 void waterFromBin( EndianIStream& eis); 01626 void waterErrorFromBin( EndianIStream& eis); 01627 01628 void alphaSpectrumFromBin( EndianIStream& eis); 01629 void forwardEfficiencyFromBin( EndianIStream& eis); 01630 void forwardEfficiencyErrorFromBin( EndianIStream& eis); 01631 void sbGainFromBin( EndianIStream& eis); 01632 void sbGainErrorFromBin( EndianIStream& eis); 01633 void sbGainSpectrumFromBin( EndianIStream& eis); 01634 01635 01643 static CalAtmosphereRow* fromBin(EndianIStream& eis, CalAtmosphereTable& table, const std::vector<std::string>& attributesSeq); 01644 01651 void fromText(const std::string& attributeName, const std::string& t); 01653 01654 private: 01658 CalAtmosphereTable &table; 01662 bool hasBeenAdded; 01663 01664 // This method is used by the Table class when this row is added to the table. 01665 void isAdded(bool added); 01666 01667 01676 CalAtmosphereRow (CalAtmosphereTable &table); 01677 01695 CalAtmosphereRow (CalAtmosphereTable &table, CalAtmosphereRow &row); 01696 01698 // Intrinsic Table Attributes // 01700 01701 01702 // ===> Attribute receiverBand 01703 01704 01705 01706 ReceiverBandMod::ReceiverBand receiverBand; 01707 01708 01709 01710 01711 01712 01713 // ===> Attribute antennaName 01714 01715 01716 01717 string antennaName; 01718 01719 01720 01721 01722 01723 01724 // ===> Attribute basebandName 01725 01726 01727 01728 BasebandNameMod::BasebandName basebandName; 01729 01730 01731 01732 01733 01734 01735 // ===> Attribute startValidTime 01736 01737 01738 01739 ArrayTime startValidTime; 01740 01741 01742 01743 01744 01745 01746 // ===> Attribute endValidTime 01747 01748 01749 01750 ArrayTime endValidTime; 01751 01752 01753 01754 01755 01756 01757 // ===> Attribute numFreq 01758 01759 01760 01761 int numFreq; 01762 01763 01764 01765 01766 01767 01768 // ===> Attribute numLoad 01769 01770 01771 01772 int numLoad; 01773 01774 01775 01776 01777 01778 01779 // ===> Attribute numReceptor 01780 01781 01782 01783 int numReceptor; 01784 01785 01786 01787 01788 01789 01790 // ===> Attribute forwardEffSpectrum 01791 01792 01793 01794 vector<vector<float > > forwardEffSpectrum; 01795 01796 01797 01798 01799 01800 01801 // ===> Attribute frequencyRange 01802 01803 01804 01805 vector<Frequency > frequencyRange; 01806 01807 01808 01809 01810 01811 01812 // ===> Attribute groundPressure 01813 01814 01815 01816 Pressure groundPressure; 01817 01818 01819 01820 01821 01822 01823 // ===> Attribute groundRelHumidity 01824 01825 01826 01827 Humidity groundRelHumidity; 01828 01829 01830 01831 01832 01833 01834 // ===> Attribute frequencySpectrum 01835 01836 01837 01838 vector<Frequency > frequencySpectrum; 01839 01840 01841 01842 01843 01844 01845 // ===> Attribute groundTemperature 01846 01847 01848 01849 Temperature groundTemperature; 01850 01851 01852 01853 01854 01855 01856 // ===> Attribute polarizationTypes 01857 01858 01859 01860 vector<PolarizationTypeMod::PolarizationType > polarizationTypes; 01861 01862 01863 01864 01865 01866 01867 // ===> Attribute powerSkySpectrum 01868 01869 01870 01871 vector<vector<float > > powerSkySpectrum; 01872 01873 01874 01875 01876 01877 01878 // ===> Attribute powerLoadSpectrum 01879 01880 01881 01882 vector<vector<vector<float > > > powerLoadSpectrum; 01883 01884 01885 01886 01887 01888 01889 // ===> Attribute syscalType 01890 01891 01892 01893 SyscalMethodMod::SyscalMethod syscalType; 01894 01895 01896 01897 01898 01899 01900 // ===> Attribute tAtmSpectrum 01901 01902 01903 01904 vector<vector<Temperature > > tAtmSpectrum; 01905 01906 01907 01908 01909 01910 01911 // ===> Attribute tRecSpectrum 01912 01913 01914 01915 vector<vector<Temperature > > tRecSpectrum; 01916 01917 01918 01919 01920 01921 01922 // ===> Attribute tSysSpectrum 01923 01924 01925 01926 vector<vector<Temperature > > tSysSpectrum; 01927 01928 01929 01930 01931 01932 01933 // ===> Attribute tauSpectrum 01934 01935 01936 01937 vector<vector<float > > tauSpectrum; 01938 01939 01940 01941 01942 01943 01944 // ===> Attribute tAtm 01945 01946 01947 01948 vector<Temperature > tAtm; 01949 01950 01951 01952 01953 01954 01955 // ===> Attribute tRec 01956 01957 01958 01959 vector<Temperature > tRec; 01960 01961 01962 01963 01964 01965 01966 // ===> Attribute tSys 01967 01968 01969 01970 vector<Temperature > tSys; 01971 01972 01973 01974 01975 01976 01977 // ===> Attribute tau 01978 01979 01980 01981 vector<float > tau; 01982 01983 01984 01985 01986 01987 01988 // ===> Attribute water 01989 01990 01991 01992 vector<Length > water; 01993 01994 01995 01996 01997 01998 01999 // ===> Attribute waterError 02000 02001 02002 02003 vector<Length > waterError; 02004 02005 02006 02007 02008 02009 02010 // ===> Attribute alphaSpectrum, which is optional 02011 02012 02013 bool alphaSpectrumExists; 02014 02015 02016 vector<vector<float > > alphaSpectrum; 02017 02018 02019 02020 02021 02022 02023 // ===> Attribute forwardEfficiency, which is optional 02024 02025 02026 bool forwardEfficiencyExists; 02027 02028 02029 vector<float > forwardEfficiency; 02030 02031 02032 02033 02034 02035 02036 // ===> Attribute forwardEfficiencyError, which is optional 02037 02038 02039 bool forwardEfficiencyErrorExists; 02040 02041 02042 vector<double > forwardEfficiencyError; 02043 02044 02045 02046 02047 02048 02049 // ===> Attribute sbGain, which is optional 02050 02051 02052 bool sbGainExists; 02053 02054 02055 vector<float > sbGain; 02056 02057 02058 02059 02060 02061 02062 // ===> Attribute sbGainError, which is optional 02063 02064 02065 bool sbGainErrorExists; 02066 02067 02068 vector<float > sbGainError; 02069 02070 02071 02072 02073 02074 02075 // ===> Attribute sbGainSpectrum, which is optional 02076 02077 02078 bool sbGainSpectrumExists; 02079 02080 02081 vector<vector<float > > sbGainSpectrum; 02082 02083 02084 02085 02086 02088 // Extrinsic Table Attributes // 02090 02091 02092 // ===> Attribute calDataId 02093 02094 02095 02096 Tag calDataId; 02097 02098 02099 02100 02101 02102 02103 // ===> Attribute calReductionId 02104 02105 02106 02107 Tag calReductionId; 02108 02109 02110 02111 02112 02114 // Links // 02116 02117 02118 02119 02120 02121 02122 02123 02124 02125 02126 02127 02128 02129 02130 02131 02132 /* 02134 // binary-deserialization material from an EndianIStream // 02136 std::map<std::string, CalAtmosphereAttributeFromBin> fromBinMethods; 02137 void antennaNameFromBin( EndianIStream& eis); 02138 void receiverBandFromBin( EndianIStream& eis); 02139 void basebandNameFromBin( EndianIStream& eis); 02140 void calDataIdFromBin( EndianIStream& eis); 02141 void calReductionIdFromBin( EndianIStream& eis); 02142 void startValidTimeFromBin( EndianIStream& eis); 02143 void endValidTimeFromBin( EndianIStream& eis); 02144 void numFreqFromBin( EndianIStream& eis); 02145 void numLoadFromBin( EndianIStream& eis); 02146 void numReceptorFromBin( EndianIStream& eis); 02147 void forwardEffSpectrumFromBin( EndianIStream& eis); 02148 void frequencyRangeFromBin( EndianIStream& eis); 02149 void groundPressureFromBin( EndianIStream& eis); 02150 void groundRelHumidityFromBin( EndianIStream& eis); 02151 void frequencySpectrumFromBin( EndianIStream& eis); 02152 void groundTemperatureFromBin( EndianIStream& eis); 02153 void polarizationTypesFromBin( EndianIStream& eis); 02154 void powerSkySpectrumFromBin( EndianIStream& eis); 02155 void powerLoadSpectrumFromBin( EndianIStream& eis); 02156 void syscalTypeFromBin( EndianIStream& eis); 02157 void tAtmSpectrumFromBin( EndianIStream& eis); 02158 void tRecSpectrumFromBin( EndianIStream& eis); 02159 void tSysSpectrumFromBin( EndianIStream& eis); 02160 void tauSpectrumFromBin( EndianIStream& eis); 02161 void tAtmFromBin( EndianIStream& eis); 02162 void tRecFromBin( EndianIStream& eis); 02163 void tSysFromBin( EndianIStream& eis); 02164 void tauFromBin( EndianIStream& eis); 02165 void waterFromBin( EndianIStream& eis); 02166 void waterErrorFromBin( EndianIStream& eis); 02167 02168 void alphaSpectrumFromBin( EndianIStream& eis); 02169 void forwardEfficiencyFromBin( EndianIStream& eis); 02170 void forwardEfficiencyErrorFromBin( EndianIStream& eis); 02171 void sbGainFromBin( EndianIStream& eis); 02172 void sbGainErrorFromBin( EndianIStream& eis); 02173 void sbGainSpectrumFromBin( EndianIStream& eis); 02174 02175 */ 02176 02178 // text-deserialization material // 02180 std::map<std::string, CalAtmosphereAttributeFromText> fromTextMethods; 02181 02182 void antennaNameFromText (const string & s); 02183 02184 02185 void receiverBandFromText (const string & s); 02186 02187 02188 void basebandNameFromText (const string & s); 02189 02190 02191 void calDataIdFromText (const string & s); 02192 02193 02194 void calReductionIdFromText (const string & s); 02195 02196 02197 void startValidTimeFromText (const string & s); 02198 02199 02200 void endValidTimeFromText (const string & s); 02201 02202 02203 void numFreqFromText (const string & s); 02204 02205 02206 void numLoadFromText (const string & s); 02207 02208 02209 void numReceptorFromText (const string & s); 02210 02211 02212 void forwardEffSpectrumFromText (const string & s); 02213 02214 02215 void frequencyRangeFromText (const string & s); 02216 02217 02218 void groundPressureFromText (const string & s); 02219 02220 02221 void groundRelHumidityFromText (const string & s); 02222 02223 02224 void frequencySpectrumFromText (const string & s); 02225 02226 02227 void groundTemperatureFromText (const string & s); 02228 02229 02230 void polarizationTypesFromText (const string & s); 02231 02232 02233 void powerSkySpectrumFromText (const string & s); 02234 02235 02236 void powerLoadSpectrumFromText (const string & s); 02237 02238 02239 void syscalTypeFromText (const string & s); 02240 02241 02242 void tAtmSpectrumFromText (const string & s); 02243 02244 02245 void tRecSpectrumFromText (const string & s); 02246 02247 02248 void tSysSpectrumFromText (const string & s); 02249 02250 02251 void tauSpectrumFromText (const string & s); 02252 02253 02254 void tAtmFromText (const string & s); 02255 02256 02257 void tRecFromText (const string & s); 02258 02259 02260 void tSysFromText (const string & s); 02261 02262 02263 void tauFromText (const string & s); 02264 02265 02266 void waterFromText (const string & s); 02267 02268 02269 void waterErrorFromText (const string & s); 02270 02271 02272 02273 void alphaSpectrumFromText (const string & s); 02274 02275 02276 void forwardEfficiencyFromText (const string & s); 02277 02278 02279 void forwardEfficiencyErrorFromText (const string & s); 02280 02281 02282 void sbGainFromText (const string & s); 02283 02284 02285 void sbGainErrorFromText (const string & s); 02286 02287 02288 void sbGainSpectrumFromText (const string & s); 02289 02290 02291 02296 void toBin(EndianOSStream& eoss); 02297 02307 }; 02308 02309 } // End namespace asdm 02310 02311 #endif /* CalAtmosphere_CLASS */