CalReductionRow.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 CalReductionRow.h
00032  */
00033  
00034 #ifndef CalReductionRow_CLASS
00035 #define CalReductionRow_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::CalReductionRowIDL;
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 #include "CInvalidatingCondition.h"
00100 using namespace InvalidatingConditionMod;
00101         
00102 
00103 
00104 
00105 using asdm::Angle;
00106 using asdm::AngularRate;
00107 using asdm::ArrayTime;
00108 using asdm::Complex;
00109 using asdm::Entity;
00110 using asdm::EntityId;
00111 using asdm::EntityRef;
00112 using asdm::Flux;
00113 using asdm::Frequency;
00114 using asdm::Humidity;
00115 using asdm::Interval;
00116 using asdm::Length;
00117 using asdm::Pressure;
00118 using asdm::Speed;
00119 using asdm::Tag;
00120 using asdm::Temperature;
00121 using asdm::ConversionException;
00122 using asdm::NoSuchRow;
00123 using asdm::IllegalAccessException;
00124 
00125 /*\file CalReduction.h
00126     \brief Generated from model's revision "1.41", branch "HEAD"
00127 */
00128 
00129 namespace asdm {
00130 
00131 //class asdm::CalReductionTable;
00132 
00133         
00134 
00141 class CalReductionRow {
00142 friend class asdm::CalReductionTable;
00143 
00144 public:
00145 
00146         virtual ~CalReductionRow();
00147 
00151         CalReductionTable &getTable() const;
00152         
00153 #ifndef WITHOUT_ACS
00154 
00158         CalReductionRowIDL *toIDL() const;
00159 #endif
00160         
00161 #ifndef WITHOUT_ACS
00162 
00166         void setFromIDL (CalReductionRowIDL x) throw(ConversionException);
00167 #endif
00168         
00173         string toXML() const;
00174 
00180         void setFromXML (string rowDoc) throw(ConversionException);
00181         
00183         // Intrinsic Table Attributes //
00185         
00186         
00187         // ===> Attribute calReductionId
00188         
00189         
00190         
00191 
00192         
00197         Tag getCalReductionId() const;
00198         
00199  
00200         
00201         
00202         
00203         
00204 
00205 
00206         
00207         // ===> Attribute numApplied
00208         
00209         
00210         
00211 
00212         
00217         int getNumApplied() const;
00218         
00219  
00220         
00221         
00227         void setNumApplied (int numApplied);
00228                 
00229         
00230         
00231         
00232 
00233 
00234         
00235         // ===> Attribute numParam
00236         
00237         
00238         
00239 
00240         
00245         int getNumParam() const;
00246         
00247  
00248         
00249         
00255         void setNumParam (int numParam);
00256                 
00257         
00258         
00259         
00260 
00261 
00262         
00263         // ===> Attribute timeReduced
00264         
00265         
00266         
00267 
00268         
00273         ArrayTime getTimeReduced() const;
00274         
00275  
00276         
00277         
00283         void setTimeReduced (ArrayTime timeReduced);
00284                 
00285         
00286         
00287         
00288 
00289 
00290         
00291         // ===> Attribute calAppliedArray
00292         
00293         
00294         
00295 
00296         
00301         vector<string > getCalAppliedArray() const;
00302         
00303  
00304         
00305         
00311         void setCalAppliedArray (vector<string > calAppliedArray);
00312                 
00313         
00314         
00315         
00316 
00317 
00318         
00319         // ===> Attribute paramSet
00320         
00321         
00322         
00323 
00324         
00329         vector<string > getParamSet() const;
00330         
00331  
00332         
00333         
00339         void setParamSet (vector<string > paramSet);
00340                 
00341         
00342         
00343         
00344 
00345 
00346         
00347         // ===> Attribute messages
00348         
00349         
00350         
00351 
00352         
00357         string getMessages() const;
00358         
00359  
00360         
00361         
00367         void setMessages (string messages);
00368                 
00369         
00370         
00371         
00372 
00373 
00374         
00375         // ===> Attribute software
00376         
00377         
00378         
00379 
00380         
00385         string getSoftware() const;
00386         
00387  
00388         
00389         
00395         void setSoftware (string software);
00396                 
00397         
00398         
00399         
00400 
00401 
00402         
00403         // ===> Attribute softwareVersion
00404         
00405         
00406         
00407 
00408         
00413         string getSoftwareVersion() const;
00414         
00415  
00416         
00417         
00423         void setSoftwareVersion (string softwareVersion);
00424                 
00425         
00426         
00427         
00428 
00429 
00430         
00431         // ===> Attribute numInvalidConditions
00432         
00433         
00434         
00435 
00436         
00441         int getNumInvalidConditions() const;
00442         
00443  
00444         
00445         
00451         void setNumInvalidConditions (int numInvalidConditions);
00452                 
00453         
00454         
00455         
00456 
00457 
00458         
00459         // ===> Attribute invalidConditions
00460         
00461         
00462         
00463 
00464         
00469         vector<InvalidatingCondition > getInvalidConditions() const;
00470         
00471  
00472         
00473         
00479         void setInvalidConditions (vector<InvalidatingCondition > invalidConditions);
00480                 
00481         
00482         
00483         
00484 
00485 
00487         // Extrinsic Table Attributes //
00489         
00491         // Links //
00493         
00494         
00495         
00496         
00501         bool compareNoAutoInc(int numApplied, int numParam, ArrayTime timeReduced, vector<string > calAppliedArray, vector<string > paramSet, string messages, string software, string softwareVersion, int numInvalidConditions, vector<InvalidatingCondition > invalidConditions);
00502         
00503         
00504 
00505         
00506         bool compareRequiredValue(int numApplied, int numParam, ArrayTime timeReduced, vector<string > calAppliedArray, vector<string > paramSet, string messages, string software, string softwareVersion, int numInvalidConditions, vector<InvalidatingCondition > invalidConditions); 
00507                  
00508         
00517         bool equalByRequiredValue(CalReductionRow* x) ;
00518 
00519 private:
00523         CalReductionTable &table;
00527         bool hasBeenAdded;
00528 
00529         // This method is used by the Table class when this row is added to the table.
00530         void isAdded();
00531 
00532 
00541         CalReductionRow (CalReductionTable &table);
00542 
00560          CalReductionRow (CalReductionTable &table, CalReductionRow &row);
00561                 
00563         // Intrinsic Table Attributes //
00565         
00566         
00567         // ===> Attribute calReductionId
00568         
00569         
00570 
00571         Tag calReductionId;
00572 
00573         
00574         
00575         
00582         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00583                 
00584         
00585 
00586         
00587         // ===> Attribute numApplied
00588         
00589         
00590 
00591         int numApplied;
00592 
00593         
00594         
00595         
00596 
00597         
00598         // ===> Attribute numParam
00599         
00600         
00601 
00602         int numParam;
00603 
00604         
00605         
00606         
00607 
00608         
00609         // ===> Attribute timeReduced
00610         
00611         
00612 
00613         ArrayTime timeReduced;
00614 
00615         
00616         
00617         
00618 
00619         
00620         // ===> Attribute calAppliedArray
00621         
00622         
00623 
00624         vector<string > calAppliedArray;
00625 
00626         
00627         
00628         
00629 
00630         
00631         // ===> Attribute paramSet
00632         
00633         
00634 
00635         vector<string > paramSet;
00636 
00637         
00638         
00639         
00640 
00641         
00642         // ===> Attribute messages
00643         
00644         
00645 
00646         string messages;
00647 
00648         
00649         
00650         
00651 
00652         
00653         // ===> Attribute software
00654         
00655         
00656 
00657         string software;
00658 
00659         
00660         
00661         
00662 
00663         
00664         // ===> Attribute softwareVersion
00665         
00666         
00667 
00668         string softwareVersion;
00669 
00670         
00671         
00672         
00673 
00674         
00675         // ===> Attribute numInvalidConditions
00676         
00677         
00678 
00679         int numInvalidConditions;
00680 
00681         
00682         
00683         
00684 
00685         
00686         // ===> Attribute invalidConditions
00687         
00688         
00689 
00690         vector<InvalidatingCondition > invalidConditions;
00691 
00692         
00693         
00694         
00695 
00697         // Extrinsic Table Attributes //
00699         
00701         // Links //
00703         
00704 
00705 };
00706 
00707 } // End namespace asdm
00708 
00709 #endif /* CalReduction_CLASS */

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