CorrelatorModeRow.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 CorrelatorModeRow.h
00032  */
00033  
00034 #ifndef CorrelatorModeRow_CLASS
00035 #define CorrelatorModeRow_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::CorrelatorModeRowIDL;
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 #include "CBasebandName.h"
00084 using namespace BasebandNameMod;
00085         
00086 
00087         
00088 
00089         
00090 #include "CAccumMode.h"
00091 using namespace AccumModeMod;
00092         
00093 
00094         
00095 
00096         
00097 #include "CAxisName.h"
00098 using namespace AxisNameMod;
00099         
00100 
00101         
00102 #include "CFilterMode.h"
00103 using namespace FilterModeMod;
00104         
00105 
00106         
00107 #include "CCorrelatorName.h"
00108 using namespace CorrelatorNameMod;
00109         
00110 
00111 
00112 
00113 using asdm::Angle;
00114 using asdm::AngularRate;
00115 using asdm::ArrayTime;
00116 using asdm::Complex;
00117 using asdm::Entity;
00118 using asdm::EntityId;
00119 using asdm::EntityRef;
00120 using asdm::Flux;
00121 using asdm::Frequency;
00122 using asdm::Humidity;
00123 using asdm::Interval;
00124 using asdm::Length;
00125 using asdm::Pressure;
00126 using asdm::Speed;
00127 using asdm::Tag;
00128 using asdm::Temperature;
00129 using asdm::ConversionException;
00130 using asdm::NoSuchRow;
00131 using asdm::IllegalAccessException;
00132 
00133 /*\file CorrelatorMode.h
00134     \brief Generated from model's revision "1.41", branch "HEAD"
00135 */
00136 
00137 namespace asdm {
00138 
00139 //class asdm::CorrelatorModeTable;
00140 
00141         
00142 
00149 class CorrelatorModeRow {
00150 friend class asdm::CorrelatorModeTable;
00151 
00152 public:
00153 
00154         virtual ~CorrelatorModeRow();
00155 
00159         CorrelatorModeTable &getTable() const;
00160         
00161 #ifndef WITHOUT_ACS
00162 
00166         CorrelatorModeRowIDL *toIDL() const;
00167 #endif
00168         
00169 #ifndef WITHOUT_ACS
00170 
00174         void setFromIDL (CorrelatorModeRowIDL x) throw(ConversionException);
00175 #endif
00176         
00181         string toXML() const;
00182 
00188         void setFromXML (string rowDoc) throw(ConversionException);
00189         
00191         // Intrinsic Table Attributes //
00193         
00194         
00195         // ===> Attribute almaCorrelatorModeId
00196         
00197         
00198         
00199 
00200         
00205         Tag getAlmaCorrelatorModeId() const;
00206         
00207  
00208         
00209         
00210         
00211         
00212 
00213 
00214         
00215         // ===> Attribute numBaseband
00216         
00217         
00218         
00219 
00220         
00225         int getNumBaseband() const;
00226         
00227  
00228         
00229         
00235         void setNumBaseband (int numBaseband);
00236                 
00237         
00238         
00239         
00240 
00241 
00242         
00243         // ===> Attribute basebandNames
00244         
00245         
00246         
00247 
00248         
00253         vector<BasebandName > getBasebandNames() const;
00254         
00255  
00256         
00257         
00263         void setBasebandNames (vector<BasebandName > basebandNames);
00264                 
00265         
00266         
00267         
00268 
00269 
00270         
00271         // ===> Attribute basebandConfig
00272         
00273         
00274         
00275 
00276         
00281         vector<int > getBasebandConfig() const;
00282         
00283  
00284         
00285         
00291         void setBasebandConfig (vector<int > basebandConfig);
00292                 
00293         
00294         
00295         
00296 
00297 
00298         
00299         // ===> Attribute accumMode
00300         
00301         
00302         
00303 
00304         
00309         AccumMode getAccumMode() const;
00310         
00311  
00312         
00313         
00319         void setAccumMode (AccumMode accumMode);
00320                 
00321         
00322         
00323         
00324 
00325 
00326         
00327         // ===> Attribute binMode
00328         
00329         
00330         
00331 
00332         
00337         int getBinMode() const;
00338         
00339  
00340         
00341         
00347         void setBinMode (int binMode);
00348                 
00349         
00350         
00351         
00352 
00353 
00354         
00355         // ===> Attribute axesOrderArray
00356         
00357         
00358         
00359 
00360         
00365         vector<AxisName > getAxesOrderArray() const;
00366         
00367  
00368         
00369         
00375         void setAxesOrderArray (vector<AxisName > axesOrderArray);
00376                 
00377         
00378         
00379         
00380 
00381 
00382         
00383         // ===> Attribute filterMode
00384         
00385         
00386         
00387 
00388         
00393         vector<FilterMode > getFilterMode() const;
00394         
00395  
00396         
00397         
00403         void setFilterMode (vector<FilterMode > filterMode);
00404                 
00405         
00406         
00407         
00408 
00409 
00410         
00411         // ===> Attribute correlatorName
00412         
00413         
00414         
00415 
00416         
00421         CorrelatorName getCorrelatorName() const;
00422         
00423  
00424         
00425         
00431         void setCorrelatorName (CorrelatorName correlatorName);
00432                 
00433         
00434         
00435         
00436 
00437 
00439         // Extrinsic Table Attributes //
00441         
00443         // Links //
00445         
00446         
00447         
00448         
00453         bool compareNoAutoInc(int numBaseband, vector<BasebandName > basebandNames, vector<int > basebandConfig, AccumMode accumMode, int binMode, vector<AxisName > axesOrderArray, vector<FilterMode > filterMode, CorrelatorName correlatorName);
00454         
00455         
00456 
00457         
00458         bool compareRequiredValue(int numBaseband, vector<BasebandName > basebandNames, vector<int > basebandConfig, AccumMode accumMode, int binMode, vector<AxisName > axesOrderArray, vector<FilterMode > filterMode, CorrelatorName correlatorName); 
00459                  
00460         
00469         bool equalByRequiredValue(CorrelatorModeRow* x) ;
00470 
00471 private:
00475         CorrelatorModeTable &table;
00479         bool hasBeenAdded;
00480 
00481         // This method is used by the Table class when this row is added to the table.
00482         void isAdded();
00483 
00484 
00493         CorrelatorModeRow (CorrelatorModeTable &table);
00494 
00512          CorrelatorModeRow (CorrelatorModeTable &table, CorrelatorModeRow &row);
00513                 
00515         // Intrinsic Table Attributes //
00517         
00518         
00519         // ===> Attribute almaCorrelatorModeId
00520         
00521         
00522 
00523         Tag almaCorrelatorModeId;
00524 
00525         
00526         
00527         
00534         void setAlmaCorrelatorModeId (Tag almaCorrelatorModeId) throw(IllegalAccessException);
00535                 
00536         
00537 
00538         
00539         // ===> Attribute numBaseband
00540         
00541         
00542 
00543         int numBaseband;
00544 
00545         
00546         
00547         
00548 
00549         
00550         // ===> Attribute basebandNames
00551         
00552         
00553 
00554         vector<BasebandName > basebandNames;
00555 
00556         
00557         
00558         
00559 
00560         
00561         // ===> Attribute basebandConfig
00562         
00563         
00564 
00565         vector<int > basebandConfig;
00566 
00567         
00568         
00569         
00570 
00571         
00572         // ===> Attribute accumMode
00573         
00574         
00575 
00576         AccumMode accumMode;
00577 
00578         
00579         
00580         
00581 
00582         
00583         // ===> Attribute binMode
00584         
00585         
00586 
00587         int binMode;
00588 
00589         
00590         
00591         
00592 
00593         
00594         // ===> Attribute axesOrderArray
00595         
00596         
00597 
00598         vector<AxisName > axesOrderArray;
00599 
00600         
00601         
00602         
00603 
00604         
00605         // ===> Attribute filterMode
00606         
00607         
00608 
00609         vector<FilterMode > filterMode;
00610 
00611         
00612         
00613         
00614 
00615         
00616         // ===> Attribute correlatorName
00617         
00618         
00619 
00620         CorrelatorName correlatorName;
00621 
00622         
00623         
00624         
00625 
00627         // Extrinsic Table Attributes //
00629         
00631         // Links //
00633         
00634 
00635 };
00636 
00637 } // End namespace asdm
00638 
00639 #endif /* CorrelatorMode_CLASS */

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