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.41", 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         
00240         void setAntennaName (string antennaName) throw(IllegalAccessException);
00241                 
00242         
00243         
00244         
00245 
00246 
00247         
00248         // ===> Attribute startValidTime
00249         
00250         
00251         
00252 
00253         
00258         ArrayTime getStartValidTime() const;
00259         
00260  
00261         
00262         
00268         void setStartValidTime (ArrayTime startValidTime);
00269                 
00270         
00271         
00272         
00273 
00274 
00275         
00276         // ===> Attribute endValidTime
00277         
00278         
00279         
00280 
00281         
00286         ArrayTime getEndValidTime() const;
00287         
00288  
00289         
00290         
00296         void setEndValidTime (ArrayTime endValidTime);
00297                 
00298         
00299         
00300         
00301 
00302 
00303         
00304         // ===> Attribute receiverBand
00305         
00306         
00307         
00308 
00309         
00314         ReceiverBand getReceiverBand() const;
00315         
00316  
00317         
00318         
00324         void setReceiverBand (ReceiverBand receiverBand);
00325                 
00326         
00327         
00328         
00329 
00330 
00331         
00332         // ===> Attribute frequencyRange
00333         
00334         
00335         
00336 
00337         
00342         vector<Frequency > getFrequencyRange() const;
00343         
00344  
00345         
00346         
00352         void setFrequencyRange (vector<Frequency > frequencyRange);
00353                 
00354         
00355         
00356         
00357 
00358 
00359         
00360         // ===> Attribute direction
00361         
00362         
00363         
00364 
00365         
00370         vector<Angle > getDirection() const;
00371         
00372  
00373         
00374         
00380         void setDirection (vector<Angle > direction);
00381                 
00382         
00383         
00384         
00385 
00386 
00387         
00388         // ===> Attribute collOffsetRelative
00389         
00390         
00391         
00392 
00393         
00398         vector<Angle > getCollOffsetRelative() const;
00399         
00400  
00401         
00402         
00408         void setCollOffsetRelative (vector<Angle > collOffsetRelative);
00409                 
00410         
00411         
00412         
00413 
00414 
00415         
00416         // ===> Attribute collOffsetAbsolute
00417         
00418         
00419         
00420 
00421         
00426         vector<Angle > getCollOffsetAbsolute() const;
00427         
00428  
00429         
00430         
00436         void setCollOffsetAbsolute (vector<Angle > collOffsetAbsolute);
00437                 
00438         
00439         
00440         
00441 
00442 
00443         
00444         // ===> Attribute collError
00445         
00446         
00447         
00448 
00449         
00454         vector<Angle > getCollError() const;
00455         
00456  
00457         
00458         
00464         void setCollError (vector<Angle > collError);
00465                 
00466         
00467         
00468         
00469 
00470 
00471         
00472         // ===> Attribute pointingMethod
00473         
00474         
00475         
00476 
00477         
00482         PointingMethod getPointingMethod() const;
00483         
00484  
00485         
00486         
00492         void setPointingMethod (PointingMethod pointingMethod);
00493                 
00494         
00495         
00496         
00497 
00498 
00499         
00500         // ===> Attribute beamWidth, which is optional
00501         
00502         
00503         
00508         bool isBeamWidthExists() const;
00509         
00510 
00511         
00517         vector<Angle > getBeamWidth() const throw(IllegalAccessException);
00518         
00519  
00520         
00521         
00527         void setBeamWidth (vector<Angle > beamWidth);
00528                 
00529         
00530         
00531         
00535         void clearBeamWidth ();
00536         
00537 
00538 
00539         
00540         // ===> Attribute beamWidthError, which is optional
00541         
00542         
00543         
00548         bool isBeamWidthErrorExists() const;
00549         
00550 
00551         
00557         vector<Angle > getBeamWidthError() const throw(IllegalAccessException);
00558         
00559  
00560         
00561         
00567         void setBeamWidthError (vector<Angle > beamWidthError);
00568                 
00569         
00570         
00571         
00575         void clearBeamWidthError ();
00576         
00577 
00578 
00579         
00580         // ===> Attribute beamPA, which is optional
00581         
00582         
00583         
00588         bool isBeamPAExists() const;
00589         
00590 
00591         
00597         Angle getBeamPA() const throw(IllegalAccessException);
00598         
00599  
00600         
00601         
00607         void setBeamPA (Angle beamPA);
00608                 
00609         
00610         
00611         
00615         void clearBeamPA ();
00616         
00617 
00618 
00619         
00620         // ===> Attribute beamPAError, which is optional
00621         
00622         
00623         
00628         bool isBeamPAErrorExists() const;
00629         
00630 
00631         
00637         Angle getBeamPAError() const throw(IllegalAccessException);
00638         
00639  
00640         
00641         
00647         void setBeamPAError (Angle beamPAError);
00648                 
00649         
00650         
00651         
00655         void clearBeamPAError ();
00656         
00657 
00658 
00659         
00660         // ===> Attribute peakIntensity, which is optional
00661         
00662         
00663         
00668         bool isPeakIntensityExists() const;
00669         
00670 
00671         
00677         Temperature getPeakIntensity() const throw(IllegalAccessException);
00678         
00679  
00680         
00681         
00687         void setPeakIntensity (Temperature peakIntensity);
00688                 
00689         
00690         
00691         
00695         void clearPeakIntensity ();
00696         
00697 
00698 
00699         
00700         // ===> Attribute peakIntensityError, which is optional
00701         
00702         
00703         
00708         bool isPeakIntensityErrorExists() const;
00709         
00710 
00711         
00717         Temperature getPeakIntensityError() const throw(IllegalAccessException);
00718         
00719  
00720         
00721         
00727         void setPeakIntensityError (Temperature peakIntensityError);
00728                 
00729         
00730         
00731         
00735         void clearPeakIntensityError ();
00736         
00737 
00738 
00739         
00740         // ===> Attribute mode
00741         
00742         
00743         
00744 
00745         
00750         PointingModelMode getMode() const;
00751         
00752  
00753         
00754         
00760         void setMode (PointingModelMode mode);
00761                 
00762         
00763         
00764         
00765 
00766 
00767         
00768         // ===> Attribute beamWidthWasFixed, which is optional
00769         
00770         
00771         
00776         bool isBeamWidthWasFixedExists() const;
00777         
00778 
00779         
00785         vector<bool > getBeamWidthWasFixed() const throw(IllegalAccessException);
00786         
00787  
00788         
00789         
00795         void setBeamWidthWasFixed (vector<bool > beamWidthWasFixed);
00796                 
00797         
00798         
00799         
00803         void clearBeamWidthWasFixed ();
00804         
00805 
00806 
00807         
00808         // ===> Attribute beamPAWasFixed, which is optional
00809         
00810         
00811         
00816         bool isBeamPAWasFixedExists() const;
00817         
00818 
00819         
00825         bool getBeamPAWasFixed() const throw(IllegalAccessException);
00826         
00827  
00828         
00829         
00835         void setBeamPAWasFixed (bool beamPAWasFixed);
00836                 
00837         
00838         
00839         
00843         void clearBeamPAWasFixed ();
00844         
00845 
00846 
00847         
00848         // ===> Attribute peakIntensityWasFixed, which is optional
00849         
00850         
00851         
00856         bool isPeakIntensityWasFixedExists() const;
00857         
00858 
00859         
00865         bool getPeakIntensityWasFixed() const throw(IllegalAccessException);
00866         
00867  
00868         
00869         
00875         void setPeakIntensityWasFixed (bool peakIntensityWasFixed);
00876                 
00877         
00878         
00879         
00883         void clearPeakIntensityWasFixed ();
00884         
00885 
00886 
00887         
00888         // ===> Attribute ambientTemperature
00889         
00890         
00891         
00892 
00893         
00898         Temperature getAmbientTemperature() const;
00899         
00900  
00901         
00902         
00908         void setAmbientTemperature (Temperature ambientTemperature);
00909                 
00910         
00911         
00912         
00913 
00914 
00916         // Extrinsic Table Attributes //
00918         
00919         
00920         // ===> Attribute calDataId
00921         
00922         
00923         
00924 
00925         
00930         Tag getCalDataId() const;
00931         
00932  
00933         
00934         
00941         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00942                 
00943         
00944         
00945         
00946 
00947 
00948         
00949         // ===> Attribute calReductionId
00950         
00951         
00952         
00953 
00954         
00959         Tag getCalReductionId() const;
00960         
00961  
00962         
00963         
00970         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00971                 
00972         
00973         
00974         
00975 
00976 
00978         // Links //
00980         
00981         
00982 
00983         
00984                 
00991          CalDataRow* getCalDataUsingCalDataId();
00992          
00993 
00994         
00995 
00996         
00997 
00998         
00999                 
01006          CalReductionRow* getCalReductionUsingCalReductionId();
01007          
01008 
01009         
01010 
01011         
01012         
01013         
01018         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBand receiverBand, vector<Frequency > frequencyRange, vector<Angle > direction, vector<Angle > collOffsetRelative, vector<Angle > collOffsetAbsolute, vector<Angle > collError, PointingMethod pointingMethod, PointingModelMode mode, Temperature ambientTemperature);
01019         
01020         
01021 
01022         
01023         bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBand receiverBand, vector<Frequency > frequencyRange, vector<Angle > direction, vector<Angle > collOffsetRelative, vector<Angle > collOffsetAbsolute, vector<Angle > collError, PointingMethod pointingMethod, PointingModelMode mode, Temperature ambientTemperature); 
01024                  
01025         
01034         bool equalByRequiredValue(CalPointingRow* x) ;
01035 
01036 private:
01040         CalPointingTable &table;
01044         bool hasBeenAdded;
01045 
01046         // This method is used by the Table class when this row is added to the table.
01047         void isAdded();
01048 
01049 
01058         CalPointingRow (CalPointingTable &table);
01059 
01077          CalPointingRow (CalPointingTable &table, CalPointingRow &row);
01078                 
01080         // Intrinsic Table Attributes //
01082         
01083         
01084         // ===> Attribute antennaName
01085         
01086         
01087 
01088         string antennaName;
01089 
01090         
01091         
01092         
01093 
01094         
01095         // ===> Attribute startValidTime
01096         
01097         
01098 
01099         ArrayTime startValidTime;
01100 
01101         
01102         
01103         
01104 
01105         
01106         // ===> Attribute endValidTime
01107         
01108         
01109 
01110         ArrayTime endValidTime;
01111 
01112         
01113         
01114         
01115 
01116         
01117         // ===> Attribute receiverBand
01118         
01119         
01120 
01121         ReceiverBand receiverBand;
01122 
01123         
01124         
01125         
01126 
01127         
01128         // ===> Attribute frequencyRange
01129         
01130         
01131 
01132         vector<Frequency > frequencyRange;
01133 
01134         
01135         
01136         
01137 
01138         
01139         // ===> Attribute direction
01140         
01141         
01142 
01143         vector<Angle > direction;
01144 
01145         
01146         
01147         
01148 
01149         
01150         // ===> Attribute collOffsetRelative
01151         
01152         
01153 
01154         vector<Angle > collOffsetRelative;
01155 
01156         
01157         
01158         
01159 
01160         
01161         // ===> Attribute collOffsetAbsolute
01162         
01163         
01164 
01165         vector<Angle > collOffsetAbsolute;
01166 
01167         
01168         
01169         
01170 
01171         
01172         // ===> Attribute collError
01173         
01174         
01175 
01176         vector<Angle > collError;
01177 
01178         
01179         
01180         
01181 
01182         
01183         // ===> Attribute pointingMethod
01184         
01185         
01186 
01187         PointingMethod pointingMethod;
01188 
01189         
01190         
01191         
01192 
01193         
01194         // ===> Attribute beamWidth, which is optional
01195         
01196         
01197         bool beamWidthExists;
01198         
01199 
01200         vector<Angle > beamWidth;
01201 
01202         
01203         
01204         
01205 
01206         
01207         // ===> Attribute beamWidthError, which is optional
01208         
01209         
01210         bool beamWidthErrorExists;
01211         
01212 
01213         vector<Angle > beamWidthError;
01214 
01215         
01216         
01217         
01218 
01219         
01220         // ===> Attribute beamPA, which is optional
01221         
01222         
01223         bool beamPAExists;
01224         
01225 
01226         Angle beamPA;
01227 
01228         
01229         
01230         
01231 
01232         
01233         // ===> Attribute beamPAError, which is optional
01234         
01235         
01236         bool beamPAErrorExists;
01237         
01238 
01239         Angle beamPAError;
01240 
01241         
01242         
01243         
01244 
01245         
01246         // ===> Attribute peakIntensity, which is optional
01247         
01248         
01249         bool peakIntensityExists;
01250         
01251 
01252         Temperature peakIntensity;
01253 
01254         
01255         
01256         
01257 
01258         
01259         // ===> Attribute peakIntensityError, which is optional
01260         
01261         
01262         bool peakIntensityErrorExists;
01263         
01264 
01265         Temperature peakIntensityError;
01266 
01267         
01268         
01269         
01270 
01271         
01272         // ===> Attribute mode
01273         
01274         
01275 
01276         PointingModelMode mode;
01277 
01278         
01279         
01280         
01281 
01282         
01283         // ===> Attribute beamWidthWasFixed, which is optional
01284         
01285         
01286         bool beamWidthWasFixedExists;
01287         
01288 
01289         vector<bool > beamWidthWasFixed;
01290 
01291         
01292         
01293         
01294 
01295         
01296         // ===> Attribute beamPAWasFixed, which is optional
01297         
01298         
01299         bool beamPAWasFixedExists;
01300         
01301 
01302         bool beamPAWasFixed;
01303 
01304         
01305         
01306         
01307 
01308         
01309         // ===> Attribute peakIntensityWasFixed, which is optional
01310         
01311         
01312         bool peakIntensityWasFixedExists;
01313         
01314 
01315         bool peakIntensityWasFixed;
01316 
01317         
01318         
01319         
01320 
01321         
01322         // ===> Attribute ambientTemperature
01323         
01324         
01325 
01326         Temperature ambientTemperature;
01327 
01328         
01329         
01330         
01331 
01333         // Extrinsic Table Attributes //
01335         
01336         
01337         // ===> Attribute calDataId
01338         
01339         
01340 
01341         Tag calDataId;
01342 
01343         
01344         
01345         
01346 
01347         
01348         // ===> Attribute calReductionId
01349         
01350         
01351 
01352         Tag calReductionId;
01353 
01354         
01355         
01356         
01357 
01359         // Links //
01361         
01362         
01363                 
01364 
01365          
01366 
01367         
01368 
01369         
01370                 
01371 
01372          
01373 
01374         
01375 
01376 
01377 };
01378 
01379 } // End namespace asdm
01380 
01381 #endif /* CalPointing_CLASS */

Generated on Thu Nov 29 16:46:46 2007 for ASDM C++ Implementation by  doxygen 1.5.1