AlmaRadiometerRow.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 AlmaRadiometerRow.h
00032  */
00033  
00034 #ifndef AlmaRadiometerRow_CLASS
00035 #define AlmaRadiometerRow_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::AlmaRadiometerRowIDL;
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 using asdm::Angle;
00085 using asdm::AngularRate;
00086 using asdm::ArrayTime;
00087 using asdm::Complex;
00088 using asdm::Entity;
00089 using asdm::EntityId;
00090 using asdm::EntityRef;
00091 using asdm::Flux;
00092 using asdm::Frequency;
00093 using asdm::Humidity;
00094 using asdm::Interval;
00095 using asdm::Length;
00096 using asdm::Pressure;
00097 using asdm::Speed;
00098 using asdm::Tag;
00099 using asdm::Temperature;
00100 using asdm::ConversionException;
00101 using asdm::NoSuchRow;
00102 using asdm::IllegalAccessException;
00103 
00104 /*\file AlmaRadiometer.h
00105     \brief Generated from model's revision "1.46", branch "ALMA-5_1_1-B"
00106 */
00107 
00108 namespace asdm {
00109 
00110 //class asdm::AlmaRadiometerTable;
00111 
00112         
00113 
00120 class AlmaRadiometerRow {
00121 friend class asdm::AlmaRadiometerTable;
00122 
00123 public:
00124 
00125         virtual ~AlmaRadiometerRow();
00126 
00130         AlmaRadiometerTable &getTable() const;
00131         
00132 #ifndef WITHOUT_ACS
00133 
00137         AlmaRadiometerRowIDL *toIDL() const;
00138 #endif
00139         
00140 #ifndef WITHOUT_ACS
00141 
00145         void setFromIDL (AlmaRadiometerRowIDL x) throw(ConversionException);
00146 #endif
00147         
00152         string toXML() const;
00153 
00159         void setFromXML (string rowDoc) throw(ConversionException);
00160         
00162         // Intrinsic Table Attributes //
00164         
00165         
00166         // ===> Attribute modeId
00167         
00168         
00169         
00170 
00171         
00176         Tag getModeId() const;
00177         
00178  
00179         
00180         
00181         
00182         
00183 
00184 
00185         
00186         // ===> Attribute numBand
00187         
00188         
00189         
00190 
00191         
00196         int getNumBand() const;
00197         
00198  
00199         
00200         
00208         void setNumBand (int numBand) throw(IllegalAccessException);
00209                 
00210         
00211         
00212         
00213 
00214 
00216         // Extrinsic Table Attributes //
00218         
00220         // Links //
00222         
00223         
00224         
00225         
00230         bool compareNoAutoInc(int numBand);
00231         
00232         
00233 
00234         
00235         bool compareRequiredValue(int numBand); 
00236                  
00237         
00246         bool equalByRequiredValue(AlmaRadiometerRow* x) ;
00247 
00248 private:
00252         AlmaRadiometerTable &table;
00256         bool hasBeenAdded;
00257 
00258         // This method is used by the Table class when this row is added to the table.
00259         void isAdded();
00260 
00261 
00270         AlmaRadiometerRow (AlmaRadiometerTable &table);
00271 
00289          AlmaRadiometerRow (AlmaRadiometerTable &table, AlmaRadiometerRow &row);
00290                 
00292         // Intrinsic Table Attributes //
00294         
00295         
00296         // ===> Attribute modeId
00297         
00298         
00299 
00300         Tag modeId;
00301 
00302         
00303         
00304         
00312         void setModeId (Tag modeId) throw(IllegalAccessException);
00313                 
00314         
00315 
00316         
00317         // ===> Attribute numBand
00318         
00319         
00320 
00321         int numBand;
00322 
00323         
00324         
00325         
00326 
00328         // Extrinsic Table Attributes //
00330         
00332         // Links //
00334         
00335 
00336 };
00337 
00338 } // End namespace asdm
00339 
00340 #endif /* AlmaRadiometer_CLASS */

Generated on Tue Aug 26 22:20:54 2008 for NRAOCASA by  doxygen 1.5.1