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.46", 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 00229 void setNumApplied (int numApplied); 00230 00231 00232 00233 00234 00235 00236 00237 // ===> Attribute numParam 00238 00239 00240 00241 00242 00247 int getNumParam() const; 00248 00249 00250 00251 00259 void setNumParam (int numParam); 00260 00261 00262 00263 00264 00265 00266 00267 // ===> Attribute timeReduced 00268 00269 00270 00271 00272 00277 ArrayTime getTimeReduced() const; 00278 00279 00280 00281 00289 void setTimeReduced (ArrayTime timeReduced); 00290 00291 00292 00293 00294 00295 00296 00297 // ===> Attribute calAppliedArray 00298 00299 00300 00301 00302 00307 vector<string > getCalAppliedArray() const; 00308 00309 00310 00311 00319 void setCalAppliedArray (vector<string > calAppliedArray); 00320 00321 00322 00323 00324 00325 00326 00327 // ===> Attribute paramSet 00328 00329 00330 00331 00332 00337 vector<string > getParamSet() const; 00338 00339 00340 00341 00349 void setParamSet (vector<string > paramSet); 00350 00351 00352 00353 00354 00355 00356 00357 // ===> Attribute messages 00358 00359 00360 00361 00362 00367 string getMessages() const; 00368 00369 00370 00371 00379 void setMessages (string messages); 00380 00381 00382 00383 00384 00385 00386 00387 // ===> Attribute software 00388 00389 00390 00391 00392 00397 string getSoftware() const; 00398 00399 00400 00401 00409 void setSoftware (string software); 00410 00411 00412 00413 00414 00415 00416 00417 // ===> Attribute softwareVersion 00418 00419 00420 00421 00422 00427 string getSoftwareVersion() const; 00428 00429 00430 00431 00439 void setSoftwareVersion (string softwareVersion); 00440 00441 00442 00443 00444 00445 00446 00447 // ===> Attribute numInvalidConditions 00448 00449 00450 00451 00452 00457 int getNumInvalidConditions() const; 00458 00459 00460 00461 00469 void setNumInvalidConditions (int numInvalidConditions); 00470 00471 00472 00473 00474 00475 00476 00477 // ===> Attribute invalidConditions 00478 00479 00480 00481 00482 00487 vector<InvalidatingConditionMod::InvalidatingCondition > getInvalidConditions() const; 00488 00489 00490 00491 00499 void setInvalidConditions (vector<InvalidatingConditionMod::InvalidatingCondition > invalidConditions); 00500 00501 00502 00503 00504 00505 00507 // Extrinsic Table Attributes // 00509 00511 // Links // 00513 00514 00515 00516 00521 bool compareNoAutoInc(int numApplied, int numParam, ArrayTime timeReduced, vector<string > calAppliedArray, vector<string > paramSet, string messages, string software, string softwareVersion, int numInvalidConditions, vector<InvalidatingConditionMod::InvalidatingCondition > invalidConditions); 00522 00523 00524 00525 00526 bool compareRequiredValue(int numApplied, int numParam, ArrayTime timeReduced, vector<string > calAppliedArray, vector<string > paramSet, string messages, string software, string softwareVersion, int numInvalidConditions, vector<InvalidatingConditionMod::InvalidatingCondition > invalidConditions); 00527 00528 00537 bool equalByRequiredValue(CalReductionRow* x) ; 00538 00539 private: 00543 CalReductionTable &table; 00547 bool hasBeenAdded; 00548 00549 // This method is used by the Table class when this row is added to the table. 00550 void isAdded(); 00551 00552 00561 CalReductionRow (CalReductionTable &table); 00562 00580 CalReductionRow (CalReductionTable &table, CalReductionRow &row); 00581 00583 // Intrinsic Table Attributes // 00585 00586 00587 // ===> Attribute calReductionId 00588 00589 00590 00591 Tag calReductionId; 00592 00593 00594 00595 00605 void setCalReductionId (Tag calReductionId); 00606 00607 00608 00609 00610 // ===> Attribute numApplied 00611 00612 00613 00614 int numApplied; 00615 00616 00617 00618 00619 00620 00621 // ===> Attribute numParam 00622 00623 00624 00625 int numParam; 00626 00627 00628 00629 00630 00631 00632 // ===> Attribute timeReduced 00633 00634 00635 00636 ArrayTime timeReduced; 00637 00638 00639 00640 00641 00642 00643 // ===> Attribute calAppliedArray 00644 00645 00646 00647 vector<string > calAppliedArray; 00648 00649 00650 00651 00652 00653 00654 // ===> Attribute paramSet 00655 00656 00657 00658 vector<string > paramSet; 00659 00660 00661 00662 00663 00664 00665 // ===> Attribute messages 00666 00667 00668 00669 string messages; 00670 00671 00672 00673 00674 00675 00676 // ===> Attribute software 00677 00678 00679 00680 string software; 00681 00682 00683 00684 00685 00686 00687 // ===> Attribute softwareVersion 00688 00689 00690 00691 string softwareVersion; 00692 00693 00694 00695 00696 00697 00698 // ===> Attribute numInvalidConditions 00699 00700 00701 00702 int numInvalidConditions; 00703 00704 00705 00706 00707 00708 00709 // ===> Attribute invalidConditions 00710 00711 00712 00713 vector<InvalidatingConditionMod::InvalidatingCondition > invalidConditions; 00714 00715 00716 00717 00718 00720 // Extrinsic Table Attributes // 00722 00724 // Links // 00726 00727 00728 }; 00729 00730 } // End namespace asdm 00731 00732 #endif /* CalReduction_CLASS */

Generated on Tue Nov 18 17:43:40 2008 for ASDM C++ Implementation by doxygen 1.3.8