CalPointingRow.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 CalPointingRow.h 00032 */ 00033 00034 #ifndef CalPointingRow_CLASS 00035 #define CalPointingRow_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::CalPointingRowIDL; 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 #include "CReceiverBand.h" 00086 using namespace ReceiverBandMod; 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 #include "CPointingMethod.h" 00101 using namespace PointingMethodMod; 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 #include "CPointingModelMode.h" 00118 using namespace PointingModelModeMod; 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 using asdm::Angle; 00132 using asdm::AngularRate; 00133 using asdm::ArrayTime; 00134 using asdm::Complex; 00135 using asdm::Entity; 00136 using asdm::EntityId; 00137 using asdm::EntityRef; 00138 using asdm::Flux; 00139 using asdm::Frequency; 00140 using asdm::Humidity; 00141 using asdm::Interval; 00142 using asdm::Length; 00143 using asdm::Pressure; 00144 using asdm::Speed; 00145 using asdm::Tag; 00146 using asdm::Temperature; 00147 using asdm::ConversionException; 00148 using asdm::NoSuchRow; 00149 using asdm::IllegalAccessException; 00150 00151 /*\file CalPointing.h 00152 \brief Generated from model's revision "1.46", branch "HEAD" 00153 */ 00154 00155 namespace asdm { 00156 00157 //class asdm::CalPointingTable; 00158 00159 00160 // class asdm::CalDataRow; 00161 class CalDataRow; 00162 00163 // class asdm::CalReductionRow; 00164 class CalReductionRow; 00165 00166 00173 class CalPointingRow { 00174 friend class asdm::CalPointingTable; 00175 00176 public: 00177 00178 virtual ~CalPointingRow(); 00179 00183 CalPointingTable &getTable() const; 00184 00185 #ifndef WITHOUT_ACS 00186 00190 CalPointingRowIDL *toIDL() const; 00191 #endif 00192 00193 #ifndef WITHOUT_ACS 00194 00198 void setFromIDL (CalPointingRowIDL x) throw(ConversionException); 00199 #endif 00200 00205 string toXML() const; 00206 00212 void setFromXML (string rowDoc) throw(ConversionException); 00213 00215 // Intrinsic Table Attributes // 00217 00218 00219 // ===> Attribute antennaName 00220 00221 00222 00223 00224 00229 string getAntennaName() const; 00230 00231 00232 00233 00243 void setAntennaName (string antennaName); 00244 00245 00246 00247 00248 00249 00250 00251 // ===> Attribute startValidTime 00252 00253 00254 00255 00256 00261 ArrayTime getStartValidTime() const; 00262 00263 00264 00265 00273 void setStartValidTime (ArrayTime startValidTime); 00274 00275 00276 00277 00278 00279 00280 00281 // ===> Attribute endValidTime 00282 00283 00284 00285 00286 00291 ArrayTime getEndValidTime() const; 00292 00293 00294 00295 00303 void setEndValidTime (ArrayTime endValidTime); 00304 00305 00306 00307 00308 00309 00310 00311 // ===> Attribute receiverBand 00312 00313 00314 00315 00316 00321 ReceiverBandMod::ReceiverBand getReceiverBand() const; 00322 00323 00324 00325 00333 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand); 00334 00335 00336 00337 00338 00339 00340 00341 // ===> Attribute frequencyRange 00342 00343 00344 00345 00346 00351 vector<Frequency > getFrequencyRange() const; 00352 00353 00354 00355 00363 void setFrequencyRange (vector<Frequency > frequencyRange); 00364 00365 00366 00367 00368 00369 00370 00371 // ===> Attribute direction 00372 00373 00374 00375 00376 00381 vector<Angle > getDirection() const; 00382 00383 00384 00385 00393 void setDirection (vector<Angle > direction); 00394 00395 00396 00397 00398 00399 00400 00401 // ===> Attribute collOffsetRelative 00402 00403 00404 00405 00406 00411 vector<Angle > getCollOffsetRelative() const; 00412 00413 00414 00415 00423 void setCollOffsetRelative (vector<Angle > collOffsetRelative); 00424 00425 00426 00427 00428 00429 00430 00431 // ===> Attribute collOffsetAbsolute 00432 00433 00434 00435 00436 00441 vector<Angle > getCollOffsetAbsolute() const; 00442 00443 00444 00445 00453 void setCollOffsetAbsolute (vector<Angle > collOffsetAbsolute); 00454 00455 00456 00457 00458 00459 00460 00461 // ===> Attribute collError 00462 00463 00464 00465 00466 00471 vector<Angle > getCollError() const; 00472 00473 00474 00475 00483 void setCollError (vector<Angle > collError); 00484 00485 00486 00487 00488 00489 00490 00491 // ===> Attribute pointingMethod 00492 00493 00494 00495 00496 00501 PointingMethodMod::PointingMethod getPointingMethod() const; 00502 00503 00504 00505 00513 void setPointingMethod (PointingMethodMod::PointingMethod pointingMethod); 00514 00515 00516 00517 00518 00519 00520 00521 // ===> Attribute beamWidth, which is optional 00522 00523 00524 00529 bool isBeamWidthExists() const; 00530 00531 00532 00538 vector<Angle > getBeamWidth() const throw(IllegalAccessException); 00539 00540 00541 00542 00549 void setBeamWidth (vector<Angle > beamWidth); 00550 00551 00552 00553 00557 void clearBeamWidth (); 00558 00559 00560 00561 00562 // ===> Attribute beamWidthError, which is optional 00563 00564 00565 00570 bool isBeamWidthErrorExists() const; 00571 00572 00573 00579 vector<Angle > getBeamWidthError() const throw(IllegalAccessException); 00580 00581 00582 00583 00590 void setBeamWidthError (vector<Angle > beamWidthError); 00591 00592 00593 00594 00598 void clearBeamWidthError (); 00599 00600 00601 00602 00603 // ===> Attribute beamPA, which is optional 00604 00605 00606 00611 bool isBeamPAExists() const; 00612 00613 00614 00620 Angle getBeamPA() const throw(IllegalAccessException); 00621 00622 00623 00624 00631 void setBeamPA (Angle beamPA); 00632 00633 00634 00635 00639 void clearBeamPA (); 00640 00641 00642 00643 00644 // ===> Attribute beamPAError, which is optional 00645 00646 00647 00652 bool isBeamPAErrorExists() const; 00653 00654 00655 00661 Angle getBeamPAError() const throw(IllegalAccessException); 00662 00663 00664 00665 00672 void setBeamPAError (Angle beamPAError); 00673 00674 00675 00676 00680 void clearBeamPAError (); 00681 00682 00683 00684 00685 // ===> Attribute peakIntensity, which is optional 00686 00687 00688 00693 bool isPeakIntensityExists() const; 00694 00695 00696 00702 Temperature getPeakIntensity() const throw(IllegalAccessException); 00703 00704 00705 00706 00713 void setPeakIntensity (Temperature peakIntensity); 00714 00715 00716 00717 00721 void clearPeakIntensity (); 00722 00723 00724 00725 00726 // ===> Attribute peakIntensityError, which is optional 00727 00728 00729 00734 bool isPeakIntensityErrorExists() const; 00735 00736 00737 00743 Temperature getPeakIntensityError() const throw(IllegalAccessException); 00744 00745 00746 00747 00754 void setPeakIntensityError (Temperature peakIntensityError); 00755 00756 00757 00758 00762 void clearPeakIntensityError (); 00763 00764 00765 00766 00767 // ===> Attribute mode 00768 00769 00770 00771 00772 00777 PointingModelModeMod::PointingModelMode getMode() const; 00778 00779 00780 00781 00789 void setMode (PointingModelModeMod::PointingModelMode mode); 00790 00791 00792 00793 00794 00795 00796 00797 // ===> Attribute beamWidthWasFixed, which is optional 00798 00799 00800 00805 bool isBeamWidthWasFixedExists() const; 00806 00807 00808 00814 vector<bool > getBeamWidthWasFixed() const throw(IllegalAccessException); 00815 00816 00817 00818 00825 void setBeamWidthWasFixed (vector<bool > beamWidthWasFixed); 00826 00827 00828 00829 00833 void clearBeamWidthWasFixed (); 00834 00835 00836 00837 00838 // ===> Attribute beamPAWasFixed, which is optional 00839 00840 00841 00846 bool isBeamPAWasFixedExists() const; 00847 00848 00849 00855 bool getBeamPAWasFixed() const throw(IllegalAccessException); 00856 00857 00858 00859 00866 void setBeamPAWasFixed (bool beamPAWasFixed); 00867 00868 00869 00870 00874 void clearBeamPAWasFixed (); 00875 00876 00877 00878 00879 // ===> Attribute peakIntensityWasFixed, which is optional 00880 00881 00882 00887 bool isPeakIntensityWasFixedExists() const; 00888 00889 00890 00896 bool getPeakIntensityWasFixed() const throw(IllegalAccessException); 00897 00898 00899 00900 00907 void setPeakIntensityWasFixed (bool peakIntensityWasFixed); 00908 00909 00910 00911 00915 void clearPeakIntensityWasFixed (); 00916 00917 00918 00919 00920 // ===> Attribute ambientTemperature 00921 00922 00923 00924 00925 00930 Temperature getAmbientTemperature() const; 00931 00932 00933 00934 00942 void setAmbientTemperature (Temperature ambientTemperature); 00943 00944 00945 00946 00947 00948 00950 // Extrinsic Table Attributes // 00952 00953 00954 // ===> Attribute calDataId 00955 00956 00957 00958 00959 00964 Tag getCalDataId() const; 00965 00966 00967 00968 00978 void setCalDataId (Tag calDataId); 00979 00980 00981 00982 00983 00984 00985 00986 // ===> Attribute calReductionId 00987 00988 00989 00990 00991 00996 Tag getCalReductionId() const; 00997 00998 00999 01000 01010 void setCalReductionId (Tag calReductionId); 01011 01012 01013 01014 01015 01016 01018 // Links // 01020 01021 01022 01023 01024 01031 CalDataRow* getCalDataUsingCalDataId(); 01032 01033 01034 01035 01036 01037 01038 01039 01046 CalReductionRow* getCalReductionUsingCalReductionId(); 01047 01048 01049 01050 01051 01052 01053 01058 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBandMod::ReceiverBand receiverBand, vector<Frequency > frequencyRange, vector<Angle > direction, vector<Angle > collOffsetRelative, vector<Angle > collOffsetAbsolute, vector<Angle > collError, PointingMethodMod::PointingMethod pointingMethod, PointingModelModeMod::PointingModelMode mode, Temperature ambientTemperature); 01059 01060 01061 01062 01063 bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBandMod::ReceiverBand receiverBand, vector<Frequency > frequencyRange, vector<Angle > direction, vector<Angle > collOffsetRelative, vector<Angle > collOffsetAbsolute, vector<Angle > collError, PointingMethodMod::PointingMethod pointingMethod, PointingModelModeMod::PointingModelMode mode, Temperature ambientTemperature); 01064 01065 01074 bool equalByRequiredValue(CalPointingRow* x) ; 01075 01076 private: 01080 CalPointingTable &table; 01084 bool hasBeenAdded; 01085 01086 // This method is used by the Table class when this row is added to the table. 01087 void isAdded(); 01088 01089 01098 CalPointingRow (CalPointingTable &table); 01099 01117 CalPointingRow (CalPointingTable &table, CalPointingRow &row); 01118 01120 // Intrinsic Table Attributes // 01122 01123 01124 // ===> Attribute antennaName 01125 01126 01127 01128 string antennaName; 01129 01130 01131 01132 01133 01134 01135 // ===> Attribute startValidTime 01136 01137 01138 01139 ArrayTime startValidTime; 01140 01141 01142 01143 01144 01145 01146 // ===> Attribute endValidTime 01147 01148 01149 01150 ArrayTime endValidTime; 01151 01152 01153 01154 01155 01156 01157 // ===> Attribute receiverBand 01158 01159 01160 01161 ReceiverBandMod::ReceiverBand receiverBand; 01162 01163 01164 01165 01166 01167 01168 // ===> Attribute frequencyRange 01169 01170 01171 01172 vector<Frequency > frequencyRange; 01173 01174 01175 01176 01177 01178 01179 // ===> Attribute direction 01180 01181 01182 01183 vector<Angle > direction; 01184 01185 01186 01187 01188 01189 01190 // ===> Attribute collOffsetRelative 01191 01192 01193 01194 vector<Angle > collOffsetRelative; 01195 01196 01197 01198 01199 01200 01201 // ===> Attribute collOffsetAbsolute 01202 01203 01204 01205 vector<Angle > collOffsetAbsolute; 01206 01207 01208 01209 01210 01211 01212 // ===> Attribute collError 01213 01214 01215 01216 vector<Angle > collError; 01217 01218 01219 01220 01221 01222 01223 // ===> Attribute pointingMethod 01224 01225 01226 01227 PointingMethodMod::PointingMethod pointingMethod; 01228 01229 01230 01231 01232 01233 01234 // ===> Attribute beamWidth, which is optional 01235 01236 01237 bool beamWidthExists; 01238 01239 01240 vector<Angle > beamWidth; 01241 01242 01243 01244 01245 01246 01247 // ===> Attribute beamWidthError, which is optional 01248 01249 01250 bool beamWidthErrorExists; 01251 01252 01253 vector<Angle > beamWidthError; 01254 01255 01256 01257 01258 01259 01260 // ===> Attribute beamPA, which is optional 01261 01262 01263 bool beamPAExists; 01264 01265 01266 Angle beamPA; 01267 01268 01269 01270 01271 01272 01273 // ===> Attribute beamPAError, which is optional 01274 01275 01276 bool beamPAErrorExists; 01277 01278 01279 Angle beamPAError; 01280 01281 01282 01283 01284 01285 01286 // ===> Attribute peakIntensity, which is optional 01287 01288 01289 bool peakIntensityExists; 01290 01291 01292 Temperature peakIntensity; 01293 01294 01295 01296 01297 01298 01299 // ===> Attribute peakIntensityError, which is optional 01300 01301 01302 bool peakIntensityErrorExists; 01303 01304 01305 Temperature peakIntensityError; 01306 01307 01308 01309 01310 01311 01312 // ===> Attribute mode 01313 01314 01315 01316 PointingModelModeMod::PointingModelMode mode; 01317 01318 01319 01320 01321 01322 01323 // ===> Attribute beamWidthWasFixed, which is optional 01324 01325 01326 bool beamWidthWasFixedExists; 01327 01328 01329 vector<bool > beamWidthWasFixed; 01330 01331 01332 01333 01334 01335 01336 // ===> Attribute beamPAWasFixed, which is optional 01337 01338 01339 bool beamPAWasFixedExists; 01340 01341 01342 bool beamPAWasFixed; 01343 01344 01345 01346 01347 01348 01349 // ===> Attribute peakIntensityWasFixed, which is optional 01350 01351 01352 bool peakIntensityWasFixedExists; 01353 01354 01355 bool peakIntensityWasFixed; 01356 01357 01358 01359 01360 01361 01362 // ===> Attribute ambientTemperature 01363 01364 01365 01366 Temperature ambientTemperature; 01367 01368 01369 01370 01371 01373 // Extrinsic Table Attributes // 01375 01376 01377 // ===> Attribute calDataId 01378 01379 01380 01381 Tag calDataId; 01382 01383 01384 01385 01386 01387 01388 // ===> Attribute calReductionId 01389 01390 01391 01392 Tag calReductionId; 01393 01394 01395 01396 01397 01399 // Links // 01401 01402 01403 01404 01405 01406 01407 01408 01409 01410 01411 01412 01413 01414 01415 01416 01417 }; 01418 01419 } // End namespace asdm 01420 01421 #endif /* CalPointing_CLASS */

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