CalFocusModelRow.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 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.46", branch "ALMA-5_1_1-B"
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         
00224         void setAntennaName (string antennaName) throw(IllegalAccessException);
00225                 
00226         
00227         
00228         
00229 
00230 
00231         
00232         // ===> Attribute numCoeff
00233         
00234         
00235         
00236 
00237         
00242         int getNumCoeff() const;
00243         
00244  
00245         
00246         
00254         void setNumCoeff (int numCoeff) throw(IllegalAccessException);
00255                 
00256         
00257         
00258         
00259 
00260 
00261         
00262         // ===> Attribute startValidTime
00263         
00264         
00265         
00266 
00267         
00272         ArrayTime getStartValidTime() const;
00273         
00274  
00275         
00276         
00284         void setStartValidTime (ArrayTime startValidTime) throw(IllegalAccessException);
00285                 
00286         
00287         
00288         
00289 
00290 
00291         
00292         // ===> Attribute endValidTime
00293         
00294         
00295         
00296 
00297         
00302         ArrayTime getEndValidTime() const;
00303         
00304  
00305         
00306         
00314         void setEndValidTime (ArrayTime endValidTime) throw(IllegalAccessException);
00315                 
00316         
00317         
00318         
00319 
00320 
00321         
00322         // ===> Attribute focusRMS
00323         
00324         
00325         
00326 
00327         
00332         vector<Length > getFocusRMS() const;
00333         
00334  
00335         
00336         
00344         void setFocusRMS (vector<Length > focusRMS) throw(IllegalAccessException);
00345                 
00346         
00347         
00348         
00349 
00350 
00351         
00352         // ===> Attribute coeffName
00353         
00354         
00355         
00356 
00357         
00362         vector<vector<string > > getCoeffName() const;
00363         
00364  
00365         
00366         
00374         void setCoeffName (vector<vector<string > > coeffName) throw(IllegalAccessException);
00375                 
00376         
00377         
00378         
00379 
00380 
00381         
00382         // ===> Attribute coeffFormula
00383         
00384         
00385         
00386 
00387         
00392         vector<vector<string > > getCoeffFormula() const;
00393         
00394  
00395         
00396         
00404         void setCoeffFormula (vector<vector<string > > coeffFormula) throw(IllegalAccessException);
00405                 
00406         
00407         
00408         
00409 
00410 
00411         
00412         // ===> Attribute coeffValue
00413         
00414         
00415         
00416 
00417         
00422         vector<vector<float > > getCoeffValue() const;
00423         
00424  
00425         
00426         
00434         void setCoeffValue (vector<vector<float > > coeffValue) throw(IllegalAccessException);
00435                 
00436         
00437         
00438         
00439 
00440 
00441         
00442         // ===> Attribute coeffError
00443         
00444         
00445         
00446 
00447         
00452         vector<vector<float > > getCoeffError() const;
00453         
00454  
00455         
00456         
00464         void setCoeffError (vector<vector<float > > coeffError) throw(IllegalAccessException);
00465                 
00466         
00467         
00468         
00469 
00470 
00471         
00472         // ===> Attribute coeffFixed
00473         
00474         
00475         
00476 
00477         
00482         vector<vector<bool > > getCoeffFixed() const;
00483         
00484  
00485         
00486         
00494         void setCoeffFixed (vector<vector<bool > > coeffFixed) throw(IllegalAccessException);
00495                 
00496         
00497         
00498         
00499 
00500 
00501         
00502         // ===> Attribute focusModel
00503         
00504         
00505         
00506 
00507         
00512         string getFocusModel() const;
00513         
00514  
00515         
00516         
00524         void setFocusModel (string focusModel) throw(IllegalAccessException);
00525                 
00526         
00527         
00528         
00529 
00530 
00531         
00532         // ===> Attribute numSourceObs
00533         
00534         
00535         
00536 
00537         
00542         int getNumSourceObs() const;
00543         
00544  
00545         
00546         
00554         void setNumSourceObs (int numSourceObs) throw(IllegalAccessException);
00555                 
00556         
00557         
00558         
00559 
00560 
00561         
00562         // ===> Attribute receiverBand
00563         
00564         
00565         
00566 
00567         
00572         ReceiverBandMod::ReceiverBand getReceiverBand() const;
00573         
00574  
00575         
00576         
00584         void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) throw(IllegalAccessException);
00585                 
00586         
00587         
00588         
00589 
00590 
00591         
00592         // ===> Attribute antennaMake
00593         
00594         
00595         
00596 
00597         
00602         AntennaMakeMod::AntennaMake getAntennaMake() const;
00603         
00604  
00605         
00606         
00614         void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake) throw(IllegalAccessException);
00615                 
00616         
00617         
00618         
00619 
00620 
00622         // Extrinsic Table Attributes //
00624         
00625         
00626         // ===> Attribute calDataId
00627         
00628         
00629         
00630 
00631         
00636         Tag getCalDataId() const;
00637         
00638  
00639         
00640         
00648         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00649                 
00650         
00651         
00652         
00653 
00654 
00655         
00656         // ===> Attribute calReductionId
00657         
00658         
00659         
00660 
00661         
00666         Tag getCalReductionId() const;
00667         
00668  
00669         
00670         
00678         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00679                 
00680         
00681         
00682         
00683 
00684 
00686         // Links //
00688         
00689         
00690 
00691         
00692                 
00699          CalDataRow* getCalDataUsingCalDataId();
00700          
00701 
00702         
00703 
00704         
00705 
00706         
00707                 
00714          CalReductionRow* getCalReductionUsingCalReductionId();
00715          
00716 
00717         
00718 
00719         
00720         
00721         
00726         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, ReceiverBandMod::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, AntennaMakeMod::AntennaMake antennaMake);
00727         
00728         
00729 
00730         
00731         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, AntennaMakeMod::AntennaMake antennaMake); 
00732                  
00733         
00742         bool equalByRequiredValue(CalFocusModelRow* x) ;
00743 
00744 private:
00748         CalFocusModelTable &table;
00752         bool hasBeenAdded;
00753 
00754         // This method is used by the Table class when this row is added to the table.
00755         void isAdded();
00756 
00757 
00766         CalFocusModelRow (CalFocusModelTable &table);
00767 
00785          CalFocusModelRow (CalFocusModelTable &table, CalFocusModelRow &row);
00786                 
00788         // Intrinsic Table Attributes //
00790         
00791         
00792         // ===> Attribute antennaName
00793         
00794         
00795 
00796         string antennaName;
00797 
00798         
00799         
00800         
00801 
00802         
00803         // ===> Attribute numCoeff
00804         
00805         
00806 
00807         int numCoeff;
00808 
00809         
00810         
00811         
00812 
00813         
00814         // ===> Attribute startValidTime
00815         
00816         
00817 
00818         ArrayTime startValidTime;
00819 
00820         
00821         
00822         
00823 
00824         
00825         // ===> Attribute endValidTime
00826         
00827         
00828 
00829         ArrayTime endValidTime;
00830 
00831         
00832         
00833         
00834 
00835         
00836         // ===> Attribute focusRMS
00837         
00838         
00839 
00840         vector<Length > focusRMS;
00841 
00842         
00843         
00844         
00845 
00846         
00847         // ===> Attribute coeffName
00848         
00849         
00850 
00851         vector<vector<string > > coeffName;
00852 
00853         
00854         
00855         
00856 
00857         
00858         // ===> Attribute coeffFormula
00859         
00860         
00861 
00862         vector<vector<string > > coeffFormula;
00863 
00864         
00865         
00866         
00867 
00868         
00869         // ===> Attribute coeffValue
00870         
00871         
00872 
00873         vector<vector<float > > coeffValue;
00874 
00875         
00876         
00877         
00878 
00879         
00880         // ===> Attribute coeffError
00881         
00882         
00883 
00884         vector<vector<float > > coeffError;
00885 
00886         
00887         
00888         
00889 
00890         
00891         // ===> Attribute coeffFixed
00892         
00893         
00894 
00895         vector<vector<bool > > coeffFixed;
00896 
00897         
00898         
00899         
00900 
00901         
00902         // ===> Attribute focusModel
00903         
00904         
00905 
00906         string focusModel;
00907 
00908         
00909         
00910         
00911 
00912         
00913         // ===> Attribute numSourceObs
00914         
00915         
00916 
00917         int numSourceObs;
00918 
00919         
00920         
00921         
00922 
00923         
00924         // ===> Attribute receiverBand
00925         
00926         
00927 
00928         ReceiverBandMod::ReceiverBand receiverBand;
00929 
00930         
00931         
00932         
00933 
00934         
00935         // ===> Attribute antennaMake
00936         
00937         
00938 
00939         AntennaMakeMod::AntennaMake antennaMake;
00940 
00941         
00942         
00943         
00944 
00946         // Extrinsic Table Attributes //
00948         
00949         
00950         // ===> Attribute calDataId
00951         
00952         
00953 
00954         Tag calDataId;
00955 
00956         
00957         
00958         
00959 
00960         
00961         // ===> Attribute calReductionId
00962         
00963         
00964 
00965         Tag calReductionId;
00966 
00967         
00968         
00969         
00970 
00972         // Links //
00974         
00975         
00976                 
00977 
00978          
00979 
00980         
00981 
00982         
00983                 
00984 
00985          
00986 
00987         
00988 
00989 
00990 };
00991 
00992 } // End namespace asdm
00993 
00994 #endif /* CalFocusModel_CLASS */

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