CalHolographyRow.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 CalHolographyRow.h
00032  */
00033  
00034 #ifndef CalHolographyRow_CLASS
00035 #define CalHolographyRow_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::CalHolographyRowIDL;
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 #include "CAntennaMake.h"
00082 using namespace AntennaMakeMod;
00083         
00084 
00085         
00086 
00087         
00088 
00089         
00090 
00091         
00092 
00093         
00094 
00095         
00096 
00097         
00098 
00099         
00100 
00101         
00102 
00103         
00104 
00105         
00106 
00107         
00108 
00109         
00110 
00111         
00112 
00113         
00114 #include "CPolarizationType.h"
00115 using namespace PolarizationTypeMod;
00116         
00117 
00118         
00119 #include "CReceiverBand.h"
00120 using namespace ReceiverBandMod;
00121         
00122 
00123         
00124 
00125         
00126 
00127 
00128 
00129 using asdm::Angle;
00130 using asdm::AngularRate;
00131 using asdm::ArrayTime;
00132 using asdm::Complex;
00133 using asdm::Entity;
00134 using asdm::EntityId;
00135 using asdm::EntityRef;
00136 using asdm::Flux;
00137 using asdm::Frequency;
00138 using asdm::Humidity;
00139 using asdm::Interval;
00140 using asdm::Length;
00141 using asdm::Pressure;
00142 using asdm::Speed;
00143 using asdm::Tag;
00144 using asdm::Temperature;
00145 using asdm::ConversionException;
00146 using asdm::NoSuchRow;
00147 using asdm::IllegalAccessException;
00148 
00149 /*\file CalHolography.h
00150     \brief Generated from model's revision "1.41", branch "HEAD"
00151 */
00152 
00153 namespace asdm {
00154 
00155 //class asdm::CalHolographyTable;
00156 
00157 
00158 // class asdm::CalReductionRow;
00159 class CalReductionRow;
00160 
00161 // class asdm::CalDataRow;
00162 class CalDataRow;
00163         
00164 
00171 class CalHolographyRow {
00172 friend class asdm::CalHolographyTable;
00173 
00174 public:
00175 
00176         virtual ~CalHolographyRow();
00177 
00181         CalHolographyTable &getTable() const;
00182         
00183 #ifndef WITHOUT_ACS
00184 
00188         CalHolographyRowIDL *toIDL() const;
00189 #endif
00190         
00191 #ifndef WITHOUT_ACS
00192 
00196         void setFromIDL (CalHolographyRowIDL x) throw(ConversionException);
00197 #endif
00198         
00203         string toXML() const;
00204 
00210         void setFromXML (string rowDoc) throw(ConversionException);
00211         
00213         // Intrinsic Table Attributes //
00215         
00216         
00217         // ===> Attribute antennaName
00218         
00219         
00220         
00221 
00222         
00227         string getAntennaName() const;
00228         
00229  
00230         
00231         
00238         void setAntennaName (string antennaName) throw(IllegalAccessException);
00239                 
00240         
00241         
00242         
00243 
00244 
00245         
00246         // ===> Attribute antennaMake
00247         
00248         
00249         
00250 
00251         
00256         AntennaMake getAntennaMake() const;
00257         
00258  
00259         
00260         
00266         void setAntennaMake (AntennaMake antennaMake);
00267                 
00268         
00269         
00270         
00271 
00272 
00273         
00274         // ===> Attribute numScrew
00275         
00276         
00277         
00278 
00279         
00284         int getNumScrew() const;
00285         
00286  
00287         
00288         
00294         void setNumScrew (int numScrew);
00295                 
00296         
00297         
00298         
00299 
00300 
00301         
00302         // ===> Attribute numReceptor
00303         
00304         
00305         
00306 
00307         
00312         int getNumReceptor() const;
00313         
00314  
00315         
00316         
00322         void setNumReceptor (int numReceptor);
00323                 
00324         
00325         
00326         
00327 
00328 
00329         
00330         // ===> Attribute startValidTime
00331         
00332         
00333         
00334 
00335         
00340         ArrayTime getStartValidTime() const;
00341         
00342  
00343         
00344         
00350         void setStartValidTime (ArrayTime startValidTime);
00351                 
00352         
00353         
00354         
00355 
00356 
00357         
00358         // ===> Attribute endValidTime
00359         
00360         
00361         
00362 
00363         
00368         ArrayTime getEndValidTime() const;
00369         
00370  
00371         
00372         
00378         void setEndValidTime (ArrayTime endValidTime);
00379                 
00380         
00381         
00382         
00383 
00384 
00385         
00386         // ===> Attribute focusPosition
00387         
00388         
00389         
00390 
00391         
00396         vector<Length > getFocusPosition() const;
00397         
00398  
00399         
00400         
00406         void setFocusPosition (vector<Length > focusPosition);
00407                 
00408         
00409         
00410         
00411 
00412 
00413         
00414         // ===> Attribute rawRms
00415         
00416         
00417         
00418 
00419         
00424         Length getRawRms() const;
00425         
00426  
00427         
00428         
00434         void setRawRms (Length rawRms);
00435                 
00436         
00437         
00438         
00439 
00440 
00441         
00442         // ===> Attribute weightedRms
00443         
00444         
00445         
00446 
00447         
00452         Length getWeightedRms() const;
00453         
00454  
00455         
00456         
00462         void setWeightedRms (Length weightedRms);
00463                 
00464         
00465         
00466         
00467 
00468 
00469         
00470         // ===> Attribute screwName
00471         
00472         
00473         
00474 
00475         
00480         vector<string > getScrewName() const;
00481         
00482  
00483         
00484         
00490         void setScrewName (vector<string > screwName);
00491                 
00492         
00493         
00494         
00495 
00496 
00497         
00498         // ===> Attribute screwMotion
00499         
00500         
00501         
00502 
00503         
00508         vector<Length > getScrewMotion() const;
00509         
00510  
00511         
00512         
00518         void setScrewMotion (vector<Length > screwMotion);
00519                 
00520         
00521         
00522         
00523 
00524 
00525         
00526         // ===> Attribute screwMotionError
00527         
00528         
00529         
00530 
00531         
00536         vector<Length > getScrewMotionError() const;
00537         
00538  
00539         
00540         
00546         void setScrewMotionError (vector<Length > screwMotionError);
00547                 
00548         
00549         
00550         
00551 
00552 
00553         
00554         // ===> Attribute panelModes
00555         
00556         
00557         
00558 
00559         
00564         int getPanelModes() const;
00565         
00566  
00567         
00568         
00574         void setPanelModes (int panelModes);
00575                 
00576         
00577         
00578         
00579 
00580 
00581         
00582         // ===> Attribute frequencyRange
00583         
00584         
00585         
00586 
00587         
00592         vector<Frequency > getFrequencyRange() const;
00593         
00594  
00595         
00596         
00602         void setFrequencyRange (vector<Frequency > frequencyRange);
00603                 
00604         
00605         
00606         
00607 
00608 
00609         
00610         // ===> Attribute beamMapUID
00611         
00612         
00613         
00614 
00615         
00620         EntityRef getBeamMapUID() const;
00621         
00622  
00623         
00624         
00630         void setBeamMapUID (EntityRef beamMapUID);
00631                 
00632         
00633         
00634         
00635 
00636 
00637         
00638         // ===> Attribute surfaceMapUID
00639         
00640         
00641         
00642 
00643         
00648         EntityRef getSurfaceMapUID() const;
00649         
00650  
00651         
00652         
00658         void setSurfaceMapUID (EntityRef surfaceMapUID);
00659                 
00660         
00661         
00662         
00663 
00664 
00665         
00666         // ===> Attribute polarizationTypes
00667         
00668         
00669         
00670 
00671         
00676         vector<PolarizationType > getPolarizationTypes() const;
00677         
00678  
00679         
00680         
00686         void setPolarizationTypes (vector<PolarizationType > polarizationTypes);
00687                 
00688         
00689         
00690         
00691 
00692 
00693         
00694         // ===> Attribute receiverBand
00695         
00696         
00697         
00698 
00699         
00704         ReceiverBand getReceiverBand() const;
00705         
00706  
00707         
00708         
00714         void setReceiverBand (ReceiverBand receiverBand);
00715                 
00716         
00717         
00718         
00719 
00720 
00721         
00722         // ===> Attribute direction
00723         
00724         
00725         
00726 
00727         
00732         vector<Angle > getDirection() const;
00733         
00734  
00735         
00736         
00742         void setDirection (vector<Angle > direction);
00743                 
00744         
00745         
00746         
00747 
00748 
00749         
00750         // ===> Attribute ambientTemperature
00751         
00752         
00753         
00754 
00755         
00760         Temperature getAmbientTemperature() const;
00761         
00762  
00763         
00764         
00770         void setAmbientTemperature (Temperature ambientTemperature);
00771                 
00772         
00773         
00774         
00775 
00776 
00778         // Extrinsic Table Attributes //
00780         
00781         
00782         // ===> Attribute calDataId
00783         
00784         
00785         
00786 
00787         
00792         Tag getCalDataId() const;
00793         
00794  
00795         
00796         
00803         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00804                 
00805         
00806         
00807         
00808 
00809 
00810         
00811         // ===> Attribute calReductionId
00812         
00813         
00814         
00815 
00816         
00821         Tag getCalReductionId() const;
00822         
00823  
00824         
00825         
00832         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00833                 
00834         
00835         
00836         
00837 
00838 
00840         // Links //
00842         
00843         
00844 
00845         
00846                 
00853          CalReductionRow* getCalReductionUsingCalReductionId();
00854          
00855 
00856         
00857 
00858         
00859 
00860         
00861                 
00868          CalDataRow* getCalDataUsingCalDataId();
00869          
00870 
00871         
00872 
00873         
00874         
00875         
00880         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusPosition, Length rawRms, Length weightedRms, vector<string > screwName, vector<Length > screwMotion, vector<Length > screwMotionError, int panelModes, vector<Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector<PolarizationType > polarizationTypes, ReceiverBand receiverBand, vector<Angle > direction, Temperature ambientTemperature);
00881         
00882         
00883 
00884         
00885         bool compareRequiredValue(AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusPosition, Length rawRms, Length weightedRms, vector<string > screwName, vector<Length > screwMotion, vector<Length > screwMotionError, int panelModes, vector<Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector<PolarizationType > polarizationTypes, ReceiverBand receiverBand, vector<Angle > direction, Temperature ambientTemperature); 
00886                  
00887         
00896         bool equalByRequiredValue(CalHolographyRow* x) ;
00897 
00898 private:
00902         CalHolographyTable &table;
00906         bool hasBeenAdded;
00907 
00908         // This method is used by the Table class when this row is added to the table.
00909         void isAdded();
00910 
00911 
00920         CalHolographyRow (CalHolographyTable &table);
00921 
00939          CalHolographyRow (CalHolographyTable &table, CalHolographyRow &row);
00940                 
00942         // Intrinsic Table Attributes //
00944         
00945         
00946         // ===> Attribute antennaName
00947         
00948         
00949 
00950         string antennaName;
00951 
00952         
00953         
00954         
00955 
00956         
00957         // ===> Attribute antennaMake
00958         
00959         
00960 
00961         AntennaMake antennaMake;
00962 
00963         
00964         
00965         
00966 
00967         
00968         // ===> Attribute numScrew
00969         
00970         
00971 
00972         int numScrew;
00973 
00974         
00975         
00976         
00977 
00978         
00979         // ===> Attribute numReceptor
00980         
00981         
00982 
00983         int numReceptor;
00984 
00985         
00986         
00987         
00988 
00989         
00990         // ===> Attribute startValidTime
00991         
00992         
00993 
00994         ArrayTime startValidTime;
00995 
00996         
00997         
00998         
00999 
01000         
01001         // ===> Attribute endValidTime
01002         
01003         
01004 
01005         ArrayTime endValidTime;
01006 
01007         
01008         
01009         
01010 
01011         
01012         // ===> Attribute focusPosition
01013         
01014         
01015 
01016         vector<Length > focusPosition;
01017 
01018         
01019         
01020         
01021 
01022         
01023         // ===> Attribute rawRms
01024         
01025         
01026 
01027         Length rawRms;
01028 
01029         
01030         
01031         
01032 
01033         
01034         // ===> Attribute weightedRms
01035         
01036         
01037 
01038         Length weightedRms;
01039 
01040         
01041         
01042         
01043 
01044         
01045         // ===> Attribute screwName
01046         
01047         
01048 
01049         vector<string > screwName;
01050 
01051         
01052         
01053         
01054 
01055         
01056         // ===> Attribute screwMotion
01057         
01058         
01059 
01060         vector<Length > screwMotion;
01061 
01062         
01063         
01064         
01065 
01066         
01067         // ===> Attribute screwMotionError
01068         
01069         
01070 
01071         vector<Length > screwMotionError;
01072 
01073         
01074         
01075         
01076 
01077         
01078         // ===> Attribute panelModes
01079         
01080         
01081 
01082         int panelModes;
01083 
01084         
01085         
01086         
01087 
01088         
01089         // ===> Attribute frequencyRange
01090         
01091         
01092 
01093         vector<Frequency > frequencyRange;
01094 
01095         
01096         
01097         
01098 
01099         
01100         // ===> Attribute beamMapUID
01101         
01102         
01103 
01104         EntityRef beamMapUID;
01105 
01106         
01107         
01108         
01109 
01110         
01111         // ===> Attribute surfaceMapUID
01112         
01113         
01114 
01115         EntityRef surfaceMapUID;
01116 
01117         
01118         
01119         
01120 
01121         
01122         // ===> Attribute polarizationTypes
01123         
01124         
01125 
01126         vector<PolarizationType > polarizationTypes;
01127 
01128         
01129         
01130         
01131 
01132         
01133         // ===> Attribute receiverBand
01134         
01135         
01136 
01137         ReceiverBand receiverBand;
01138 
01139         
01140         
01141         
01142 
01143         
01144         // ===> Attribute direction
01145         
01146         
01147 
01148         vector<Angle > direction;
01149 
01150         
01151         
01152         
01153 
01154         
01155         // ===> Attribute ambientTemperature
01156         
01157         
01158 
01159         Temperature ambientTemperature;
01160 
01161         
01162         
01163         
01164 
01166         // Extrinsic Table Attributes //
01168         
01169         
01170         // ===> Attribute calDataId
01171         
01172         
01173 
01174         Tag calDataId;
01175 
01176         
01177         
01178         
01179 
01180         
01181         // ===> Attribute calReductionId
01182         
01183         
01184 
01185         Tag calReductionId;
01186 
01187         
01188         
01189         
01190 
01192         // Links //
01194         
01195         
01196                 
01197 
01198          
01199 
01200         
01201 
01202         
01203                 
01204 
01205          
01206 
01207         
01208 
01209 
01210 };
01211 
01212 } // End namespace asdm
01213 
01214 #endif /* CalHolography_CLASS */

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