CorrelatorModeRow.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 CorrelatorModeRow.h 00032 */ 00033 00034 #ifndef CorrelatorModeRow_CLASS 00035 #define CorrelatorModeRow_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::CorrelatorModeRowIDL; 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 #include "CBasebandName.h" 00084 using namespace BasebandNameMod; 00085 00086 00087 00088 00089 00090 #include "CAccumMode.h" 00091 using namespace AccumModeMod; 00092 00093 00094 00095 00096 00097 #include "CAxisName.h" 00098 using namespace AxisNameMod; 00099 00100 00101 00102 #include "CFilterMode.h" 00103 using namespace FilterModeMod; 00104 00105 00106 00107 #include "CCorrelatorName.h" 00108 using namespace CorrelatorNameMod; 00109 00110 00111 00112 00113 using asdm::Angle; 00114 using asdm::AngularRate; 00115 using asdm::ArrayTime; 00116 using asdm::Complex; 00117 using asdm::Entity; 00118 using asdm::EntityId; 00119 using asdm::EntityRef; 00120 using asdm::Flux; 00121 using asdm::Frequency; 00122 using asdm::Humidity; 00123 using asdm::Interval; 00124 using asdm::Length; 00125 using asdm::Pressure; 00126 using asdm::Speed; 00127 using asdm::Tag; 00128 using asdm::Temperature; 00129 using asdm::ConversionException; 00130 using asdm::NoSuchRow; 00131 using asdm::IllegalAccessException; 00132 00133 /*\file CorrelatorMode.h 00134 \brief Generated from model's revision "1.46", branch "HEAD" 00135 */ 00136 00137 namespace asdm { 00138 00139 //class asdm::CorrelatorModeTable; 00140 00141 00142 00149 class CorrelatorModeRow { 00150 friend class asdm::CorrelatorModeTable; 00151 00152 public: 00153 00154 virtual ~CorrelatorModeRow(); 00155 00159 CorrelatorModeTable &getTable() const; 00160 00161 #ifndef WITHOUT_ACS 00162 00166 CorrelatorModeRowIDL *toIDL() const; 00167 #endif 00168 00169 #ifndef WITHOUT_ACS 00170 00174 void setFromIDL (CorrelatorModeRowIDL x) throw(ConversionException); 00175 #endif 00176 00181 string toXML() const; 00182 00188 void setFromXML (string rowDoc) throw(ConversionException); 00189 00191 // Intrinsic Table Attributes // 00193 00194 00195 // ===> Attribute almaCorrelatorModeId 00196 00197 00198 00199 00200 00205 Tag getAlmaCorrelatorModeId() const; 00206 00207 00208 00209 00210 00211 00212 00213 00214 00215 // ===> Attribute numBaseband 00216 00217 00218 00219 00220 00225 int getNumBaseband() const; 00226 00227 00228 00229 00237 void setNumBaseband (int numBaseband); 00238 00239 00240 00241 00242 00243 00244 00245 // ===> Attribute basebandNames 00246 00247 00248 00249 00250 00255 vector<BasebandNameMod::BasebandName > getBasebandNames() const; 00256 00257 00258 00259 00267 void setBasebandNames (vector<BasebandNameMod::BasebandName > basebandNames); 00268 00269 00270 00271 00272 00273 00274 00275 // ===> Attribute basebandConfig 00276 00277 00278 00279 00280 00285 vector<int > getBasebandConfig() const; 00286 00287 00288 00289 00297 void setBasebandConfig (vector<int > basebandConfig); 00298 00299 00300 00301 00302 00303 00304 00305 // ===> Attribute accumMode 00306 00307 00308 00309 00310 00315 AccumModeMod::AccumMode getAccumMode() const; 00316 00317 00318 00319 00327 void setAccumMode (AccumModeMod::AccumMode accumMode); 00328 00329 00330 00331 00332 00333 00334 00335 // ===> Attribute binMode 00336 00337 00338 00339 00340 00345 int getBinMode() const; 00346 00347 00348 00349 00357 void setBinMode (int binMode); 00358 00359 00360 00361 00362 00363 00364 00365 // ===> Attribute axesOrderArray 00366 00367 00368 00369 00370 00375 vector<AxisNameMod::AxisName > getAxesOrderArray() const; 00376 00377 00378 00379 00387 void setAxesOrderArray (vector<AxisNameMod::AxisName > axesOrderArray); 00388 00389 00390 00391 00392 00393 00394 00395 // ===> Attribute filterMode 00396 00397 00398 00399 00400 00405 vector<FilterModeMod::FilterMode > getFilterMode() const; 00406 00407 00408 00409 00417 void setFilterMode (vector<FilterModeMod::FilterMode > filterMode); 00418 00419 00420 00421 00422 00423 00424 00425 // ===> Attribute correlatorName 00426 00427 00428 00429 00430 00435 CorrelatorNameMod::CorrelatorName getCorrelatorName() const; 00436 00437 00438 00439 00447 void setCorrelatorName (CorrelatorNameMod::CorrelatorName correlatorName); 00448 00449 00450 00451 00452 00453 00455 // Extrinsic Table Attributes // 00457 00459 // Links // 00461 00462 00463 00464 00469 bool compareNoAutoInc(int numBaseband, vector<BasebandNameMod::BasebandName > basebandNames, vector<int > basebandConfig, AccumModeMod::AccumMode accumMode, int binMode, vector<AxisNameMod::AxisName > axesOrderArray, vector<FilterModeMod::FilterMode > filterMode, CorrelatorNameMod::CorrelatorName correlatorName); 00470 00471 00472 00473 00474 bool compareRequiredValue(int numBaseband, vector<BasebandNameMod::BasebandName > basebandNames, vector<int > basebandConfig, AccumModeMod::AccumMode accumMode, int binMode, vector<AxisNameMod::AxisName > axesOrderArray, vector<FilterModeMod::FilterMode > filterMode, CorrelatorNameMod::CorrelatorName correlatorName); 00475 00476 00485 bool equalByRequiredValue(CorrelatorModeRow* x) ; 00486 00487 private: 00491 CorrelatorModeTable &table; 00495 bool hasBeenAdded; 00496 00497 // This method is used by the Table class when this row is added to the table. 00498 void isAdded(); 00499 00500 00509 CorrelatorModeRow (CorrelatorModeTable &table); 00510 00528 CorrelatorModeRow (CorrelatorModeTable &table, CorrelatorModeRow &row); 00529 00531 // Intrinsic Table Attributes // 00533 00534 00535 // ===> Attribute almaCorrelatorModeId 00536 00537 00538 00539 Tag almaCorrelatorModeId; 00540 00541 00542 00543 00553 void setAlmaCorrelatorModeId (Tag almaCorrelatorModeId); 00554 00555 00556 00557 00558 // ===> Attribute numBaseband 00559 00560 00561 00562 int numBaseband; 00563 00564 00565 00566 00567 00568 00569 // ===> Attribute basebandNames 00570 00571 00572 00573 vector<BasebandNameMod::BasebandName > basebandNames; 00574 00575 00576 00577 00578 00579 00580 // ===> Attribute basebandConfig 00581 00582 00583 00584 vector<int > basebandConfig; 00585 00586 00587 00588 00589 00590 00591 // ===> Attribute accumMode 00592 00593 00594 00595 AccumModeMod::AccumMode accumMode; 00596 00597 00598 00599 00600 00601 00602 // ===> Attribute binMode 00603 00604 00605 00606 int binMode; 00607 00608 00609 00610 00611 00612 00613 // ===> Attribute axesOrderArray 00614 00615 00616 00617 vector<AxisNameMod::AxisName > axesOrderArray; 00618 00619 00620 00621 00622 00623 00624 // ===> Attribute filterMode 00625 00626 00627 00628 vector<FilterModeMod::FilterMode > filterMode; 00629 00630 00631 00632 00633 00634 00635 // ===> Attribute correlatorName 00636 00637 00638 00639 CorrelatorNameMod::CorrelatorName correlatorName; 00640 00641 00642 00643 00644 00646 // Extrinsic Table Attributes // 00648 00650 // Links // 00652 00653 00654 }; 00655 00656 } // End namespace asdm 00657 00658 #endif /* CorrelatorMode_CLASS */

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