CalPositionRow.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 CalPositionRow.h 00032 */ 00033 00034 #ifndef CalPositionRow_CLASS 00035 #define CalPositionRow_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::CalPositionRowIDL; 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 #include "CPositionMethod.h" 00102 using namespace PositionMethodMod; 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 using asdm::Angle; 00116 using asdm::AngularRate; 00117 using asdm::ArrayTime; 00118 using asdm::Complex; 00119 using asdm::Entity; 00120 using asdm::EntityId; 00121 using asdm::EntityRef; 00122 using asdm::Flux; 00123 using asdm::Frequency; 00124 using asdm::Humidity; 00125 using asdm::Interval; 00126 using asdm::Length; 00127 using asdm::Pressure; 00128 using asdm::Speed; 00129 using asdm::Tag; 00130 using asdm::Temperature; 00131 using asdm::ConversionException; 00132 using asdm::NoSuchRow; 00133 using asdm::IllegalAccessException; 00134 00135 /*\file CalPosition.h 00136 \brief Generated from model's revision "1.46", branch "HEAD" 00137 */ 00138 00139 namespace asdm { 00140 00141 //class asdm::CalPositionTable; 00142 00143 00144 // class asdm::CalReductionRow; 00145 class CalReductionRow; 00146 00147 // class asdm::CalDataRow; 00148 class CalDataRow; 00149 00150 00157 class CalPositionRow { 00158 friend class asdm::CalPositionTable; 00159 00160 public: 00161 00162 virtual ~CalPositionRow(); 00163 00167 CalPositionTable &getTable() const; 00168 00169 #ifndef WITHOUT_ACS 00170 00174 CalPositionRowIDL *toIDL() const; 00175 #endif 00176 00177 #ifndef WITHOUT_ACS 00178 00182 void setFromIDL (CalPositionRowIDL x) throw(ConversionException); 00183 #endif 00184 00189 string toXML() const; 00190 00196 void setFromXML (string rowDoc) throw(ConversionException); 00197 00199 // Intrinsic Table Attributes // 00201 00202 00203 // ===> Attribute antennaName 00204 00205 00206 00207 00208 00213 string getAntennaName() const; 00214 00215 00216 00217 00227 void setAntennaName (string antennaName); 00228 00229 00230 00231 00232 00233 00234 00235 // ===> Attribute numAntenna 00236 00237 00238 00239 00240 00245 int getNumAntenna() const; 00246 00247 00248 00249 00257 void setNumAntenna (int numAntenna); 00258 00259 00260 00261 00262 00263 00264 00265 // ===> Attribute startValidTime 00266 00267 00268 00269 00270 00275 ArrayTime getStartValidTime() const; 00276 00277 00278 00279 00287 void setStartValidTime (ArrayTime startValidTime); 00288 00289 00290 00291 00292 00293 00294 00295 // ===> Attribute endValidTime 00296 00297 00298 00299 00300 00305 ArrayTime getEndValidTime() const; 00306 00307 00308 00309 00317 void setEndValidTime (ArrayTime endValidTime); 00318 00319 00320 00321 00322 00323 00324 00325 // ===> Attribute positionOffset 00326 00327 00328 00329 00330 00335 vector<Length > getPositionOffset() const; 00336 00337 00338 00339 00347 void setPositionOffset (vector<Length > positionOffset); 00348 00349 00350 00351 00352 00353 00354 00355 // ===> Attribute positionErr 00356 00357 00358 00359 00360 00365 vector<Length > getPositionErr() const; 00366 00367 00368 00369 00377 void setPositionErr (vector<Length > positionErr); 00378 00379 00380 00381 00382 00383 00384 00385 // ===> Attribute delayRms 00386 00387 00388 00389 00390 00395 Interval getDelayRms() const; 00396 00397 00398 00399 00407 void setDelayRms (Interval delayRms); 00408 00409 00410 00411 00412 00413 00414 00415 // ===> Attribute phaseRms 00416 00417 00418 00419 00420 00425 Angle getPhaseRms() const; 00426 00427 00428 00429 00437 void setPhaseRms (Angle phaseRms); 00438 00439 00440 00441 00442 00443 00444 00445 // ===> Attribute axesOffset 00446 00447 00448 00449 00450 00455 Length getAxesOffset() const; 00456 00457 00458 00459 00467 void setAxesOffset (Length axesOffset); 00468 00469 00470 00471 00472 00473 00474 00475 // ===> Attribute axesOffsetFixed 00476 00477 00478 00479 00480 00485 bool getAxesOffsetFixed() const; 00486 00487 00488 00489 00497 void setAxesOffsetFixed (bool axesOffsetFixed); 00498 00499 00500 00501 00502 00503 00504 00505 // ===> Attribute axesOffsetErr 00506 00507 00508 00509 00510 00515 Length getAxesOffsetErr() const; 00516 00517 00518 00519 00527 void setAxesOffsetErr (Length axesOffsetErr); 00528 00529 00530 00531 00532 00533 00534 00535 // ===> Attribute positionMethod 00536 00537 00538 00539 00540 00545 PositionMethodMod::PositionMethod getPositionMethod() const; 00546 00547 00548 00549 00557 void setPositionMethod (PositionMethodMod::PositionMethod positionMethod); 00558 00559 00560 00561 00562 00563 00564 00565 // ===> Attribute refAntennaNames 00566 00567 00568 00569 00570 00575 vector<string > getRefAntennaNames() const; 00576 00577 00578 00579 00587 void setRefAntennaNames (vector<string > refAntennaNames); 00588 00589 00590 00591 00592 00593 00594 00595 // ===> Attribute stationName 00596 00597 00598 00599 00600 00605 string getStationName() const; 00606 00607 00608 00609 00617 void setStationName (string stationName); 00618 00619 00620 00621 00622 00623 00624 00625 // ===> Attribute antennaPosition 00626 00627 00628 00629 00630 00635 vector<Length > getAntennaPosition() const; 00636 00637 00638 00639 00647 void setAntennaPosition (vector<Length > antennaPosition); 00648 00649 00650 00651 00652 00653 00654 00655 // ===> Attribute stationPosition 00656 00657 00658 00659 00660 00665 vector<Length > getStationPosition() const; 00666 00667 00668 00669 00677 void setStationPosition (vector<Length > stationPosition); 00678 00679 00680 00681 00682 00683 00685 // Extrinsic Table Attributes // 00687 00688 00689 // ===> Attribute calDataId 00690 00691 00692 00693 00694 00699 Tag getCalDataId() const; 00700 00701 00702 00703 00713 void setCalDataId (Tag calDataId); 00714 00715 00716 00717 00718 00719 00720 00721 // ===> Attribute calReductionId 00722 00723 00724 00725 00726 00731 Tag getCalReductionId() const; 00732 00733 00734 00735 00745 void setCalReductionId (Tag calReductionId); 00746 00747 00748 00749 00750 00751 00753 // Links // 00755 00756 00757 00758 00759 00766 CalReductionRow* getCalReductionUsingCalReductionId(); 00767 00768 00769 00770 00771 00772 00773 00774 00781 CalDataRow* getCalDataUsingCalDataId(); 00782 00783 00784 00785 00786 00787 00788 00793 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, int numAntenna, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > positionOffset, vector<Length > positionErr, Interval delayRms, Angle phaseRms, Length axesOffset, bool axesOffsetFixed, Length axesOffsetErr, PositionMethodMod::PositionMethod positionMethod, vector<string > refAntennaNames, string stationName, vector<Length > antennaPosition, vector<Length > stationPosition); 00794 00795 00796 00797 00798 bool compareRequiredValue(int numAntenna, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > positionOffset, vector<Length > positionErr, Interval delayRms, Angle phaseRms, Length axesOffset, bool axesOffsetFixed, Length axesOffsetErr, PositionMethodMod::PositionMethod positionMethod, vector<string > refAntennaNames, string stationName, vector<Length > antennaPosition, vector<Length > stationPosition); 00799 00800 00809 bool equalByRequiredValue(CalPositionRow* x) ; 00810 00811 private: 00815 CalPositionTable &table; 00819 bool hasBeenAdded; 00820 00821 // This method is used by the Table class when this row is added to the table. 00822 void isAdded(); 00823 00824 00833 CalPositionRow (CalPositionTable &table); 00834 00852 CalPositionRow (CalPositionTable &table, CalPositionRow &row); 00853 00855 // Intrinsic Table Attributes // 00857 00858 00859 // ===> Attribute antennaName 00860 00861 00862 00863 string antennaName; 00864 00865 00866 00867 00868 00869 00870 // ===> Attribute numAntenna 00871 00872 00873 00874 int numAntenna; 00875 00876 00877 00878 00879 00880 00881 // ===> Attribute startValidTime 00882 00883 00884 00885 ArrayTime startValidTime; 00886 00887 00888 00889 00890 00891 00892 // ===> Attribute endValidTime 00893 00894 00895 00896 ArrayTime endValidTime; 00897 00898 00899 00900 00901 00902 00903 // ===> Attribute positionOffset 00904 00905 00906 00907 vector<Length > positionOffset; 00908 00909 00910 00911 00912 00913 00914 // ===> Attribute positionErr 00915 00916 00917 00918 vector<Length > positionErr; 00919 00920 00921 00922 00923 00924 00925 // ===> Attribute delayRms 00926 00927 00928 00929 Interval delayRms; 00930 00931 00932 00933 00934 00935 00936 // ===> Attribute phaseRms 00937 00938 00939 00940 Angle phaseRms; 00941 00942 00943 00944 00945 00946 00947 // ===> Attribute axesOffset 00948 00949 00950 00951 Length axesOffset; 00952 00953 00954 00955 00956 00957 00958 // ===> Attribute axesOffsetFixed 00959 00960 00961 00962 bool axesOffsetFixed; 00963 00964 00965 00966 00967 00968 00969 // ===> Attribute axesOffsetErr 00970 00971 00972 00973 Length axesOffsetErr; 00974 00975 00976 00977 00978 00979 00980 // ===> Attribute positionMethod 00981 00982 00983 00984 PositionMethodMod::PositionMethod positionMethod; 00985 00986 00987 00988 00989 00990 00991 // ===> Attribute refAntennaNames 00992 00993 00994 00995 vector<string > refAntennaNames; 00996 00997 00998 00999 01000 01001 01002 // ===> Attribute stationName 01003 01004 01005 01006 string stationName; 01007 01008 01009 01010 01011 01012 01013 // ===> Attribute antennaPosition 01014 01015 01016 01017 vector<Length > antennaPosition; 01018 01019 01020 01021 01022 01023 01024 // ===> Attribute stationPosition 01025 01026 01027 01028 vector<Length > stationPosition; 01029 01030 01031 01032 01033 01035 // Extrinsic Table Attributes // 01037 01038 01039 // ===> Attribute calDataId 01040 01041 01042 01043 Tag calDataId; 01044 01045 01046 01047 01048 01049 01050 // ===> Attribute calReductionId 01051 01052 01053 01054 Tag calReductionId; 01055 01056 01057 01058 01059 01061 // Links // 01063 01064 01065 01066 01067 01068 01069 01070 01071 01072 01073 01074 01075 01076 01077 01078 01079 }; 01080 01081 } // End namespace asdm 01082 01083 #endif /* CalPosition_CLASS */

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