CalFocusModelRow.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 CalFocusModelRow.h 00032 */ 00033 00034 #ifndef CalFocusModelRow_CLASS 00035 #define CalFocusModelRow_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::CalFocusModelRowIDL; 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 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 #include "CReceiverBand.h" 00104 using namespace ReceiverBandMod; 00105 00106 00107 00108 #include "CAntennaMake.h" 00109 using namespace AntennaMakeMod; 00110 00111 00112 00113 00114 using asdm::Angle; 00115 using asdm::AngularRate; 00116 using asdm::ArrayTime; 00117 using asdm::Complex; 00118 using asdm::Entity; 00119 using asdm::EntityId; 00120 using asdm::EntityRef; 00121 using asdm::Flux; 00122 using asdm::Frequency; 00123 using asdm::Humidity; 00124 using asdm::Interval; 00125 using asdm::Length; 00126 using asdm::Pressure; 00127 using asdm::Speed; 00128 using asdm::Tag; 00129 using asdm::Temperature; 00130 using asdm::ConversionException; 00131 using asdm::NoSuchRow; 00132 using asdm::IllegalAccessException; 00133 00134 /*\file CalFocusModel.h 00135 \brief Generated from model's revision "1.46", branch "HEAD" 00136 */ 00137 00138 namespace asdm { 00139 00140 //class asdm::CalFocusModelTable; 00141 00142 00143 // class asdm::CalDataRow; 00144 class CalDataRow; 00145 00146 // class asdm::CalReductionRow; 00147 class CalReductionRow; 00148 00149 00156 class CalFocusModelRow { 00157 friend class asdm::CalFocusModelTable; 00158 00159 public: 00160 00161 virtual ~CalFocusModelRow(); 00162 00166 CalFocusModelTable &getTable() const; 00167 00168 #ifndef WITHOUT_ACS 00169 00173 CalFocusModelRowIDL *toIDL() const; 00174 #endif 00175 00176 #ifndef WITHOUT_ACS 00177 00181 void setFromIDL (CalFocusModelRowIDL x) throw(ConversionException); 00182 #endif 00183 00188 string toXML() const; 00189 00195 void setFromXML (string rowDoc) throw(ConversionException); 00196 00198 // Intrinsic Table Attributes // 00200 00201 00202 // ===> Attribute antennaName 00203 00204 00205 00206 00207 00212 string getAntennaName() const; 00213 00214 00215 00216 00226 void setAntennaName (string antennaName); 00227 00228 00229 00230 00231 00232 00233 00234 // ===> Attribute numCoeff 00235 00236 00237 00238 00239 00244 int getNumCoeff() const; 00245 00246 00247 00248 00256 void setNumCoeff (int numCoeff); 00257 00258 00259 00260 00261 00262 00263 00264 // ===> Attribute startValidTime 00265 00266 00267 00268 00269 00274 ArrayTime getStartValidTime() const; 00275 00276 00277 00278 00286 void setStartValidTime (ArrayTime startValidTime); 00287 00288 00289 00290 00291 00292 00293 00294 // ===> Attribute endValidTime 00295 00296 00297 00298 00299 00304 ArrayTime getEndValidTime() const; 00305 00306 00307 00308 00316 void setEndValidTime (ArrayTime endValidTime); 00317 00318 00319 00320 00321 00322 00323 00324 // ===> Attribute focusRMS 00325 00326 00327 00328 00329 00334 vector<Length > getFocusRMS() const; 00335 00336 00337 00338 00346 void setFocusRMS (vector<Length > focusRMS); 00347 00348 00349 00350 00351 00352 00353 00354 // ===> Attribute coeffName 00355 00356 00357 00358 00359 00364 vector<vector<string > > getCoeffName() const; 00365 00366 00367 00368 00376 void setCoeffName (vector<vector<string > > coeffName); 00377 00378 00379 00380 00381 00382 00383 00384 // ===> Attribute coeffFormula 00385 00386 00387 00388 00389 00394 vector<vector<string > > getCoeffFormula() const; 00395 00396 00397 00398 00406 void setCoeffFormula (vector<vector<string > > coeffFormula); 00407 00408 00409 00410 00411 00412 00413 00414 // ===> Attribute coeffValue 00415 00416 00417 00418 00419 00424 vector<vector<float > > getCoeffValue() const; 00425 00426 00427 00428 00436 void setCoeffValue (vector<vector<float > > coeffValue); 00437 00438 00439 00440 00441 00442 00443 00444 // ===> Attribute coeffError 00445 00446 00447 00448 00449 00454 vector<vector<float > > getCoeffError() const; 00455 00456 00457 00458 00466 void setCoeffError (vector<vector<float > > coeffError); 00467 00468 00469 00470 00471 00472 00473 00474 // ===> Attribute coeffFixed 00475 00476 00477 00478 00479 00484 vector<vector<bool > > getCoeffFixed() const; 00485 00486 00487 00488 00496 void setCoeffFixed (vector<vector<bool > > coeffFixed); 00497 00498 00499 00500 00501 00502 00503 00504 // ===> Attribute focusModel 00505 00506 00507 00508 00509 00514 string getFocusModel() const; 00515 00516 00517 00518 00526 void setFocusModel (string focusModel); 00527 00528 00529 00530 00531 00532 00533 00534 // ===> Attribute numSourceObs 00535 00536 00537 00538 00539 00544 int getNumSourceObs() const; 00545 00546 00547 00548 00556 void setNumSourceObs (int numSourceObs); 00557 00558 00559 00560 00561 00562 00563 00564 // ===> Attribute receiverBand 00565 00566 00567 00568 00569 00574 ReceiverBandMod::ReceiverBand getReceiverBand() const; 00575 00576 00577 00578 00588 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand); 00589 00590 00591 00592 00593 00594 00595 00596 // ===> Attribute antennaMake 00597 00598 00599 00600 00601 00606 AntennaMakeMod::AntennaMake getAntennaMake() const; 00607 00608 00609 00610 00618 void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake); 00619 00620 00621 00622 00623 00624 00626 // Extrinsic Table Attributes // 00628 00629 00630 // ===> Attribute calDataId 00631 00632 00633 00634 00635 00640 Tag getCalDataId() const; 00641 00642 00643 00644 00654 void setCalDataId (Tag calDataId); 00655 00656 00657 00658 00659 00660 00661 00662 // ===> Attribute calReductionId 00663 00664 00665 00666 00667 00672 Tag getCalReductionId() const; 00673 00674 00675 00676 00686 void setCalReductionId (Tag calReductionId); 00687 00688 00689 00690 00691 00692 00694 // Links // 00696 00697 00698 00699 00700 00707 CalDataRow* getCalDataUsingCalDataId(); 00708 00709 00710 00711 00712 00713 00714 00715 00722 CalReductionRow* getCalReductionUsingCalReductionId(); 00723 00724 00725 00726 00727 00728 00729 00734 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ReceiverBandMod::ReceiverBand receiverBand, int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusRMS, vector<vector<string > > coeffName, vector<vector<string > > coeffFormula, vector<vector<float > > coeffValue, vector<vector<float > > coeffError, vector<vector<bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMakeMod::AntennaMake antennaMake); 00735 00736 00737 00738 00739 bool compareRequiredValue(int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusRMS, vector<vector<string > > coeffName, vector<vector<string > > coeffFormula, vector<vector<float > > coeffValue, vector<vector<float > > coeffError, vector<vector<bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMakeMod::AntennaMake antennaMake); 00740 00741 00750 bool equalByRequiredValue(CalFocusModelRow* x) ; 00751 00752 private: 00756 CalFocusModelTable &table; 00760 bool hasBeenAdded; 00761 00762 // This method is used by the Table class when this row is added to the table. 00763 void isAdded(); 00764 00765 00774 CalFocusModelRow (CalFocusModelTable &table); 00775 00793 CalFocusModelRow (CalFocusModelTable &table, CalFocusModelRow &row); 00794 00796 // Intrinsic Table Attributes // 00798 00799 00800 // ===> Attribute antennaName 00801 00802 00803 00804 string antennaName; 00805 00806 00807 00808 00809 00810 00811 // ===> Attribute numCoeff 00812 00813 00814 00815 int numCoeff; 00816 00817 00818 00819 00820 00821 00822 // ===> Attribute startValidTime 00823 00824 00825 00826 ArrayTime startValidTime; 00827 00828 00829 00830 00831 00832 00833 // ===> Attribute endValidTime 00834 00835 00836 00837 ArrayTime endValidTime; 00838 00839 00840 00841 00842 00843 00844 // ===> Attribute focusRMS 00845 00846 00847 00848 vector<Length > focusRMS; 00849 00850 00851 00852 00853 00854 00855 // ===> Attribute coeffName 00856 00857 00858 00859 vector<vector<string > > coeffName; 00860 00861 00862 00863 00864 00865 00866 // ===> Attribute coeffFormula 00867 00868 00869 00870 vector<vector<string > > coeffFormula; 00871 00872 00873 00874 00875 00876 00877 // ===> Attribute coeffValue 00878 00879 00880 00881 vector<vector<float > > coeffValue; 00882 00883 00884 00885 00886 00887 00888 // ===> Attribute coeffError 00889 00890 00891 00892 vector<vector<float > > coeffError; 00893 00894 00895 00896 00897 00898 00899 // ===> Attribute coeffFixed 00900 00901 00902 00903 vector<vector<bool > > coeffFixed; 00904 00905 00906 00907 00908 00909 00910 // ===> Attribute focusModel 00911 00912 00913 00914 string focusModel; 00915 00916 00917 00918 00919 00920 00921 // ===> Attribute numSourceObs 00922 00923 00924 00925 int numSourceObs; 00926 00927 00928 00929 00930 00931 00932 // ===> Attribute receiverBand 00933 00934 00935 00936 ReceiverBandMod::ReceiverBand receiverBand; 00937 00938 00939 00940 00941 00942 00943 // ===> Attribute antennaMake 00944 00945 00946 00947 AntennaMakeMod::AntennaMake antennaMake; 00948 00949 00950 00951 00952 00954 // Extrinsic Table Attributes // 00956 00957 00958 // ===> Attribute calDataId 00959 00960 00961 00962 Tag calDataId; 00963 00964 00965 00966 00967 00968 00969 // ===> Attribute calReductionId 00970 00971 00972 00973 Tag calReductionId; 00974 00975 00976 00977 00978 00980 // Links // 00982 00983 00984 00985 00986 00987 00988 00989 00990 00991 00992 00993 00994 00995 00996 00997 00998 }; 00999 01000 } // End namespace asdm 01001 01002 #endif /* CalFocusModel_CLASS */

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