CalCurveRow.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 CalCurveRow.h 00032 */ 00033 00034 #ifndef CalCurveRow_CLASS 00035 #define CalCurveRow_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::CalCurveRowIDL; 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 00090 00091 00092 00093 #include "CReceiverBand.h" 00094 using namespace ReceiverBandMod; 00095 00096 00097 00098 #include "CAtmPhaseCorrection.h" 00099 using namespace AtmPhaseCorrectionMod; 00100 00101 00102 00103 #include "CPolarizationType.h" 00104 using namespace PolarizationTypeMod; 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 #include "CCalCurveType.h" 00115 using namespace CalCurveTypeMod; 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 using asdm::Angle; 00127 using asdm::AngularRate; 00128 using asdm::ArrayTime; 00129 using asdm::Complex; 00130 using asdm::Entity; 00131 using asdm::EntityId; 00132 using asdm::EntityRef; 00133 using asdm::Flux; 00134 using asdm::Frequency; 00135 using asdm::Humidity; 00136 using asdm::Interval; 00137 using asdm::Length; 00138 using asdm::Pressure; 00139 using asdm::Speed; 00140 using asdm::Tag; 00141 using asdm::Temperature; 00142 using asdm::ConversionException; 00143 using asdm::NoSuchRow; 00144 using asdm::IllegalAccessException; 00145 00146 /*\file CalCurve.h 00147 \brief Generated from model's revision "1.46", branch "HEAD" 00148 */ 00149 00150 namespace asdm { 00151 00152 //class asdm::CalCurveTable; 00153 00154 00155 // class asdm::CalDataRow; 00156 class CalDataRow; 00157 00158 // class asdm::CalReductionRow; 00159 class CalReductionRow; 00160 00161 00168 class CalCurveRow { 00169 friend class asdm::CalCurveTable; 00170 00171 public: 00172 00173 virtual ~CalCurveRow(); 00174 00178 CalCurveTable &getTable() const; 00179 00180 #ifndef WITHOUT_ACS 00181 00185 CalCurveRowIDL *toIDL() const; 00186 #endif 00187 00188 #ifndef WITHOUT_ACS 00189 00193 void setFromIDL (CalCurveRowIDL x) throw(ConversionException); 00194 #endif 00195 00200 string toXML() const; 00201 00207 void setFromXML (string rowDoc) throw(ConversionException); 00208 00210 // Intrinsic Table Attributes // 00212 00213 00214 // ===> Attribute numAntenna 00215 00216 00217 00218 00219 00224 int getNumAntenna() const; 00225 00226 00227 00228 00236 void setNumAntenna (int numAntenna); 00237 00238 00239 00240 00241 00242 00243 00244 // ===> Attribute numBaseline 00245 00246 00247 00248 00249 00254 int getNumBaseline() const; 00255 00256 00257 00258 00266 void setNumBaseline (int numBaseline); 00267 00268 00269 00270 00271 00272 00273 00274 // ===> Attribute numAPC 00275 00276 00277 00278 00279 00284 int getNumAPC() const; 00285 00286 00287 00288 00296 void setNumAPC (int numAPC); 00297 00298 00299 00300 00301 00302 00303 00304 // ===> Attribute numReceptor 00305 00306 00307 00308 00309 00314 int getNumReceptor() const; 00315 00316 00317 00318 00326 void setNumReceptor (int numReceptor); 00327 00328 00329 00330 00331 00332 00333 00334 // ===> Attribute numPoly 00335 00336 00337 00338 00339 00344 int getNumPoly() const; 00345 00346 00347 00348 00356 void setNumPoly (int numPoly); 00357 00358 00359 00360 00361 00362 00363 00364 // ===> Attribute antennaNames 00365 00366 00367 00368 00369 00374 vector<string > getAntennaNames() const; 00375 00376 00377 00378 00386 void setAntennaNames (vector<string > antennaNames); 00387 00388 00389 00390 00391 00392 00393 00394 // ===> Attribute refAntennaName 00395 00396 00397 00398 00399 00404 string getRefAntennaName() const; 00405 00406 00407 00408 00416 void setRefAntennaName (string refAntennaName); 00417 00418 00419 00420 00421 00422 00423 00424 // ===> Attribute receiverBand 00425 00426 00427 00428 00429 00434 ReceiverBandMod::ReceiverBand getReceiverBand() const; 00435 00436 00437 00438 00446 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand); 00447 00448 00449 00450 00451 00452 00453 00454 // ===> Attribute atmPhaseCorrections 00455 00456 00457 00458 00459 00464 vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > getAtmPhaseCorrections() const; 00465 00466 00467 00468 00476 void setAtmPhaseCorrections (vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections); 00477 00478 00479 00480 00481 00482 00483 00484 // ===> Attribute polarizationTypes 00485 00486 00487 00488 00489 00494 vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const; 00495 00496 00497 00498 00506 void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes); 00507 00508 00509 00510 00511 00512 00513 00514 // ===> Attribute startValidTime 00515 00516 00517 00518 00519 00524 ArrayTime getStartValidTime() const; 00525 00526 00527 00528 00536 void setStartValidTime (ArrayTime startValidTime); 00537 00538 00539 00540 00541 00542 00543 00544 // ===> Attribute endValidTime 00545 00546 00547 00548 00549 00554 ArrayTime getEndValidTime() const; 00555 00556 00557 00558 00566 void setEndValidTime (ArrayTime endValidTime); 00567 00568 00569 00570 00571 00572 00573 00574 // ===> Attribute frequencyRange 00575 00576 00577 00578 00579 00584 vector<Frequency > getFrequencyRange() const; 00585 00586 00587 00588 00596 void setFrequencyRange (vector<Frequency > frequencyRange); 00597 00598 00599 00600 00601 00602 00603 00604 // ===> Attribute typeCurve 00605 00606 00607 00608 00609 00614 CalCurveTypeMod::CalCurveType getTypeCurve() const; 00615 00616 00617 00618 00626 void setTypeCurve (CalCurveTypeMod::CalCurveType typeCurve); 00627 00628 00629 00630 00631 00632 00633 00634 // ===> Attribute timeOrigin 00635 00636 00637 00638 00639 00644 ArrayTime getTimeOrigin() const; 00645 00646 00647 00648 00656 void setTimeOrigin (ArrayTime timeOrigin); 00657 00658 00659 00660 00661 00662 00663 00664 // ===> Attribute curve 00665 00666 00667 00668 00669 00674 vector<vector<vector<vector<float > > > > getCurve() const; 00675 00676 00677 00678 00686 void setCurve (vector<vector<vector<vector<float > > > > curve); 00687 00688 00689 00690 00691 00692 00693 00694 // ===> Attribute rms 00695 00696 00697 00698 00699 00704 vector<vector<vector<float > > > getRms() const; 00705 00706 00707 00708 00716 void setRms (vector<vector<vector<float > > > rms); 00717 00718 00719 00720 00721 00722 00724 // Extrinsic Table Attributes // 00726 00727 00728 // ===> Attribute calDataId 00729 00730 00731 00732 00733 00738 Tag getCalDataId() const; 00739 00740 00741 00742 00752 void setCalDataId (Tag calDataId); 00753 00754 00755 00756 00757 00758 00759 00760 // ===> Attribute calReductionId 00761 00762 00763 00764 00765 00770 Tag getCalReductionId() const; 00771 00772 00773 00774 00784 void setCalReductionId (Tag calReductionId); 00785 00786 00787 00788 00789 00790 00792 // Links // 00794 00795 00796 00797 00798 00805 CalDataRow* getCalDataUsingCalDataId(); 00806 00807 00808 00809 00810 00811 00812 00813 00820 CalReductionRow* getCalReductionUsingCalReductionId(); 00821 00822 00823 00824 00825 00826 00827 00832 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector<string > antennaNames, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, CalCurveTypeMod::CalCurveType typeCurve, ArrayTime timeOrigin, vector<vector<vector<vector<float > > > > curve, vector<vector<vector<float > > > rms); 00833 00834 00835 00836 00837 bool compareRequiredValue(int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector<string > antennaNames, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, CalCurveTypeMod::CalCurveType typeCurve, ArrayTime timeOrigin, vector<vector<vector<vector<float > > > > curve, vector<vector<vector<float > > > rms); 00838 00839 00848 bool equalByRequiredValue(CalCurveRow* x) ; 00849 00850 private: 00854 CalCurveTable &table; 00858 bool hasBeenAdded; 00859 00860 // This method is used by the Table class when this row is added to the table. 00861 void isAdded(); 00862 00863 00872 CalCurveRow (CalCurveTable &table); 00873 00891 CalCurveRow (CalCurveTable &table, CalCurveRow &row); 00892 00894 // Intrinsic Table Attributes // 00896 00897 00898 // ===> Attribute numAntenna 00899 00900 00901 00902 int numAntenna; 00903 00904 00905 00906 00907 00908 00909 // ===> Attribute numBaseline 00910 00911 00912 00913 int numBaseline; 00914 00915 00916 00917 00918 00919 00920 // ===> Attribute numAPC 00921 00922 00923 00924 int numAPC; 00925 00926 00927 00928 00929 00930 00931 // ===> Attribute numReceptor 00932 00933 00934 00935 int numReceptor; 00936 00937 00938 00939 00940 00941 00942 // ===> Attribute numPoly 00943 00944 00945 00946 int numPoly; 00947 00948 00949 00950 00951 00952 00953 // ===> Attribute antennaNames 00954 00955 00956 00957 vector<string > antennaNames; 00958 00959 00960 00961 00962 00963 00964 // ===> Attribute refAntennaName 00965 00966 00967 00968 string refAntennaName; 00969 00970 00971 00972 00973 00974 00975 // ===> Attribute receiverBand 00976 00977 00978 00979 ReceiverBandMod::ReceiverBand receiverBand; 00980 00981 00982 00983 00984 00985 00986 // ===> Attribute atmPhaseCorrections 00987 00988 00989 00990 vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections; 00991 00992 00993 00994 00995 00996 00997 // ===> Attribute polarizationTypes 00998 00999 01000 01001 vector<PolarizationTypeMod::PolarizationType > polarizationTypes; 01002 01003 01004 01005 01006 01007 01008 // ===> Attribute startValidTime 01009 01010 01011 01012 ArrayTime startValidTime; 01013 01014 01015 01016 01017 01018 01019 // ===> Attribute endValidTime 01020 01021 01022 01023 ArrayTime endValidTime; 01024 01025 01026 01027 01028 01029 01030 // ===> Attribute frequencyRange 01031 01032 01033 01034 vector<Frequency > frequencyRange; 01035 01036 01037 01038 01039 01040 01041 // ===> Attribute typeCurve 01042 01043 01044 01045 CalCurveTypeMod::CalCurveType typeCurve; 01046 01047 01048 01049 01050 01051 01052 // ===> Attribute timeOrigin 01053 01054 01055 01056 ArrayTime timeOrigin; 01057 01058 01059 01060 01061 01062 01063 // ===> Attribute curve 01064 01065 01066 01067 vector<vector<vector<vector<float > > > > curve; 01068 01069 01070 01071 01072 01073 01074 // ===> Attribute rms 01075 01076 01077 01078 vector<vector<vector<float > > > rms; 01079 01080 01081 01082 01083 01085 // Extrinsic Table Attributes // 01087 01088 01089 // ===> Attribute calDataId 01090 01091 01092 01093 Tag calDataId; 01094 01095 01096 01097 01098 01099 01100 // ===> Attribute calReductionId 01101 01102 01103 01104 Tag calReductionId; 01105 01106 01107 01108 01109 01111 // Links // 01113 01114 01115 01116 01117 01118 01119 01120 01121 01122 01123 01124 01125 01126 01127 01128 01129 }; 01130 01131 } // End namespace asdm 01132 01133 #endif /* CalCurve_CLASS */

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