CalGainRow.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 CalGainRow.h
00032  */
00033  
00034 #ifndef CalGainRow_CLASS
00035 #define CalGainRow_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::CalGainRowIDL;
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 using asdm::Angle;
00099 using asdm::AngularRate;
00100 using asdm::ArrayTime;
00101 using asdm::Complex;
00102 using asdm::Entity;
00103 using asdm::EntityId;
00104 using asdm::EntityRef;
00105 using asdm::Flux;
00106 using asdm::Frequency;
00107 using asdm::Humidity;
00108 using asdm::Interval;
00109 using asdm::Length;
00110 using asdm::Pressure;
00111 using asdm::Speed;
00112 using asdm::Tag;
00113 using asdm::Temperature;
00114 using asdm::ConversionException;
00115 using asdm::NoSuchRow;
00116 using asdm::IllegalAccessException;
00117 
00118 /*\file CalGain.h
00119     \brief Generated from model's revision "1.46", branch "ALMA-5_1_1-B"
00120 */
00121 
00122 namespace asdm {
00123 
00124 //class asdm::CalGainTable;
00125 
00126 
00127 // class asdm::CalDataRow;
00128 class CalDataRow;
00129 
00130 // class asdm::CalReductionRow;
00131 class CalReductionRow;
00132         
00133 
00140 class CalGainRow {
00141 friend class asdm::CalGainTable;
00142 
00143 public:
00144 
00145         virtual ~CalGainRow();
00146 
00150         CalGainTable &getTable() const;
00151         
00152 #ifndef WITHOUT_ACS
00153 
00157         CalGainRowIDL *toIDL() const;
00158 #endif
00159         
00160 #ifndef WITHOUT_ACS
00161 
00165         void setFromIDL (CalGainRowIDL x) throw(ConversionException);
00166 #endif
00167         
00172         string toXML() const;
00173 
00179         void setFromXML (string rowDoc) throw(ConversionException);
00180         
00182         // Intrinsic Table Attributes //
00184         
00185         
00186         // ===> Attribute startValidTime
00187         
00188         
00189         
00190 
00191         
00196         ArrayTime getStartValidTime() const;
00197         
00198  
00199         
00200         
00208         void setStartValidTime (ArrayTime startValidTime) throw(IllegalAccessException);
00209                 
00210         
00211         
00212         
00213 
00214 
00215         
00216         // ===> Attribute endValidTime
00217         
00218         
00219         
00220 
00221         
00226         ArrayTime getEndValidTime() const;
00227         
00228  
00229         
00230         
00238         void setEndValidTime (ArrayTime endValidTime) throw(IllegalAccessException);
00239                 
00240         
00241         
00242         
00243 
00244 
00245         
00246         // ===> Attribute gain
00247         
00248         
00249         
00250 
00251         
00256         vector<vector<float > > getGain() const;
00257         
00258  
00259         
00260         
00268         void setGain (vector<vector<float > > gain) throw(IllegalAccessException);
00269                 
00270         
00271         
00272         
00273 
00274 
00275         
00276         // ===> Attribute gainValid
00277         
00278         
00279         
00280 
00281         
00286         vector<bool > getGainValid() const;
00287         
00288  
00289         
00290         
00298         void setGainValid (vector<bool > gainValid) throw(IllegalAccessException);
00299                 
00300         
00301         
00302         
00303 
00304 
00305         
00306         // ===> Attribute fit
00307         
00308         
00309         
00310 
00311         
00316         vector<vector<float > > getFit() const;
00317         
00318  
00319         
00320         
00328         void setFit (vector<vector<float > > fit) throw(IllegalAccessException);
00329                 
00330         
00331         
00332         
00333 
00334 
00335         
00336         // ===> Attribute fitWeight
00337         
00338         
00339         
00340 
00341         
00346         vector<float > getFitWeight() const;
00347         
00348  
00349         
00350         
00358         void setFitWeight (vector<float > fitWeight) throw(IllegalAccessException);
00359                 
00360         
00361         
00362         
00363 
00364 
00365         
00366         // ===> Attribute totalGainValid
00367         
00368         
00369         
00370 
00371         
00376         bool getTotalGainValid() const;
00377         
00378  
00379         
00380         
00388         void setTotalGainValid (bool totalGainValid) throw(IllegalAccessException);
00389                 
00390         
00391         
00392         
00393 
00394 
00395         
00396         // ===> Attribute totalFit
00397         
00398         
00399         
00400 
00401         
00406         float getTotalFit() const;
00407         
00408  
00409         
00410         
00418         void setTotalFit (float totalFit) throw(IllegalAccessException);
00419                 
00420         
00421         
00422         
00423 
00424 
00425         
00426         // ===> Attribute totalFitWeight
00427         
00428         
00429         
00430 
00431         
00436         float getTotalFitWeight() const;
00437         
00438  
00439         
00440         
00448         void setTotalFitWeight (float totalFitWeight) throw(IllegalAccessException);
00449                 
00450         
00451         
00452         
00453 
00454 
00456         // Extrinsic Table Attributes //
00458         
00459         
00460         // ===> Attribute calDataId
00461         
00462         
00463         
00464 
00465         
00470         Tag getCalDataId() const;
00471         
00472  
00473         
00474         
00482         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00483                 
00484         
00485         
00486         
00487 
00488 
00489         
00490         // ===> Attribute calReductionId
00491         
00492         
00493         
00494 
00495         
00500         Tag getCalReductionId() const;
00501         
00502  
00503         
00504         
00512         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00513                 
00514         
00515         
00516         
00517 
00518 
00520         // Links //
00522         
00523         
00524 
00525         
00526                 
00533          CalDataRow* getCalDataUsingCalDataId();
00534          
00535 
00536         
00537 
00538         
00539 
00540         
00541                 
00548          CalReductionRow* getCalReductionUsingCalReductionId();
00549          
00550 
00551         
00552 
00553         
00554         
00555         
00560         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, vector<vector<float > > gain, vector<bool > gainValid, vector<vector<float > > fit, vector<float > fitWeight, bool totalGainValid, float totalFit, float totalFitWeight);
00561         
00562         
00563 
00564         
00565         bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, vector<vector<float > > gain, vector<bool > gainValid, vector<vector<float > > fit, vector<float > fitWeight, bool totalGainValid, float totalFit, float totalFitWeight); 
00566                  
00567         
00576         bool equalByRequiredValue(CalGainRow* x) ;
00577 
00578 private:
00582         CalGainTable &table;
00586         bool hasBeenAdded;
00587 
00588         // This method is used by the Table class when this row is added to the table.
00589         void isAdded();
00590 
00591 
00600         CalGainRow (CalGainTable &table);
00601 
00619          CalGainRow (CalGainTable &table, CalGainRow &row);
00620                 
00622         // Intrinsic Table Attributes //
00624         
00625         
00626         // ===> Attribute startValidTime
00627         
00628         
00629 
00630         ArrayTime startValidTime;
00631 
00632         
00633         
00634         
00635 
00636         
00637         // ===> Attribute endValidTime
00638         
00639         
00640 
00641         ArrayTime endValidTime;
00642 
00643         
00644         
00645         
00646 
00647         
00648         // ===> Attribute gain
00649         
00650         
00651 
00652         vector<vector<float > > gain;
00653 
00654         
00655         
00656         
00657 
00658         
00659         // ===> Attribute gainValid
00660         
00661         
00662 
00663         vector<bool > gainValid;
00664 
00665         
00666         
00667         
00668 
00669         
00670         // ===> Attribute fit
00671         
00672         
00673 
00674         vector<vector<float > > fit;
00675 
00676         
00677         
00678         
00679 
00680         
00681         // ===> Attribute fitWeight
00682         
00683         
00684 
00685         vector<float > fitWeight;
00686 
00687         
00688         
00689         
00690 
00691         
00692         // ===> Attribute totalGainValid
00693         
00694         
00695 
00696         bool totalGainValid;
00697 
00698         
00699         
00700         
00701 
00702         
00703         // ===> Attribute totalFit
00704         
00705         
00706 
00707         float totalFit;
00708 
00709         
00710         
00711         
00712 
00713         
00714         // ===> Attribute totalFitWeight
00715         
00716         
00717 
00718         float totalFitWeight;
00719 
00720         
00721         
00722         
00723 
00725         // Extrinsic Table Attributes //
00727         
00728         
00729         // ===> Attribute calDataId
00730         
00731         
00732 
00733         Tag calDataId;
00734 
00735         
00736         
00737         
00738 
00739         
00740         // ===> Attribute calReductionId
00741         
00742         
00743 
00744         Tag calReductionId;
00745 
00746         
00747         
00748         
00749 
00751         // Links //
00753         
00754         
00755                 
00756 
00757          
00758 
00759         
00760 
00761         
00762                 
00763 
00764          
00765 
00766         
00767 
00768 
00769 };
00770 
00771 } // End namespace asdm
00772 
00773 #endif /* CalGain_CLASS */

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