SourceRow.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 SourceRow.h
00032  */
00033  
00034 #ifndef SourceRow_CLASS
00035 #define SourceRow_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::SourceRowIDL;
00047 #endif
00048 
00049 
00050 
00051 
00052 
00053 
00054 #include <ArrayTime.h>
00055 using  asdm::ArrayTime;
00056 
00057 #include <AngularRate.h>
00058 using  asdm::AngularRate;
00059 
00060 #include <Angle.h>
00061 using  asdm::Angle;
00062 
00063 #include <Speed.h>
00064 using  asdm::Speed;
00065 
00066 #include <Flux.h>
00067 using  asdm::Flux;
00068 
00069 #include <Tag.h>
00070 using  asdm::Tag;
00071 
00072 #include <Length.h>
00073 using  asdm::Length;
00074 
00075 #include <Frequency.h>
00076 using  asdm::Frequency;
00077 
00078 #include <ArrayTimeInterval.h>
00079 using  asdm::ArrayTimeInterval;
00080 
00081 
00082 
00083 
00084         
00085 
00086         
00087 
00088         
00089 
00090         
00091 
00092         
00093 
00094         
00095 
00096         
00097 #include "CDirectionReferenceCode.h"
00098 using namespace DirectionReferenceCodeMod;
00099         
00100 
00101         
00102 
00103         
00104 
00105         
00106 
00107         
00108 
00109         
00110 
00111         
00112 
00113         
00114 
00115         
00116 
00117         
00118 
00119         
00120 
00121         
00122 #include "CSourceModel.h"
00123 using namespace SourceModelMod;
00124         
00125 
00126         
00127 #include "CFrequencyReferenceCode.h"
00128 using namespace FrequencyReferenceCodeMod;
00129         
00130 
00131         
00132 
00133         
00134 
00135         
00136 
00137         
00138 
00139         
00140 #include "CStokesParameter.h"
00141 using namespace StokesParameterMod;
00142         
00143 
00144         
00145 
00146         
00147 
00148         
00149 
00150         
00151 
00152         
00153 
00154         
00155 
00156 
00157 
00158 #include <ConversionException.h>
00159 #include <NoSuchRow.h>
00160 #include <IllegalAccessException.h>
00161 
00162 
00163 /*\file Source.h
00164     \brief Generated from model's revision "1.55", branch "HEAD"
00165 */
00166 
00167 namespace asdm {
00168 
00169 //class asdm::SourceTable;
00170 
00171 
00172 // class asdm::SpectralWindowRow;
00173 class SpectralWindowRow;
00174         
00175 
00176 class SourceRow;
00177 typedef void (SourceRow::*SourceAttributeFromBin) (EndianISStream& eiss);
00178 
00185 class SourceRow {
00186 friend class asdm::SourceTable;
00187 
00188 public:
00189 
00190         virtual ~SourceRow();
00191 
00195         SourceTable &getTable() const;
00196         
00201         bool isAdded() const;
00202                 
00204         // Intrinsic Table Attributes //
00206         
00207         
00208         // ===> Attribute sourceId
00209         
00210         
00211         
00212 
00213         
00218         int getSourceId() const;
00219         
00220  
00221         
00222         
00223         
00224         
00225 
00226 
00227         
00228         // ===> Attribute timeInterval
00229         
00230         
00231         
00232 
00233         
00238         ArrayTimeInterval getTimeInterval() const;
00239         
00240  
00241         
00242         
00252         void setTimeInterval (ArrayTimeInterval timeInterval);
00253                 
00254         
00255         
00256         
00257 
00258 
00259         
00260         // ===> Attribute code
00261         
00262         
00263         
00264 
00265         
00270         string getCode() const;
00271         
00272  
00273         
00274         
00282         void setCode (string code);
00283                 
00284         
00285         
00286         
00287 
00288 
00289         
00290         // ===> Attribute direction
00291         
00292         
00293         
00294 
00295         
00300         vector<Angle > getDirection() const;
00301         
00302  
00303         
00304         
00312         void setDirection (vector<Angle > direction);
00313                 
00314         
00315         
00316         
00317 
00318 
00319         
00320         // ===> Attribute properMotion
00321         
00322         
00323         
00324 
00325         
00330         vector<AngularRate > getProperMotion() const;
00331         
00332  
00333         
00334         
00342         void setProperMotion (vector<AngularRate > properMotion);
00343                 
00344         
00345         
00346         
00347 
00348 
00349         
00350         // ===> Attribute sourceName
00351         
00352         
00353         
00354 
00355         
00360         string getSourceName() const;
00361         
00362  
00363         
00364         
00372         void setSourceName (string sourceName);
00373                 
00374         
00375         
00376         
00377 
00378 
00379         
00380         // ===> Attribute directionCode, which is optional
00381         
00382         
00383         
00388         bool isDirectionCodeExists() const;
00389         
00390 
00391         
00397         DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode() const;
00398         
00399  
00400         
00401         
00408         void setDirectionCode (DirectionReferenceCodeMod::DirectionReferenceCode directionCode);
00409                 
00410         
00411         
00412         
00416         void clearDirectionCode ();
00417         
00418 
00419 
00420         
00421         // ===> Attribute directionEquinox, which is optional
00422         
00423         
00424         
00429         bool isDirectionEquinoxExists() const;
00430         
00431 
00432         
00438         ArrayTime getDirectionEquinox() const;
00439         
00440  
00441         
00442         
00449         void setDirectionEquinox (ArrayTime directionEquinox);
00450                 
00451         
00452         
00453         
00457         void clearDirectionEquinox ();
00458         
00459 
00460 
00461         
00462         // ===> Attribute calibrationGroup, which is optional
00463         
00464         
00465         
00470         bool isCalibrationGroupExists() const;
00471         
00472 
00473         
00479         int getCalibrationGroup() const;
00480         
00481  
00482         
00483         
00490         void setCalibrationGroup (int calibrationGroup);
00491                 
00492         
00493         
00494         
00498         void clearCalibrationGroup ();
00499         
00500 
00501 
00502         
00503         // ===> Attribute catalog, which is optional
00504         
00505         
00506         
00511         bool isCatalogExists() const;
00512         
00513 
00514         
00520         string getCatalog() const;
00521         
00522  
00523         
00524         
00531         void setCatalog (string catalog);
00532                 
00533         
00534         
00535         
00539         void clearCatalog ();
00540         
00541 
00542 
00543         
00544         // ===> Attribute deltaVel, which is optional
00545         
00546         
00547         
00552         bool isDeltaVelExists() const;
00553         
00554 
00555         
00561         Speed getDeltaVel() const;
00562         
00563  
00564         
00565         
00572         void setDeltaVel (Speed deltaVel);
00573                 
00574         
00575         
00576         
00580         void clearDeltaVel ();
00581         
00582 
00583 
00584         
00585         // ===> Attribute position, which is optional
00586         
00587         
00588         
00593         bool isPositionExists() const;
00594         
00595 
00596         
00602         vector<Length > getPosition() const;
00603         
00604  
00605         
00606         
00613         void setPosition (vector<Length > position);
00614                 
00615         
00616         
00617         
00621         void clearPosition ();
00622         
00623 
00624 
00625         
00626         // ===> Attribute numLines, which is optional
00627         
00628         
00629         
00634         bool isNumLinesExists() const;
00635         
00636 
00637         
00643         int getNumLines() const;
00644         
00645  
00646         
00647         
00654         void setNumLines (int numLines);
00655                 
00656         
00657         
00658         
00662         void clearNumLines ();
00663         
00664 
00665 
00666         
00667         // ===> Attribute transition, which is optional
00668         
00669         
00670         
00675         bool isTransitionExists() const;
00676         
00677 
00678         
00684         vector<string > getTransition() const;
00685         
00686  
00687         
00688         
00695         void setTransition (vector<string > transition);
00696                 
00697         
00698         
00699         
00703         void clearTransition ();
00704         
00705 
00706 
00707         
00708         // ===> Attribute restFrequency, which is optional
00709         
00710         
00711         
00716         bool isRestFrequencyExists() const;
00717         
00718 
00719         
00725         vector<Frequency > getRestFrequency() const;
00726         
00727  
00728         
00729         
00736         void setRestFrequency (vector<Frequency > restFrequency);
00737                 
00738         
00739         
00740         
00744         void clearRestFrequency ();
00745         
00746 
00747 
00748         
00749         // ===> Attribute sysVel, which is optional
00750         
00751         
00752         
00757         bool isSysVelExists() const;
00758         
00759 
00760         
00766         vector<Speed > getSysVel() const;
00767         
00768  
00769         
00770         
00777         void setSysVel (vector<Speed > sysVel);
00778                 
00779         
00780         
00781         
00785         void clearSysVel ();
00786         
00787 
00788 
00789         
00790         // ===> Attribute rangeVel, which is optional
00791         
00792         
00793         
00798         bool isRangeVelExists() const;
00799         
00800 
00801         
00807         vector<Speed > getRangeVel() const;
00808         
00809  
00810         
00811         
00818         void setRangeVel (vector<Speed > rangeVel);
00819                 
00820         
00821         
00822         
00826         void clearRangeVel ();
00827         
00828 
00829 
00830         
00831         // ===> Attribute sourceModel, which is optional
00832         
00833         
00834         
00839         bool isSourceModelExists() const;
00840         
00841 
00842         
00848         SourceModelMod::SourceModel getSourceModel() const;
00849         
00850  
00851         
00852         
00859         void setSourceModel (SourceModelMod::SourceModel sourceModel);
00860                 
00861         
00862         
00863         
00867         void clearSourceModel ();
00868         
00869 
00870 
00871         
00872         // ===> Attribute frequencyRefCode, which is optional
00873         
00874         
00875         
00880         bool isFrequencyRefCodeExists() const;
00881         
00882 
00883         
00889         FrequencyReferenceCodeMod::FrequencyReferenceCode getFrequencyRefCode() const;
00890         
00891  
00892         
00893         
00900         void setFrequencyRefCode (FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode);
00901                 
00902         
00903         
00904         
00908         void clearFrequencyRefCode ();
00909         
00910 
00911 
00912         
00913         // ===> Attribute numFreq, which is optional
00914         
00915         
00916         
00921         bool isNumFreqExists() const;
00922         
00923 
00924         
00930         int getNumFreq() const;
00931         
00932  
00933         
00934         
00941         void setNumFreq (int numFreq);
00942                 
00943         
00944         
00945         
00949         void clearNumFreq ();
00950         
00951 
00952 
00953         
00954         // ===> Attribute numStokes, which is optional
00955         
00956         
00957         
00962         bool isNumStokesExists() const;
00963         
00964 
00965         
00971         int getNumStokes() const;
00972         
00973  
00974         
00975         
00982         void setNumStokes (int numStokes);
00983                 
00984         
00985         
00986         
00990         void clearNumStokes ();
00991         
00992 
00993 
00994         
00995         // ===> Attribute frequency, which is optional
00996         
00997         
00998         
01003         bool isFrequencyExists() const;
01004         
01005 
01006         
01012         vector<Frequency > getFrequency() const;
01013         
01014  
01015         
01016         
01023         void setFrequency (vector<Frequency > frequency);
01024                 
01025         
01026         
01027         
01031         void clearFrequency ();
01032         
01033 
01034 
01035         
01036         // ===> Attribute frequencyInterval, which is optional
01037         
01038         
01039         
01044         bool isFrequencyIntervalExists() const;
01045         
01046 
01047         
01053         vector<Frequency > getFrequencyInterval() const;
01054         
01055  
01056         
01057         
01064         void setFrequencyInterval (vector<Frequency > frequencyInterval);
01065                 
01066         
01067         
01068         
01072         void clearFrequencyInterval ();
01073         
01074 
01075 
01076         
01077         // ===> Attribute stokesParameter, which is optional
01078         
01079         
01080         
01085         bool isStokesParameterExists() const;
01086         
01087 
01088         
01094         vector<StokesParameterMod::StokesParameter > getStokesParameter() const;
01095         
01096  
01097         
01098         
01105         void setStokesParameter (vector<StokesParameterMod::StokesParameter > stokesParameter);
01106                 
01107         
01108         
01109         
01113         void clearStokesParameter ();
01114         
01115 
01116 
01117         
01118         // ===> Attribute flux, which is optional
01119         
01120         
01121         
01126         bool isFluxExists() const;
01127         
01128 
01129         
01135         vector<vector<Flux > > getFlux() const;
01136         
01137  
01138         
01139         
01146         void setFlux (vector<vector<Flux > > flux);
01147                 
01148         
01149         
01150         
01154         void clearFlux ();
01155         
01156 
01157 
01158         
01159         // ===> Attribute fluxErr, which is optional
01160         
01161         
01162         
01167         bool isFluxErrExists() const;
01168         
01169 
01170         
01176         vector<vector<Flux > > getFluxErr() const;
01177         
01178  
01179         
01180         
01187         void setFluxErr (vector<vector<Flux > > fluxErr);
01188                 
01189         
01190         
01191         
01195         void clearFluxErr ();
01196         
01197 
01198 
01199         
01200         // ===> Attribute positionAngle, which is optional
01201         
01202         
01203         
01208         bool isPositionAngleExists() const;
01209         
01210 
01211         
01217         vector<Angle > getPositionAngle() const;
01218         
01219  
01220         
01221         
01228         void setPositionAngle (vector<Angle > positionAngle);
01229                 
01230         
01231         
01232         
01236         void clearPositionAngle ();
01237         
01238 
01239 
01240         
01241         // ===> Attribute positionAngleErr, which is optional
01242         
01243         
01244         
01249         bool isPositionAngleErrExists() const;
01250         
01251 
01252         
01258         vector<Angle > getPositionAngleErr() const;
01259         
01260  
01261         
01262         
01269         void setPositionAngleErr (vector<Angle > positionAngleErr);
01270                 
01271         
01272         
01273         
01277         void clearPositionAngleErr ();
01278         
01279 
01280 
01281         
01282         // ===> Attribute size, which is optional
01283         
01284         
01285         
01290         bool isSizeExists() const;
01291         
01292 
01293         
01299         vector<vector<Angle > > getSize() const;
01300         
01301  
01302         
01303         
01310         void setSize (vector<vector<Angle > > size);
01311                 
01312         
01313         
01314         
01318         void clearSize ();
01319         
01320 
01321 
01322         
01323         // ===> Attribute sizeErr, which is optional
01324         
01325         
01326         
01331         bool isSizeErrExists() const;
01332         
01333 
01334         
01340         vector<vector<Angle > > getSizeErr() const;
01341         
01342  
01343         
01344         
01351         void setSizeErr (vector<vector<Angle > > sizeErr);
01352                 
01353         
01354         
01355         
01359         void clearSizeErr ();
01360         
01361 
01362 
01364         // Extrinsic Table Attributes //
01366         
01367         
01368         // ===> Attribute spectralWindowId
01369         
01370         
01371         
01372 
01373         
01378         Tag getSpectralWindowId() const;
01379         
01380  
01381         
01382         
01392         void setSpectralWindowId (Tag spectralWindowId);
01393                 
01394         
01395         
01396         
01397 
01398 
01400         // Links //
01402         
01403         
01404 
01405         
01406                 
01413          SpectralWindowRow* getSpectralWindowUsingSpectralWindowId();
01414          
01415 
01416         
01417 
01418         
01419         
01420         
01438         bool compareNoAutoInc(ArrayTimeInterval timeInterval, Tag spectralWindowId, string code, vector<Angle > direction, vector<AngularRate > properMotion, string sourceName);
01439         
01440         
01441 
01442         
01456         bool compareRequiredValue(string code, vector<Angle > direction, vector<AngularRate > properMotion, string sourceName); 
01457                  
01458         
01467         bool equalByRequiredValue(SourceRow* x) ;
01468         
01469 #ifndef WITHOUT_ACS
01470 
01474         SourceRowIDL *toIDL() const;
01475 #endif
01476         
01477 #ifndef WITHOUT_ACS
01478 
01483         void setFromIDL (SourceRowIDL x) ;
01484 #endif
01485         
01490         string toXML() const;
01491 
01498         void setFromXML (string rowDoc) ;       
01499 
01500 private:
01504         SourceTable &table;
01508         bool hasBeenAdded;
01509 
01510         // This method is used by the Table class when this row is added to the table.
01511         void isAdded(bool added);
01512 
01513 
01522         SourceRow (SourceTable &table);
01523 
01541          SourceRow (SourceTable &table, SourceRow &row);
01542                 
01544         // Intrinsic Table Attributes //
01546         
01547         
01548         // ===> Attribute sourceId
01549         
01550         
01551 
01552         int sourceId;
01553 
01554         
01555         
01556         
01566         void setSourceId (int sourceId);
01567                 
01568         
01569 
01570         
01571         // ===> Attribute timeInterval
01572         
01573         
01574 
01575         ArrayTimeInterval timeInterval;
01576 
01577         
01578         
01579         
01580 
01581         
01582         // ===> Attribute code
01583         
01584         
01585 
01586         string code;
01587 
01588         
01589         
01590         
01591 
01592         
01593         // ===> Attribute direction
01594         
01595         
01596 
01597         vector<Angle > direction;
01598 
01599         
01600         
01601         
01602 
01603         
01604         // ===> Attribute properMotion
01605         
01606         
01607 
01608         vector<AngularRate > properMotion;
01609 
01610         
01611         
01612         
01613 
01614         
01615         // ===> Attribute sourceName
01616         
01617         
01618 
01619         string sourceName;
01620 
01621         
01622         
01623         
01624 
01625         
01626         // ===> Attribute directionCode, which is optional
01627         
01628         
01629         bool directionCodeExists;
01630         
01631 
01632         DirectionReferenceCodeMod::DirectionReferenceCode directionCode;
01633 
01634         
01635         
01636         
01637 
01638         
01639         // ===> Attribute directionEquinox, which is optional
01640         
01641         
01642         bool directionEquinoxExists;
01643         
01644 
01645         ArrayTime directionEquinox;
01646 
01647         
01648         
01649         
01650 
01651         
01652         // ===> Attribute calibrationGroup, which is optional
01653         
01654         
01655         bool calibrationGroupExists;
01656         
01657 
01658         int calibrationGroup;
01659 
01660         
01661         
01662         
01663 
01664         
01665         // ===> Attribute catalog, which is optional
01666         
01667         
01668         bool catalogExists;
01669         
01670 
01671         string catalog;
01672 
01673         
01674         
01675         
01676 
01677         
01678         // ===> Attribute deltaVel, which is optional
01679         
01680         
01681         bool deltaVelExists;
01682         
01683 
01684         Speed deltaVel;
01685 
01686         
01687         
01688         
01689 
01690         
01691         // ===> Attribute position, which is optional
01692         
01693         
01694         bool positionExists;
01695         
01696 
01697         vector<Length > position;
01698 
01699         
01700         
01701         
01702 
01703         
01704         // ===> Attribute numLines, which is optional
01705         
01706         
01707         bool numLinesExists;
01708         
01709 
01710         int numLines;
01711 
01712         
01713         
01714         
01715 
01716         
01717         // ===> Attribute transition, which is optional
01718         
01719         
01720         bool transitionExists;
01721         
01722 
01723         vector<string > transition;
01724 
01725         
01726         
01727         
01728 
01729         
01730         // ===> Attribute restFrequency, which is optional
01731         
01732         
01733         bool restFrequencyExists;
01734         
01735 
01736         vector<Frequency > restFrequency;
01737 
01738         
01739         
01740         
01741 
01742         
01743         // ===> Attribute sysVel, which is optional
01744         
01745         
01746         bool sysVelExists;
01747         
01748 
01749         vector<Speed > sysVel;
01750 
01751         
01752         
01753         
01754 
01755         
01756         // ===> Attribute rangeVel, which is optional
01757         
01758         
01759         bool rangeVelExists;
01760         
01761 
01762         vector<Speed > rangeVel;
01763 
01764         
01765         
01766         
01767 
01768         
01769         // ===> Attribute sourceModel, which is optional
01770         
01771         
01772         bool sourceModelExists;
01773         
01774 
01775         SourceModelMod::SourceModel sourceModel;
01776 
01777         
01778         
01779         
01780 
01781         
01782         // ===> Attribute frequencyRefCode, which is optional
01783         
01784         
01785         bool frequencyRefCodeExists;
01786         
01787 
01788         FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode;
01789 
01790         
01791         
01792         
01793 
01794         
01795         // ===> Attribute numFreq, which is optional
01796         
01797         
01798         bool numFreqExists;
01799         
01800 
01801         int numFreq;
01802 
01803         
01804         
01805         
01806 
01807         
01808         // ===> Attribute numStokes, which is optional
01809         
01810         
01811         bool numStokesExists;
01812         
01813 
01814         int numStokes;
01815 
01816         
01817         
01818         
01819 
01820         
01821         // ===> Attribute frequency, which is optional
01822         
01823         
01824         bool frequencyExists;
01825         
01826 
01827         vector<Frequency > frequency;
01828 
01829         
01830         
01831         
01832 
01833         
01834         // ===> Attribute frequencyInterval, which is optional
01835         
01836         
01837         bool frequencyIntervalExists;
01838         
01839 
01840         vector<Frequency > frequencyInterval;
01841 
01842         
01843         
01844         
01845 
01846         
01847         // ===> Attribute stokesParameter, which is optional
01848         
01849         
01850         bool stokesParameterExists;
01851         
01852 
01853         vector<StokesParameterMod::StokesParameter > stokesParameter;
01854 
01855         
01856         
01857         
01858 
01859         
01860         // ===> Attribute flux, which is optional
01861         
01862         
01863         bool fluxExists;
01864         
01865 
01866         vector<vector<Flux > > flux;
01867 
01868         
01869         
01870         
01871 
01872         
01873         // ===> Attribute fluxErr, which is optional
01874         
01875         
01876         bool fluxErrExists;
01877         
01878 
01879         vector<vector<Flux > > fluxErr;
01880 
01881         
01882         
01883         
01884 
01885         
01886         // ===> Attribute positionAngle, which is optional
01887         
01888         
01889         bool positionAngleExists;
01890         
01891 
01892         vector<Angle > positionAngle;
01893 
01894         
01895         
01896         
01897 
01898         
01899         // ===> Attribute positionAngleErr, which is optional
01900         
01901         
01902         bool positionAngleErrExists;
01903         
01904 
01905         vector<Angle > positionAngleErr;
01906 
01907         
01908         
01909         
01910 
01911         
01912         // ===> Attribute size, which is optional
01913         
01914         
01915         bool sizeExists;
01916         
01917 
01918         vector<vector<Angle > > size;
01919 
01920         
01921         
01922         
01923 
01924         
01925         // ===> Attribute sizeErr, which is optional
01926         
01927         
01928         bool sizeErrExists;
01929         
01930 
01931         vector<vector<Angle > > sizeErr;
01932 
01933         
01934         
01935         
01936 
01938         // Extrinsic Table Attributes //
01940         
01941         
01942         // ===> Attribute spectralWindowId
01943         
01944         
01945 
01946         Tag spectralWindowId;
01947 
01948         
01949         
01950         
01951 
01953         // Links //
01955         
01956         
01957                 
01958 
01959          
01960 
01961         
01962 
01963         
01965         // binary-deserialization material//
01967         map<string, SourceAttributeFromBin> fromBinMethods;
01968 void sourceIdFromBin( EndianISStream& eiss);
01969 void timeIntervalFromBin( EndianISStream& eiss);
01970 void spectralWindowIdFromBin( EndianISStream& eiss);
01971 void codeFromBin( EndianISStream& eiss);
01972 void directionFromBin( EndianISStream& eiss);
01973 void properMotionFromBin( EndianISStream& eiss);
01974 void sourceNameFromBin( EndianISStream& eiss);
01975 
01976 void directionCodeFromBin( EndianISStream& eiss);
01977 void directionEquinoxFromBin( EndianISStream& eiss);
01978 void calibrationGroupFromBin( EndianISStream& eiss);
01979 void catalogFromBin( EndianISStream& eiss);
01980 void deltaVelFromBin( EndianISStream& eiss);
01981 void positionFromBin( EndianISStream& eiss);
01982 void numLinesFromBin( EndianISStream& eiss);
01983 void transitionFromBin( EndianISStream& eiss);
01984 void restFrequencyFromBin( EndianISStream& eiss);
01985 void sysVelFromBin( EndianISStream& eiss);
01986 void rangeVelFromBin( EndianISStream& eiss);
01987 void sourceModelFromBin( EndianISStream& eiss);
01988 void frequencyRefCodeFromBin( EndianISStream& eiss);
01989 void numFreqFromBin( EndianISStream& eiss);
01990 void numStokesFromBin( EndianISStream& eiss);
01991 void frequencyFromBin( EndianISStream& eiss);
01992 void frequencyIntervalFromBin( EndianISStream& eiss);
01993 void stokesParameterFromBin( EndianISStream& eiss);
01994 void fluxFromBin( EndianISStream& eiss);
01995 void fluxErrFromBin( EndianISStream& eiss);
01996 void positionAngleFromBin( EndianISStream& eiss);
01997 void positionAngleErrFromBin( EndianISStream& eiss);
01998 void sizeFromBin( EndianISStream& eiss);
01999 void sizeErrFromBin( EndianISStream& eiss);
02000         
02001         
02006          void toBin(EndianOSStream& eoss);
02007                  
02015          static SourceRow* fromBin(EndianISStream& eiss, SourceTable& table, const vector<string>& attributesSeq);       
02016 
02017 };
02018 
02019 } // End namespace asdm
02020 
02021 #endif /* Source_CLASS */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines