CalPrimaryBeamRow.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 CalPrimaryBeamRow.h
00032  */
00033  
00034 #ifndef CalPrimaryBeamRow_CLASS
00035 #define CalPrimaryBeamRow_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::CalPrimaryBeamRowIDL;
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 #include "CAntennaMake.h"
00082 using namespace AntennaMakeMod;
00083         
00084 
00085         
00086 
00087         
00088 #include "CPolarizationType.h"
00089 using namespace PolarizationTypeMod;
00090         
00091 
00092         
00093 
00094         
00095 
00096         
00097 
00098         
00099 #include "CReceiverBand.h"
00100 using namespace ReceiverBandMod;
00101         
00102 
00103         
00104 
00105         
00106 
00107 
00108 
00109 using asdm::Angle;
00110 using asdm::AngularRate;
00111 using asdm::ArrayTime;
00112 using asdm::Complex;
00113 using asdm::Entity;
00114 using asdm::EntityId;
00115 using asdm::EntityRef;
00116 using asdm::Flux;
00117 using asdm::Frequency;
00118 using asdm::Humidity;
00119 using asdm::Interval;
00120 using asdm::Length;
00121 using asdm::Pressure;
00122 using asdm::Speed;
00123 using asdm::Tag;
00124 using asdm::Temperature;
00125 using asdm::ConversionException;
00126 using asdm::NoSuchRow;
00127 using asdm::IllegalAccessException;
00128 
00129 /*\file CalPrimaryBeam.h
00130     \brief Generated from model's revision "1.41", branch "HEAD"
00131 */
00132 
00133 namespace asdm {
00134 
00135 //class asdm::CalPrimaryBeamTable;
00136 
00137 
00138 // class asdm::CalReductionRow;
00139 class CalReductionRow;
00140 
00141 // class asdm::CalDataRow;
00142 class CalDataRow;
00143         
00144 
00151 class CalPrimaryBeamRow {
00152 friend class asdm::CalPrimaryBeamTable;
00153 
00154 public:
00155 
00156         virtual ~CalPrimaryBeamRow();
00157 
00161         CalPrimaryBeamTable &getTable() const;
00162         
00163 #ifndef WITHOUT_ACS
00164 
00168         CalPrimaryBeamRowIDL *toIDL() const;
00169 #endif
00170         
00171 #ifndef WITHOUT_ACS
00172 
00176         void setFromIDL (CalPrimaryBeamRowIDL x) throw(ConversionException);
00177 #endif
00178         
00183         string toXML() const;
00184 
00190         void setFromXML (string rowDoc) throw(ConversionException);
00191         
00193         // Intrinsic Table Attributes //
00195         
00196         
00197         // ===> Attribute antennaName
00198         
00199         
00200         
00201 
00202         
00207         string getAntennaName() const;
00208         
00209  
00210         
00211         
00218         void setAntennaName (string antennaName) throw(IllegalAccessException);
00219                 
00220         
00221         
00222         
00223 
00224 
00225         
00226         // ===> Attribute antennaMake
00227         
00228         
00229         
00230 
00231         
00236         AntennaMake getAntennaMake() const;
00237         
00238  
00239         
00240         
00246         void setAntennaMake (AntennaMake antennaMake);
00247                 
00248         
00249         
00250         
00251 
00252 
00253         
00254         // ===> Attribute numReceptor
00255         
00256         
00257         
00258 
00259         
00264         int getNumReceptor() const;
00265         
00266  
00267         
00268         
00274         void setNumReceptor (int numReceptor);
00275                 
00276         
00277         
00278         
00279 
00280 
00281         
00282         // ===> Attribute polarizationTypes
00283         
00284         
00285         
00286 
00287         
00292         vector<PolarizationType > getPolarizationTypes() const;
00293         
00294  
00295         
00296         
00302         void setPolarizationTypes (vector<PolarizationType > polarizationTypes);
00303                 
00304         
00305         
00306         
00307 
00308 
00309         
00310         // ===> Attribute startValidTime
00311         
00312         
00313         
00314 
00315         
00320         ArrayTime getStartValidTime() const;
00321         
00322  
00323         
00324         
00330         void setStartValidTime (ArrayTime startValidTime);
00331                 
00332         
00333         
00334         
00335 
00336 
00337         
00338         // ===> Attribute endValidTime
00339         
00340         
00341         
00342 
00343         
00348         ArrayTime getEndValidTime() const;
00349         
00350  
00351         
00352         
00358         void setEndValidTime (ArrayTime endValidTime);
00359                 
00360         
00361         
00362         
00363 
00364 
00365         
00366         // ===> Attribute frequencyRange
00367         
00368         
00369         
00370 
00371         
00376         vector<Frequency > getFrequencyRange() const;
00377         
00378  
00379         
00380         
00386         void setFrequencyRange (vector<Frequency > frequencyRange);
00387                 
00388         
00389         
00390         
00391 
00392 
00393         
00394         // ===> Attribute receiverBand
00395         
00396         
00397         
00398 
00399         
00404         ReceiverBand getReceiverBand() const;
00405         
00406  
00407         
00408         
00414         void setReceiverBand (ReceiverBand receiverBand);
00415                 
00416         
00417         
00418         
00419 
00420 
00421         
00422         // ===> Attribute beamMapUID
00423         
00424         
00425         
00426 
00427         
00432         EntityRef getBeamMapUID() const;
00433         
00434  
00435         
00436         
00442         void setBeamMapUID (EntityRef beamMapUID);
00443                 
00444         
00445         
00446         
00447 
00448 
00449         
00450         // ===> Attribute relativeAmplitudeRms
00451         
00452         
00453         
00454 
00455         
00460         float getRelativeAmplitudeRms() const;
00461         
00462  
00463         
00464         
00470         void setRelativeAmplitudeRms (float relativeAmplitudeRms);
00471                 
00472         
00473         
00474         
00475 
00476 
00478         // Extrinsic Table Attributes //
00480         
00481         
00482         // ===> Attribute calDataId
00483         
00484         
00485         
00486 
00487         
00492         Tag getCalDataId() const;
00493         
00494  
00495         
00496         
00503         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00504                 
00505         
00506         
00507         
00508 
00509 
00510         
00511         // ===> Attribute calReductionId
00512         
00513         
00514         
00515 
00516         
00521         Tag getCalReductionId() const;
00522         
00523  
00524         
00525         
00532         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00533                 
00534         
00535         
00536         
00537 
00538 
00540         // Links //
00542         
00543         
00544 
00545         
00546                 
00553          CalReductionRow* getCalReductionUsingCalReductionId();
00554          
00555 
00556         
00557 
00558         
00559 
00560         
00561                 
00568          CalDataRow* getCalDataUsingCalDataId();
00569          
00570 
00571         
00572 
00573         
00574         
00575         
00580         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, AntennaMake antennaMake, int numReceptor, vector<PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, ReceiverBand receiverBand, EntityRef beamMapUID, float relativeAmplitudeRms);
00581         
00582         
00583 
00584         
00585         bool compareRequiredValue(AntennaMake antennaMake, int numReceptor, vector<PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector<Frequency > frequencyRange, ReceiverBand receiverBand, EntityRef beamMapUID, float relativeAmplitudeRms); 
00586                  
00587         
00596         bool equalByRequiredValue(CalPrimaryBeamRow* x) ;
00597 
00598 private:
00602         CalPrimaryBeamTable &table;
00606         bool hasBeenAdded;
00607 
00608         // This method is used by the Table class when this row is added to the table.
00609         void isAdded();
00610 
00611 
00620         CalPrimaryBeamRow (CalPrimaryBeamTable &table);
00621 
00639          CalPrimaryBeamRow (CalPrimaryBeamTable &table, CalPrimaryBeamRow &row);
00640                 
00642         // Intrinsic Table Attributes //
00644         
00645         
00646         // ===> Attribute antennaName
00647         
00648         
00649 
00650         string antennaName;
00651 
00652         
00653         
00654         
00655 
00656         
00657         // ===> Attribute antennaMake
00658         
00659         
00660 
00661         AntennaMake antennaMake;
00662 
00663         
00664         
00665         
00666 
00667         
00668         // ===> Attribute numReceptor
00669         
00670         
00671 
00672         int numReceptor;
00673 
00674         
00675         
00676         
00677 
00678         
00679         // ===> Attribute polarizationTypes
00680         
00681         
00682 
00683         vector<PolarizationType > polarizationTypes;
00684 
00685         
00686         
00687         
00688 
00689         
00690         // ===> Attribute startValidTime
00691         
00692         
00693 
00694         ArrayTime startValidTime;
00695 
00696         
00697         
00698         
00699 
00700         
00701         // ===> Attribute endValidTime
00702         
00703         
00704 
00705         ArrayTime endValidTime;
00706 
00707         
00708         
00709         
00710 
00711         
00712         // ===> Attribute frequencyRange
00713         
00714         
00715 
00716         vector<Frequency > frequencyRange;
00717 
00718         
00719         
00720         
00721 
00722         
00723         // ===> Attribute receiverBand
00724         
00725         
00726 
00727         ReceiverBand receiverBand;
00728 
00729         
00730         
00731         
00732 
00733         
00734         // ===> Attribute beamMapUID
00735         
00736         
00737 
00738         EntityRef beamMapUID;
00739 
00740         
00741         
00742         
00743 
00744         
00745         // ===> Attribute relativeAmplitudeRms
00746         
00747         
00748 
00749         float relativeAmplitudeRms;
00750 
00751         
00752         
00753         
00754 
00756         // Extrinsic Table Attributes //
00758         
00759         
00760         // ===> Attribute calDataId
00761         
00762         
00763 
00764         Tag calDataId;
00765 
00766         
00767         
00768         
00769 
00770         
00771         // ===> Attribute calReductionId
00772         
00773         
00774 
00775         Tag calReductionId;
00776 
00777         
00778         
00779         
00780 
00782         // Links //
00784         
00785         
00786                 
00787 
00788          
00789 
00790         
00791 
00792         
00793                 
00794 
00795          
00796 
00797         
00798 
00799 
00800 };
00801 
00802 } // End namespace asdm
00803 
00804 #endif /* CalPrimaryBeam_CLASS */

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