CalFocusModelRow.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 CalFocusModelRow.h
00032  */
00033  
00034 #ifndef CalFocusModelRow_CLASS
00035 #define CalFocusModelRow_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::CalFocusModelRowIDL;
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 
00094         
00095 
00096         
00097 
00098         
00099 
00100         
00101 
00102         
00103 #include "CReceiverBand.h"
00104 using namespace ReceiverBandMod;
00105         
00106 
00107         
00108 #include "CAntennaMake.h"
00109 using namespace AntennaMakeMod;
00110         
00111 
00112 
00113 
00114 using asdm::Angle;
00115 using asdm::AngularRate;
00116 using asdm::ArrayTime;
00117 using asdm::Complex;
00118 using asdm::Entity;
00119 using asdm::EntityId;
00120 using asdm::EntityRef;
00121 using asdm::Flux;
00122 using asdm::Frequency;
00123 using asdm::Humidity;
00124 using asdm::Interval;
00125 using asdm::Length;
00126 using asdm::Pressure;
00127 using asdm::Speed;
00128 using asdm::Tag;
00129 using asdm::Temperature;
00130 using asdm::ConversionException;
00131 using asdm::NoSuchRow;
00132 using asdm::IllegalAccessException;
00133 
00134 /*\file CalFocusModel.h
00135     \brief Generated from model's revision "1.41", branch "HEAD"
00136 */
00137 
00138 namespace asdm {
00139 
00140 //class asdm::CalFocusModelTable;
00141 
00142 
00143 // class asdm::CalDataRow;
00144 class CalDataRow;
00145 
00146 // class asdm::CalReductionRow;
00147 class CalReductionRow;
00148         
00149 
00156 class CalFocusModelRow {
00157 friend class asdm::CalFocusModelTable;
00158 
00159 public:
00160 
00161         virtual ~CalFocusModelRow();
00162 
00166         CalFocusModelTable &getTable() const;
00167         
00168 #ifndef WITHOUT_ACS
00169 
00173         CalFocusModelRowIDL *toIDL() const;
00174 #endif
00175         
00176 #ifndef WITHOUT_ACS
00177 
00181         void setFromIDL (CalFocusModelRowIDL x) throw(ConversionException);
00182 #endif
00183         
00188         string toXML() const;
00189 
00195         void setFromXML (string rowDoc) throw(ConversionException);
00196         
00198         // Intrinsic Table Attributes //
00200         
00201         
00202         // ===> Attribute antennaName
00203         
00204         
00205         
00206 
00207         
00212         string getAntennaName() const;
00213         
00214  
00215         
00216         
00223         void setAntennaName (string antennaName) throw(IllegalAccessException);
00224                 
00225         
00226         
00227         
00228 
00229 
00230         
00231         // ===> Attribute numCoeff
00232         
00233         
00234         
00235 
00236         
00241         int getNumCoeff() const;
00242         
00243  
00244         
00245         
00251         void setNumCoeff (int numCoeff);
00252                 
00253         
00254         
00255         
00256 
00257 
00258         
00259         // ===> Attribute startValidTime
00260         
00261         
00262         
00263 
00264         
00269         ArrayTime getStartValidTime() const;
00270         
00271  
00272         
00273         
00279         void setStartValidTime (ArrayTime startValidTime);
00280                 
00281         
00282         
00283         
00284 
00285 
00286         
00287         // ===> Attribute endValidTime
00288         
00289         
00290         
00291 
00292         
00297         ArrayTime getEndValidTime() const;
00298         
00299  
00300         
00301         
00307         void setEndValidTime (ArrayTime endValidTime);
00308                 
00309         
00310         
00311         
00312 
00313 
00314         
00315         // ===> Attribute focusRMS
00316         
00317         
00318         
00319 
00320         
00325         vector<Length > getFocusRMS() const;
00326         
00327  
00328         
00329         
00335         void setFocusRMS (vector<Length > focusRMS);
00336                 
00337         
00338         
00339         
00340 
00341 
00342         
00343         // ===> Attribute coeffName
00344         
00345         
00346         
00347 
00348         
00353         vector<vector<string > > getCoeffName() const;
00354         
00355  
00356         
00357         
00363         void setCoeffName (vector<vector<string > > coeffName);
00364                 
00365         
00366         
00367         
00368 
00369 
00370         
00371         // ===> Attribute coeffFormula
00372         
00373         
00374         
00375 
00376         
00381         vector<vector<string > > getCoeffFormula() const;
00382         
00383  
00384         
00385         
00391         void setCoeffFormula (vector<vector<string > > coeffFormula);
00392                 
00393         
00394         
00395         
00396 
00397 
00398         
00399         // ===> Attribute coeffValue
00400         
00401         
00402         
00403 
00404         
00409         vector<vector<float > > getCoeffValue() const;
00410         
00411  
00412         
00413         
00419         void setCoeffValue (vector<vector<float > > coeffValue);
00420                 
00421         
00422         
00423         
00424 
00425 
00426         
00427         // ===> Attribute coeffError
00428         
00429         
00430         
00431 
00432         
00437         vector<vector<float > > getCoeffError() const;
00438         
00439  
00440         
00441         
00447         void setCoeffError (vector<vector<float > > coeffError);
00448                 
00449         
00450         
00451         
00452 
00453 
00454         
00455         // ===> Attribute coeffFixed
00456         
00457         
00458         
00459 
00460         
00465         vector<vector<bool > > getCoeffFixed() const;
00466         
00467  
00468         
00469         
00475         void setCoeffFixed (vector<vector<bool > > coeffFixed);
00476                 
00477         
00478         
00479         
00480 
00481 
00482         
00483         // ===> Attribute focusModel
00484         
00485         
00486         
00487 
00488         
00493         string getFocusModel() const;
00494         
00495  
00496         
00497         
00503         void setFocusModel (string focusModel);
00504                 
00505         
00506         
00507         
00508 
00509 
00510         
00511         // ===> Attribute numSourceObs
00512         
00513         
00514         
00515 
00516         
00521         int getNumSourceObs() const;
00522         
00523  
00524         
00525         
00531         void setNumSourceObs (int numSourceObs);
00532                 
00533         
00534         
00535         
00536 
00537 
00538         
00539         // ===> Attribute receiverBand
00540         
00541         
00542         
00543 
00544         
00549         ReceiverBand getReceiverBand() const;
00550         
00551  
00552         
00553         
00560         void setReceiverBand (ReceiverBand receiverBand) throw(IllegalAccessException);
00561                 
00562         
00563         
00564         
00565 
00566 
00567         
00568         // ===> Attribute antennaMake
00569         
00570         
00571         
00572 
00573         
00578         AntennaMake getAntennaMake() const;
00579         
00580  
00581         
00582         
00588         void setAntennaMake (AntennaMake antennaMake);
00589                 
00590         
00591         
00592         
00593 
00594 
00596         // Extrinsic Table Attributes //
00598         
00599         
00600         // ===> Attribute calDataId
00601         
00602         
00603         
00604 
00605         
00610         Tag getCalDataId() const;
00611         
00612  
00613         
00614         
00621         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00622                 
00623         
00624         
00625         
00626 
00627 
00628         
00629         // ===> Attribute calReductionId
00630         
00631         
00632         
00633 
00634         
00639         Tag getCalReductionId() const;
00640         
00641  
00642         
00643         
00650         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00651                 
00652         
00653         
00654         
00655 
00656 
00658         // Links //
00660         
00661         
00662 
00663         
00664                 
00671          CalDataRow* getCalDataUsingCalDataId();
00672          
00673 
00674         
00675 
00676         
00677 
00678         
00679                 
00686          CalReductionRow* getCalReductionUsingCalReductionId();
00687          
00688 
00689         
00690 
00691         
00692         
00693         
00698         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ReceiverBand receiverBand, int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusRMS, vector<vector<string > > coeffName, vector<vector<string > > coeffFormula, vector<vector<float > > coeffValue, vector<vector<float > > coeffError, vector<vector<bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMake antennaMake);
00699         
00700         
00701 
00702         
00703         bool compareRequiredValue(int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusRMS, vector<vector<string > > coeffName, vector<vector<string > > coeffFormula, vector<vector<float > > coeffValue, vector<vector<float > > coeffError, vector<vector<bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMake antennaMake); 
00704                  
00705         
00714         bool equalByRequiredValue(CalFocusModelRow* x) ;
00715 
00716 private:
00720         CalFocusModelTable &table;
00724         bool hasBeenAdded;
00725 
00726         // This method is used by the Table class when this row is added to the table.
00727         void isAdded();
00728 
00729 
00738         CalFocusModelRow (CalFocusModelTable &table);
00739 
00757          CalFocusModelRow (CalFocusModelTable &table, CalFocusModelRow &row);
00758                 
00760         // Intrinsic Table Attributes //
00762         
00763         
00764         // ===> Attribute antennaName
00765         
00766         
00767 
00768         string antennaName;
00769 
00770         
00771         
00772         
00773 
00774         
00775         // ===> Attribute numCoeff
00776         
00777         
00778 
00779         int numCoeff;
00780 
00781         
00782         
00783         
00784 
00785         
00786         // ===> Attribute startValidTime
00787         
00788         
00789 
00790         ArrayTime startValidTime;
00791 
00792         
00793         
00794         
00795 
00796         
00797         // ===> Attribute endValidTime
00798         
00799         
00800 
00801         ArrayTime endValidTime;
00802 
00803         
00804         
00805         
00806 
00807         
00808         // ===> Attribute focusRMS
00809         
00810         
00811 
00812         vector<Length > focusRMS;
00813 
00814         
00815         
00816         
00817 
00818         
00819         // ===> Attribute coeffName
00820         
00821         
00822 
00823         vector<vector<string > > coeffName;
00824 
00825         
00826         
00827         
00828 
00829         
00830         // ===> Attribute coeffFormula
00831         
00832         
00833 
00834         vector<vector<string > > coeffFormula;
00835 
00836         
00837         
00838         
00839 
00840         
00841         // ===> Attribute coeffValue
00842         
00843         
00844 
00845         vector<vector<float > > coeffValue;
00846 
00847         
00848         
00849         
00850 
00851         
00852         // ===> Attribute coeffError
00853         
00854         
00855 
00856         vector<vector<float > > coeffError;
00857 
00858         
00859         
00860         
00861 
00862         
00863         // ===> Attribute coeffFixed
00864         
00865         
00866 
00867         vector<vector<bool > > coeffFixed;
00868 
00869         
00870         
00871         
00872 
00873         
00874         // ===> Attribute focusModel
00875         
00876         
00877 
00878         string focusModel;
00879 
00880         
00881         
00882         
00883 
00884         
00885         // ===> Attribute numSourceObs
00886         
00887         
00888 
00889         int numSourceObs;
00890 
00891         
00892         
00893         
00894 
00895         
00896         // ===> Attribute receiverBand
00897         
00898         
00899 
00900         ReceiverBand receiverBand;
00901 
00902         
00903         
00904         
00905 
00906         
00907         // ===> Attribute antennaMake
00908         
00909         
00910 
00911         AntennaMake antennaMake;
00912 
00913         
00914         
00915         
00916 
00918         // Extrinsic Table Attributes //
00920         
00921         
00922         // ===> Attribute calDataId
00923         
00924         
00925 
00926         Tag calDataId;
00927 
00928         
00929         
00930         
00931 
00932         
00933         // ===> Attribute calReductionId
00934         
00935         
00936 
00937         Tag calReductionId;
00938 
00939         
00940         
00941         
00942 
00944         // Links //
00946         
00947         
00948                 
00949 
00950          
00951 
00952         
00953 
00954         
00955                 
00956 
00957          
00958 
00959         
00960 
00961 
00962 };
00963 
00964 } // End namespace asdm
00965 
00966 #endif /* CalFocusModel_CLASS */

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