CalWVRRow.h

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 CalWVRRow.h 00032 */ 00033 00034 #ifndef CalWVRRow_CLASS 00035 #define CalWVRRow_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::CalWVRRowIDL; 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 "CWVRMethod.h" 00090 using namespace WVRMethodMod; 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 using asdm::Angle; 00110 using asdm::AngularRate; 00111 using asdm::ArrayTime; 00112 using asdm::Complex; 00113 using asdm::Entity; 00114 using asdm::EntityId; 00115 using asdm::EntityRef; 00116 using asdm::Flux; 00117 using asdm::Frequency; 00118 using asdm::Humidity; 00119 using asdm::Interval; 00120 using asdm::Length; 00121 using asdm::Pressure; 00122 using asdm::Speed; 00123 using asdm::Tag; 00124 using asdm::Temperature; 00125 using asdm::ConversionException; 00126 using asdm::NoSuchRow; 00127 using asdm::IllegalAccessException; 00128 00129 /*\file CalWVR.h 00130 \brief Generated from model's revision "1.46", branch "HEAD" 00131 */ 00132 00133 namespace asdm { 00134 00135 //class asdm::CalWVRTable; 00136 00137 00138 // class asdm::CalDataRow; 00139 class CalDataRow; 00140 00141 // class asdm::CalReductionRow; 00142 class CalReductionRow; 00143 00144 00151 class CalWVRRow { 00152 friend class asdm::CalWVRTable; 00153 00154 public: 00155 00156 virtual ~CalWVRRow(); 00157 00161 CalWVRTable &getTable() const; 00162 00163 #ifndef WITHOUT_ACS 00164 00168 CalWVRRowIDL *toIDL() const; 00169 #endif 00170 00171 #ifndef WITHOUT_ACS 00172 00176 void setFromIDL (CalWVRRowIDL x) throw(ConversionException); 00177 #endif 00178 00183 string toXML() const; 00184 00190 void setFromXML (string rowDoc) throw(ConversionException); 00191 00193 // Intrinsic Table Attributes // 00195 00196 00197 // ===> Attribute antennaName 00198 00199 00200 00201 00202 00207 string getAntennaName() const; 00208 00209 00210 00211 00221 void setAntennaName (string antennaName); 00222 00223 00224 00225 00226 00227 00228 00229 // ===> Attribute numPoly 00230 00231 00232 00233 00234 00239 int getNumPoly() const; 00240 00241 00242 00243 00251 void setNumPoly (int numPoly); 00252 00253 00254 00255 00256 00257 00258 00259 // ===> Attribute numChan 00260 00261 00262 00263 00264 00269 int getNumChan() const; 00270 00271 00272 00273 00281 void setNumChan (int numChan); 00282 00283 00284 00285 00286 00287 00288 00289 // ===> Attribute startValidTime 00290 00291 00292 00293 00294 00299 ArrayTime getStartValidTime() const; 00300 00301 00302 00303 00311 void setStartValidTime (ArrayTime startValidTime); 00312 00313 00314 00315 00316 00317 00318 00319 // ===> Attribute endValidTime 00320 00321 00322 00323 00324 00329 ArrayTime getEndValidTime() const; 00330 00331 00332 00333 00341 void setEndValidTime (ArrayTime endValidTime); 00342 00343 00344 00345 00346 00347 00348 00349 // ===> Attribute wvrMethod 00350 00351 00352 00353 00354 00359 WVRMethodMod::WVRMethod getWvrMethod() const; 00360 00361 00362 00363 00371 void setWvrMethod (WVRMethodMod::WVRMethod wvrMethod); 00372 00373 00374 00375 00376 00377 00378 00379 // ===> Attribute freqLimits 00380 00381 00382 00383 00384 00389 vector<Frequency > getFreqLimits() const; 00390 00391 00392 00393 00401 void setFreqLimits (vector<Frequency > freqLimits); 00402 00403 00404 00405 00406 00407 00408 00409 // ===> Attribute pathCoeff 00410 00411 00412 00413 00414 00419 vector<vector<vector<float > > > getPathCoeff() const; 00420 00421 00422 00423 00431 void setPathCoeff (vector<vector<vector<float > > > pathCoeff); 00432 00433 00434 00435 00436 00437 00438 00439 // ===> Attribute chanFreq 00440 00441 00442 00443 00444 00449 vector<Frequency > getChanFreq() const; 00450 00451 00452 00453 00461 void setChanFreq (vector<Frequency > chanFreq); 00462 00463 00464 00465 00466 00467 00468 00469 // ===> Attribute chanWidth 00470 00471 00472 00473 00474 00479 vector<Frequency > getChanWidth() const; 00480 00481 00482 00483 00491 void setChanWidth (vector<Frequency > chanWidth); 00492 00493 00494 00495 00496 00497 00498 00499 // ===> Attribute numInputAntenna 00500 00501 00502 00503 00504 00509 int getNumInputAntenna() const; 00510 00511 00512 00513 00521 void setNumInputAntenna (int numInputAntenna); 00522 00523 00524 00525 00526 00527 00528 00529 // ===> Attribute inputAntennaNames 00530 00531 00532 00533 00534 00539 vector<string > getInputAntennaNames() const; 00540 00541 00542 00543 00551 void setInputAntennaNames (vector<string > inputAntennaNames); 00552 00553 00554 00555 00556 00557 00558 00559 // ===> Attribute polyFreqLimits 00560 00561 00562 00563 00564 00569 vector<Frequency > getPolyFreqLimits() const; 00570 00571 00572 00573 00581 void setPolyFreqLimits (vector<Frequency > polyFreqLimits); 00582 00583 00584 00585 00586 00587 00589 // Extrinsic Table Attributes // 00591 00592 00593 // ===> Attribute calDataId 00594 00595 00596 00597 00598 00603 Tag getCalDataId() const; 00604 00605 00606 00607 00617 void setCalDataId (Tag calDataId); 00618 00619 00620 00621 00622 00623 00624 00625 // ===> Attribute calReductionId 00626 00627 00628 00629 00630 00635 Tag getCalReductionId() const; 00636 00637 00638 00639 00649 void setCalReductionId (Tag calReductionId); 00650 00651 00652 00653 00654 00655 00657 // Links // 00659 00660 00661 00662 00663 00670 CalDataRow* getCalDataUsingCalDataId(); 00671 00672 00673 00674 00675 00676 00677 00678 00685 CalReductionRow* getCalReductionUsingCalReductionId(); 00686 00687 00688 00689 00690 00691 00692 00697 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, int numPoly, int numChan, ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, vector<Frequency > freqLimits, vector<vector<vector<float > > > pathCoeff, vector<Frequency > chanFreq, vector<Frequency > chanWidth, int numInputAntenna, vector<string > inputAntennaNames, vector<Frequency > polyFreqLimits); 00698 00699 00700 00701 00702 bool compareRequiredValue(int numPoly, int numChan, ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, vector<Frequency > freqLimits, vector<vector<vector<float > > > pathCoeff, vector<Frequency > chanFreq, vector<Frequency > chanWidth, int numInputAntenna, vector<string > inputAntennaNames, vector<Frequency > polyFreqLimits); 00703 00704 00713 bool equalByRequiredValue(CalWVRRow* x) ; 00714 00715 private: 00719 CalWVRTable &table; 00723 bool hasBeenAdded; 00724 00725 // This method is used by the Table class when this row is added to the table. 00726 void isAdded(); 00727 00728 00737 CalWVRRow (CalWVRTable &table); 00738 00756 CalWVRRow (CalWVRTable &table, CalWVRRow &row); 00757 00759 // Intrinsic Table Attributes // 00761 00762 00763 // ===> Attribute antennaName 00764 00765 00766 00767 string antennaName; 00768 00769 00770 00771 00772 00773 00774 // ===> Attribute numPoly 00775 00776 00777 00778 int numPoly; 00779 00780 00781 00782 00783 00784 00785 // ===> Attribute numChan 00786 00787 00788 00789 int numChan; 00790 00791 00792 00793 00794 00795 00796 // ===> Attribute startValidTime 00797 00798 00799 00800 ArrayTime startValidTime; 00801 00802 00803 00804 00805 00806 00807 // ===> Attribute endValidTime 00808 00809 00810 00811 ArrayTime endValidTime; 00812 00813 00814 00815 00816 00817 00818 // ===> Attribute wvrMethod 00819 00820 00821 00822 WVRMethodMod::WVRMethod wvrMethod; 00823 00824 00825 00826 00827 00828 00829 // ===> Attribute freqLimits 00830 00831 00832 00833 vector<Frequency > freqLimits; 00834 00835 00836 00837 00838 00839 00840 // ===> Attribute pathCoeff 00841 00842 00843 00844 vector<vector<vector<float > > > pathCoeff; 00845 00846 00847 00848 00849 00850 00851 // ===> Attribute chanFreq 00852 00853 00854 00855 vector<Frequency > chanFreq; 00856 00857 00858 00859 00860 00861 00862 // ===> Attribute chanWidth 00863 00864 00865 00866 vector<Frequency > chanWidth; 00867 00868 00869 00870 00871 00872 00873 // ===> Attribute numInputAntenna 00874 00875 00876 00877 int numInputAntenna; 00878 00879 00880 00881 00882 00883 00884 // ===> Attribute inputAntennaNames 00885 00886 00887 00888 vector<string > inputAntennaNames; 00889 00890 00891 00892 00893 00894 00895 // ===> Attribute polyFreqLimits 00896 00897 00898 00899 vector<Frequency > polyFreqLimits; 00900 00901 00902 00903 00904 00906 // Extrinsic Table Attributes // 00908 00909 00910 // ===> Attribute calDataId 00911 00912 00913 00914 Tag calDataId; 00915 00916 00917 00918 00919 00920 00921 // ===> Attribute calReductionId 00922 00923 00924 00925 Tag calReductionId; 00926 00927 00928 00929 00930 00932 // Links // 00934 00935 00936 00937 00938 00939 00940 00941 00942 00943 00944 00945 00946 00947 00948 00949 00950 }; 00951 00952 } // End namespace asdm 00953 00954 #endif /* CalWVR_CLASS */

Generated on Tue Nov 18 17:43:40 2008 for ASDM C++ Implementation by doxygen 1.3.8