CalCurveRow.h

Go to the documentation of this file.
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 "ALMA-5_1_1-B"
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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) throw(IllegalAccessException);
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         
00750         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00751                 
00752         
00753         
00754         
00755 
00756 
00757         
00758         // ===> Attribute calReductionId
00759         
00760         
00761         
00762 
00763         
00768         Tag getCalReductionId() const;
00769         
00770  
00771         
00772         
00780         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00781                 
00782         
00783         
00784         
00785 
00786 
00788         // Links //
00790         
00791         
00792 
00793         
00794                 
00801          CalDataRow* getCalDataUsingCalDataId();
00802          
00803 
00804         
00805 
00806         
00807 
00808         
00809                 
00816          CalReductionRow* getCalReductionUsingCalReductionId();
00817          
00818 
00819         
00820 
00821         
00822         
00823         
00828         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);
00829         
00830         
00831 
00832         
00833         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); 
00834                  
00835         
00844         bool equalByRequiredValue(CalCurveRow* x) ;
00845 
00846 private:
00850         CalCurveTable &table;
00854         bool hasBeenAdded;
00855 
00856         // This method is used by the Table class when this row is added to the table.
00857         void isAdded();
00858 
00859 
00868         CalCurveRow (CalCurveTable &table);
00869 
00887          CalCurveRow (CalCurveTable &table, CalCurveRow &row);
00888                 
00890         // Intrinsic Table Attributes //
00892         
00893         
00894         // ===> Attribute numAntenna
00895         
00896         
00897 
00898         int numAntenna;
00899 
00900         
00901         
00902         
00903 
00904         
00905         // ===> Attribute numBaseline
00906         
00907         
00908 
00909         int numBaseline;
00910 
00911         
00912         
00913         
00914 
00915         
00916         // ===> Attribute numAPC
00917         
00918         
00919 
00920         int numAPC;
00921 
00922         
00923         
00924         
00925 
00926         
00927         // ===> Attribute numReceptor
00928         
00929         
00930 
00931         int numReceptor;
00932 
00933         
00934         
00935         
00936 
00937         
00938         // ===> Attribute numPoly
00939         
00940         
00941 
00942         int numPoly;
00943 
00944         
00945         
00946         
00947 
00948         
00949         // ===> Attribute antennaNames
00950         
00951         
00952 
00953         vector<string > antennaNames;
00954 
00955         
00956         
00957         
00958 
00959         
00960         // ===> Attribute refAntennaName
00961         
00962         
00963 
00964         string refAntennaName;
00965 
00966         
00967         
00968         
00969 
00970         
00971         // ===> Attribute receiverBand
00972         
00973         
00974 
00975         ReceiverBandMod::ReceiverBand receiverBand;
00976 
00977         
00978         
00979         
00980 
00981         
00982         // ===> Attribute atmPhaseCorrections
00983         
00984         
00985 
00986         vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections;
00987 
00988         
00989         
00990         
00991 
00992         
00993         // ===> Attribute polarizationTypes
00994         
00995         
00996 
00997         vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
00998 
00999         
01000         
01001         
01002 
01003         
01004         // ===> Attribute startValidTime
01005         
01006         
01007 
01008         ArrayTime startValidTime;
01009 
01010         
01011         
01012         
01013 
01014         
01015         // ===> Attribute endValidTime
01016         
01017         
01018 
01019         ArrayTime endValidTime;
01020 
01021         
01022         
01023         
01024 
01025         
01026         // ===> Attribute frequencyRange
01027         
01028         
01029 
01030         vector<Frequency > frequencyRange;
01031 
01032         
01033         
01034         
01035 
01036         
01037         // ===> Attribute typeCurve
01038         
01039         
01040 
01041         CalCurveTypeMod::CalCurveType typeCurve;
01042 
01043         
01044         
01045         
01046 
01047         
01048         // ===> Attribute timeOrigin
01049         
01050         
01051 
01052         ArrayTime timeOrigin;
01053 
01054         
01055         
01056         
01057 
01058         
01059         // ===> Attribute curve
01060         
01061         
01062 
01063         vector<vector<vector<vector<float > > > > curve;
01064 
01065         
01066         
01067         
01068 
01069         
01070         // ===> Attribute rms
01071         
01072         
01073 
01074         vector<vector<vector<float > > > rms;
01075 
01076         
01077         
01078         
01079 
01081         // Extrinsic Table Attributes //
01083         
01084         
01085         // ===> Attribute calDataId
01086         
01087         
01088 
01089         Tag calDataId;
01090 
01091         
01092         
01093         
01094 
01095         
01096         // ===> Attribute calReductionId
01097         
01098         
01099 
01100         Tag calReductionId;
01101 
01102         
01103         
01104         
01105 
01107         // Links //
01109         
01110         
01111                 
01112 
01113          
01114 
01115         
01116 
01117         
01118                 
01119 
01120          
01121 
01122         
01123 
01124 
01125 };
01126 
01127 } // End namespace asdm
01128 
01129 #endif /* CalCurve_CLASS */

Generated on Mon Sep 1 22:33:01 2008 for NRAOCASA by  doxygen 1.5.1