casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
asdm::SourceRow Class Reference

The SourceRow class is a row of a SourceTable. More...

#include <SourceRow.h>

Public Member Functions

virtual ~SourceRow ()
 friend class asdm::TableStreamReader<SourceTable, SourceRow>; More...
 
SourceTablegetTable () const
 Return the table to which this row belongs. More...
 
bool isAdded () const
 Has this row been added to its table ? More...
 
ArrayTimeInterval getTimeInterval () const
 ===> Attribute timeInterval More...
 
void setTimeInterval (ArrayTimeInterval timeInterval)
 Set timeInterval with the specified ArrayTimeInterval. More...
 
std::string getCode () const
 ===> Attribute code More...
 
void setCode (std::string code)
 Set code with the specified std::string. More...
 
std::vector< AnglegetDirection () const
 ===> Attribute direction More...
 
void setDirection (std::vector< Angle > direction)
 Set direction with the specified std::vector<Angle >. More...
 
std::vector< AngularRategetProperMotion () const
 ===> Attribute properMotion More...
 
void setProperMotion (std::vector< AngularRate > properMotion)
 Set properMotion with the specified std::vector<AngularRate >. More...
 
std::string getSourceName () const
 ===> Attribute sourceName More...
 
void setSourceName (std::string sourceName)
 Set sourceName with the specified std::string. More...
 
bool isDirectionCodeExists () const
 ===> Attribute directionCode, which is optional More...
 
DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode () const
 Get directionCode, which is optional. More...
 
void setDirectionCode (DirectionReferenceCodeMod::DirectionReferenceCode directionCode)
 Set directionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode. More...
 
void clearDirectionCode ()
 Mark directionCode, which is an optional field, as non-existent. More...
 
bool isDirectionEquinoxExists () const
 ===> Attribute directionEquinox, which is optional More...
 
ArrayTime getDirectionEquinox () const
 Get directionEquinox, which is optional. More...
 
void setDirectionEquinox (ArrayTime directionEquinox)
 Set directionEquinox with the specified ArrayTime. More...
 
void clearDirectionEquinox ()
 Mark directionEquinox, which is an optional field, as non-existent. More...
 
bool isCalibrationGroupExists () const
 ===> Attribute calibrationGroup, which is optional More...
 
int getCalibrationGroup () const
 Get calibrationGroup, which is optional. More...
 
void setCalibrationGroup (int calibrationGroup)
 Set calibrationGroup with the specified int. More...
 
void clearCalibrationGroup ()
 Mark calibrationGroup, which is an optional field, as non-existent. More...
 
bool isCatalogExists () const
 ===> Attribute catalog, which is optional More...
 
std::string getCatalog () const
 Get catalog, which is optional. More...
 
void setCatalog (std::string catalog)
 Set catalog with the specified std::string. More...
 
void clearCatalog ()
 Mark catalog, which is an optional field, as non-existent. More...
 
bool isDeltaVelExists () const
 ===> Attribute deltaVel, which is optional More...
 
Speed getDeltaVel () const
 Get deltaVel, which is optional. More...
 
void setDeltaVel (Speed deltaVel)
 Set deltaVel with the specified Speed. More...
 
void clearDeltaVel ()
 Mark deltaVel, which is an optional field, as non-existent. More...
 
bool isPositionExists () const
 ===> Attribute position, which is optional More...
 
std::vector< LengthgetPosition () const
 Get position, which is optional. More...
 
void setPosition (std::vector< Length > position)
 Set position with the specified std::vector<Length >. More...
 
void clearPosition ()
 Mark position, which is an optional field, as non-existent. More...
 
bool isNumLinesExists () const
 ===> Attribute numLines, which is optional More...
 
int getNumLines () const
 Get numLines, which is optional. More...
 
void setNumLines (int numLines)
 Set numLines with the specified int. More...
 
void clearNumLines ()
 Mark numLines, which is an optional field, as non-existent. More...
 
bool isTransitionExists () const
 ===> Attribute transition, which is optional More...
 
std::vector< std::string > getTransition () const
 Get transition, which is optional. More...
 
void setTransition (std::vector< std::string > transition)
 Set transition with the specified std::vector<std::string >. More...
 
void clearTransition ()
 Mark transition, which is an optional field, as non-existent. More...
 
bool isRestFrequencyExists () const
 ===> Attribute restFrequency, which is optional More...
 
std::vector< FrequencygetRestFrequency () const
 Get restFrequency, which is optional. More...
 
void setRestFrequency (std::vector< Frequency > restFrequency)
 Set restFrequency with the specified std::vector<Frequency >. More...
 
void clearRestFrequency ()
 Mark restFrequency, which is an optional field, as non-existent. More...
 
bool isSysVelExists () const
 ===> Attribute sysVel, which is optional More...
 
std::vector< SpeedgetSysVel () const
 Get sysVel, which is optional. More...
 
void setSysVel (std::vector< Speed > sysVel)
 Set sysVel with the specified std::vector<Speed >. More...
 
void clearSysVel ()
 Mark sysVel, which is an optional field, as non-existent. More...
 
bool isRangeVelExists () const
 ===> Attribute rangeVel, which is optional More...
 
std::vector< SpeedgetRangeVel () const
 Get rangeVel, which is optional. More...
 
void setRangeVel (std::vector< Speed > rangeVel)
 Set rangeVel with the specified std::vector<Speed >. More...
 
void clearRangeVel ()
 Mark rangeVel, which is an optional field, as non-existent. More...
 
bool isSourceModelExists () const
 ===> Attribute sourceModel, which is optional More...
 
SourceModelMod::SourceModel getSourceModel () const
 Get sourceModel, which is optional. More...
 
void setSourceModel (SourceModelMod::SourceModel sourceModel)
 Set sourceModel with the specified SourceModelMod::SourceModel. More...
 
void clearSourceModel ()
 Mark sourceModel, which is an optional field, as non-existent. More...
 
bool isFrequencyRefCodeExists () const
 ===> Attribute frequencyRefCode, which is optional More...
 
FrequencyReferenceCodeMod::FrequencyReferenceCode getFrequencyRefCode () const
 Get frequencyRefCode, which is optional. More...
 
void setFrequencyRefCode (FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode)
 Set frequencyRefCode with the specified FrequencyReferenceCodeMod::FrequencyReferenceCode. More...
 
void clearFrequencyRefCode ()
 Mark frequencyRefCode, which is an optional field, as non-existent. More...
 
bool isNumFreqExists () const
 ===> Attribute numFreq, which is optional More...
 
int getNumFreq () const
 Get numFreq, which is optional. More...
 
void setNumFreq (int numFreq)
 Set numFreq with the specified int. More...
 
void clearNumFreq ()
 Mark numFreq, which is an optional field, as non-existent. More...
 
bool isNumStokesExists () const
 ===> Attribute numStokes, which is optional More...
 
int getNumStokes () const
 Get numStokes, which is optional. More...
 
void setNumStokes (int numStokes)
 Set numStokes with the specified int. More...
 
void clearNumStokes ()
 Mark numStokes, which is an optional field, as non-existent. More...
 
bool isFrequencyExists () const
 ===> Attribute frequency, which is optional More...
 
std::vector< FrequencygetFrequency () const
 Get frequency, which is optional. More...
 
void setFrequency (std::vector< Frequency > frequency)
 Set frequency with the specified std::vector<Frequency >. More...
 
void clearFrequency ()
 Mark frequency, which is an optional field, as non-existent. More...
 
bool isFrequencyIntervalExists () const
 ===> Attribute frequencyInterval, which is optional More...
 
std::vector< FrequencygetFrequencyInterval () const
 Get frequencyInterval, which is optional. More...
 
void setFrequencyInterval (std::vector< Frequency > frequencyInterval)
 Set frequencyInterval with the specified std::vector<Frequency >. More...
 
void clearFrequencyInterval ()
 Mark frequencyInterval, which is an optional field, as non-existent. More...
 
bool isStokesParameterExists () const
 ===> Attribute stokesParameter, which is optional More...
 
std::vector
< StokesParameterMod::StokesParameter > 
getStokesParameter () const
 Get stokesParameter, which is optional. More...
 
void setStokesParameter (std::vector< StokesParameterMod::StokesParameter > stokesParameter)
 Set stokesParameter with the specified std::vector<StokesParameterMod::StokesParameter >. More...
 
void clearStokesParameter ()
 Mark stokesParameter, which is an optional field, as non-existent. More...
 
bool isFluxExists () const
 ===> Attribute flux, which is optional More...
 
std::vector< std::vector< Flux > > getFlux () const
 Get flux, which is optional. More...
 
void setFlux (std::vector< std::vector< Flux > > flux)
 Set flux with the specified std::vector<std::vector<Flux > >. More...
 
void clearFlux ()
 Mark flux, which is an optional field, as non-existent. More...
 
bool isFluxErrExists () const
 ===> Attribute fluxErr, which is optional More...
 
std::vector< std::vector< Flux > > getFluxErr () const
 Get fluxErr, which is optional. More...
 
void setFluxErr (std::vector< std::vector< Flux > > fluxErr)
 Set fluxErr with the specified std::vector<std::vector<Flux > >. More...
 
void clearFluxErr ()
 Mark fluxErr, which is an optional field, as non-existent. More...
 
bool isPositionAngleExists () const
 ===> Attribute positionAngle, which is optional More...
 
std::vector< AnglegetPositionAngle () const
 Get positionAngle, which is optional. More...
 
void setPositionAngle (std::vector< Angle > positionAngle)
 Set positionAngle with the specified std::vector<Angle >. More...
 
void clearPositionAngle ()
 Mark positionAngle, which is an optional field, as non-existent. More...
 
bool isPositionAngleErrExists () const
 ===> Attribute positionAngleErr, which is optional More...
 
std::vector< AnglegetPositionAngleErr () const
 Get positionAngleErr, which is optional. More...
 
void setPositionAngleErr (std::vector< Angle > positionAngleErr)
 Set positionAngleErr with the specified std::vector<Angle >. More...
 
void clearPositionAngleErr ()
 Mark positionAngleErr, which is an optional field, as non-existent. More...
 
bool isSizeExists () const
 ===> Attribute size, which is optional More...
 
std::vector< std::vector< Angle > > getSize () const
 Get size, which is optional. More...
 
void setSize (std::vector< std::vector< Angle > > size)
 Set size with the specified std::vector<std::vector<Angle > >. More...
 
void clearSize ()
 Mark size, which is an optional field, as non-existent. More...
 
bool isSizeErrExists () const
 ===> Attribute sizeErr, which is optional More...
 
std::vector< std::vector< Angle > > getSizeErr () const
 Get sizeErr, which is optional. More...
 
void setSizeErr (std::vector< std::vector< Angle > > sizeErr)
 Set sizeErr with the specified std::vector<std::vector<Angle > >. More...
 
void clearSizeErr ()
 Mark sizeErr, which is an optional field, as non-existent. More...
 
bool isVelRefCodeExists () const
 ===> Attribute velRefCode, which is optional More...
 
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getVelRefCode () const
 Get velRefCode, which is optional. More...
 
void setVelRefCode (RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode)
 Set velRefCode with the specified RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode. More...
 
void clearVelRefCode ()
 Mark velRefCode, which is an optional field, as non-existent. More...
 
bool isDopplerVelocityExists () const
 ===> Attribute dopplerVelocity, which is optional More...
 
std::vector< SpeedgetDopplerVelocity () const
 Get dopplerVelocity, which is optional. More...
 
void setDopplerVelocity (std::vector< Speed > dopplerVelocity)
 Set dopplerVelocity with the specified std::vector<Speed >. More...
 
void clearDopplerVelocity ()
 Mark dopplerVelocity, which is an optional field, as non-existent. More...
 
bool isDopplerReferenceSystemExists () const
 ===> Attribute dopplerReferenceSystem, which is optional More...
 
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getDopplerReferenceSystem () const
 Get dopplerReferenceSystem, which is optional. More...
 
void setDopplerReferenceSystem (RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem)
 Set dopplerReferenceSystem with the specified RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode. More...
 
void clearDopplerReferenceSystem ()
 Mark dopplerReferenceSystem, which is an optional field, as non-existent. More...
 
bool isDopplerCalcTypeExists () const
 ===> Attribute dopplerCalcType, which is optional More...
 
DopplerReferenceCodeMod::DopplerReferenceCode getDopplerCalcType () const
 Get dopplerCalcType, which is optional. More...
 
void setDopplerCalcType (DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType)
 Set dopplerCalcType with the specified DopplerReferenceCodeMod::DopplerReferenceCode. More...
 
void clearDopplerCalcType ()
 Mark dopplerCalcType, which is an optional field, as non-existent. More...
 
bool isParallaxExists () const
 ===> Attribute parallax, which is optional More...
 
std::vector< AnglegetParallax () const
 Get parallax, which is optional. More...
 
void setParallax (std::vector< Angle > parallax)
 Set parallax with the specified std::vector<Angle >. More...
 
void clearParallax ()
 Mark parallax, which is an optional field, as non-existent. More...
 
void setSpectralWindowId (Tag spectralWindowId)
 Set spectralWindowId with the specified Tag. More...
 
Links *SpectralWindowRowgetSpectralWindowUsingSpectralWindowId ()
 spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId More...
 
bool compareNoAutoInc (ArrayTimeInterval timeInterval, Tag spectralWindowId, std::string code, std::vector< Angle > direction, std::vector< AngularRate > properMotion, std::string sourceName)
 Compare each mandatory attribute except the autoincrementable one of this SourceRow with the corresponding parameters and return true if there is a match and false otherwise. More...
 
bool compareRequiredValue (std::string code, std::vector< Angle > direction, std::vector< AngularRate > properMotion, std::string sourceName)
 Compare each mandatory value (i.e. More...
 
bool equalByRequiredValue (SourceRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More...
 
asdmIDL::SourceRowIDL * toIDL () const
 Return this row in the form of an IDL struct. More...
 
void toIDL (asdmIDL::SourceRowIDL &x) const
 Define the content of a SourceRowIDL struct from the values found in this row. More...
 
void setFromIDL (asdmIDL::SourceRowIDL x)
 Fill the values of this row from the IDL struct SourceRowIDL. More...
 
std::string toXML () const
 Return this row in the form of an XML string. More...
 
void setFromXML (std::string rowDoc)
 Fill the values of this row from an XML string that was produced by the toXML() method. More...
 

Public Attributes

Intrinsic Table Attributes
 
Extrinsic Table Attributes
 

Private Member Functions

void isAdded (bool added)
 This method is used by the Table class when this row is added to the table. More...
 
 SourceRow (SourceTable &table)
 Create a SourceRow. More...
 
 SourceRow (SourceTable &table, SourceRow *row)
 Create a SourceRow using a copy constructor mechanism. More...
 
void setSourceId (int sourceId)
 Set sourceId with the specified int value. More...
 
void sourceIdFromBin (EndianIStream &eis)
 
void timeIntervalFromBin (EndianIStream &eis)
 
void spectralWindowIdFromBin (EndianIStream &eis)
 
void codeFromBin (EndianIStream &eis)
 
void directionFromBin (EndianIStream &eis)
 
void properMotionFromBin (EndianIStream &eis)
 
void sourceNameFromBin (EndianIStream &eis)
 
void directionCodeFromBin (EndianIStream &eis)
 
void directionEquinoxFromBin (EndianIStream &eis)
 
void calibrationGroupFromBin (EndianIStream &eis)
 
void catalogFromBin (EndianIStream &eis)
 
void deltaVelFromBin (EndianIStream &eis)
 
void positionFromBin (EndianIStream &eis)
 
void numLinesFromBin (EndianIStream &eis)
 
void transitionFromBin (EndianIStream &eis)
 
void restFrequencyFromBin (EndianIStream &eis)
 
void sysVelFromBin (EndianIStream &eis)
 
void rangeVelFromBin (EndianIStream &eis)
 
void sourceModelFromBin (EndianIStream &eis)
 
void frequencyRefCodeFromBin (EndianIStream &eis)
 
void numFreqFromBin (EndianIStream &eis)
 
void numStokesFromBin (EndianIStream &eis)
 
void frequencyFromBin (EndianIStream &eis)
 
void frequencyIntervalFromBin (EndianIStream &eis)
 
void stokesParameterFromBin (EndianIStream &eis)
 
void fluxFromBin (EndianIStream &eis)
 
void fluxErrFromBin (EndianIStream &eis)
 
void positionAngleFromBin (EndianIStream &eis)
 
void positionAngleErrFromBin (EndianIStream &eis)
 
void sizeFromBin (EndianIStream &eis)
 
void sizeErrFromBin (EndianIStream &eis)
 
void velRefCodeFromBin (EndianIStream &eis)
 
void dopplerVelocityFromBin (EndianIStream &eis)
 
void dopplerReferenceSystemFromBin (EndianIStream &eis)
 
void dopplerCalcTypeFromBin (EndianIStream &eis)
 
void parallaxFromBin (EndianIStream &eis)
 
void sourceIdFromText (const std::string &s)
 
void timeIntervalFromText (const std::string &s)
 
void spectralWindowIdFromText (const std::string &s)
 
void codeFromText (const std::string &s)
 
void directionFromText (const std::string &s)
 
void properMotionFromText (const std::string &s)
 
void sourceNameFromText (const std::string &s)
 
void directionCodeFromText (const std::string &s)
 
void directionEquinoxFromText (const std::string &s)
 
void calibrationGroupFromText (const std::string &s)
 
void catalogFromText (const std::string &s)
 
void deltaVelFromText (const std::string &s)
 
void positionFromText (const std::string &s)
 
void numLinesFromText (const std::string &s)
 
void transitionFromText (const std::string &s)
 
void restFrequencyFromText (const std::string &s)
 
void sysVelFromText (const std::string &s)
 
void rangeVelFromText (const std::string &s)
 
void sourceModelFromText (const std::string &s)
 
void frequencyRefCodeFromText (const std::string &s)
 
void numFreqFromText (const std::string &s)
 
void numStokesFromText (const std::string &s)
 
void frequencyFromText (const std::string &s)
 
void frequencyIntervalFromText (const std::string &s)
 
void stokesParameterFromText (const std::string &s)
 
void fluxFromText (const std::string &s)
 
void fluxErrFromText (const std::string &s)
 
void positionAngleFromText (const std::string &s)
 
void positionAngleErrFromText (const std::string &s)
 
void sizeFromText (const std::string &s)
 
void sizeErrFromText (const std::string &s)
 
void velRefCodeFromText (const std::string &s)
 
void dopplerVelocityFromText (const std::string &s)
 
void dopplerReferenceSystemFromText (const std::string &s)
 
void dopplerCalcTypeFromText (const std::string &s)
 
void parallaxFromText (const std::string &s)
 
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream. More...
 

Private Attributes

SourceTabletable
 The table to which this row belongs. More...
 
bool hasBeenAdded
 Whether this row has been added to the table or not. More...
 
ArrayTimeInterval timeInterval
 ===> Attribute timeInterval More...
 
std::string code
 ===> Attribute code More...
 
std::vector< Angledirection
 ===> Attribute direction More...
 
std::vector< AngularRateproperMotion
 ===> Attribute properMotion More...
 
std::string sourceName
 ===> Attribute sourceName More...
 
bool directionCodeExists
 ===> Attribute directionCode, which is optional More...
 
DirectionReferenceCodeMod::DirectionReferenceCode directionCode
 
bool directionEquinoxExists
 ===> Attribute directionEquinox, which is optional More...
 
ArrayTime directionEquinox
 
bool calibrationGroupExists
 ===> Attribute calibrationGroup, which is optional More...
 
int calibrationGroup
 
bool catalogExists
 ===> Attribute catalog, which is optional More...
 
std::string catalog
 
bool deltaVelExists
 ===> Attribute deltaVel, which is optional More...
 
Speed deltaVel
 
bool positionExists
 ===> Attribute position, which is optional More...
 
std::vector< Lengthposition
 
bool numLinesExists
 ===> Attribute numLines, which is optional More...
 
int numLines
 
bool transitionExists
 ===> Attribute transition, which is optional More...
 
std::vector< std::string > transition
 
bool restFrequencyExists
 ===> Attribute restFrequency, which is optional More...
 
std::vector< FrequencyrestFrequency
 
bool sysVelExists
 ===> Attribute sysVel, which is optional More...
 
std::vector< SpeedsysVel
 
bool rangeVelExists
 ===> Attribute rangeVel, which is optional More...
 
std::vector< SpeedrangeVel
 
bool sourceModelExists
 ===> Attribute sourceModel, which is optional More...
 
SourceModelMod::SourceModel sourceModel
 
bool frequencyRefCodeExists
 ===> Attribute frequencyRefCode, which is optional More...
 
FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode
 
bool numFreqExists
 ===> Attribute numFreq, which is optional More...
 
int numFreq
 
bool numStokesExists
 ===> Attribute numStokes, which is optional More...
 
int numStokes
 
bool frequencyExists
 ===> Attribute frequency, which is optional More...
 
std::vector< Frequencyfrequency
 
bool frequencyIntervalExists
 ===> Attribute frequencyInterval, which is optional More...
 
std::vector< FrequencyfrequencyInterval
 
bool stokesParameterExists
 ===> Attribute stokesParameter, which is optional More...
 
std::vector
< StokesParameterMod::StokesParameter > 
stokesParameter
 
bool fluxExists
 ===> Attribute flux, which is optional More...
 
std::vector< std::vector< Flux > > flux
 
bool fluxErrExists
 ===> Attribute fluxErr, which is optional More...
 
std::vector< std::vector< Flux > > fluxErr
 
bool positionAngleExists
 ===> Attribute positionAngle, which is optional More...
 
std::vector< AnglepositionAngle
 
bool positionAngleErrExists
 ===> Attribute positionAngleErr, which is optional More...
 
std::vector< AnglepositionAngleErr
 
bool sizeExists
 ===> Attribute size, which is optional More...
 
std::vector< std::vector< Angle > > size
 
bool sizeErrExists
 ===> Attribute sizeErr, which is optional More...
 
std::vector< std::vector< Angle > > sizeErr
 
bool velRefCodeExists
 ===> Attribute velRefCode, which is optional More...
 
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode
 
bool dopplerVelocityExists
 ===> Attribute dopplerVelocity, which is optional More...
 
std::vector< SpeeddopplerVelocity
 
bool dopplerReferenceSystemExists
 ===> Attribute dopplerReferenceSystem, which is optional More...
 
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem
 
bool dopplerCalcTypeExists
 ===> Attribute dopplerCalcType, which is optional More...
 
DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType
 
bool parallaxExists
 ===> Attribute parallax, which is optional More...
 
std::vector< Angleparallax
 
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
SourceAttributeFromBin
fromBinMethods
 
*text deserialization material
std::map< std::string,
SourceAttributeFromText
fromTextMethods
 

Friends

class asdm::SourceTable
 
class asdm::RowTransformer< SourceRow >
 

Detailed Description

The SourceRow class is a row of a SourceTable.

Generated from model's revision "-1", branch ""

Definition at line 205 of file SourceRow.h.

Constructor & Destructor Documentation

virtual asdm::SourceRow::~SourceRow ( )
virtual

friend class asdm::TableStreamReader<SourceTable, SourceRow>;

asdm::SourceRow::SourceRow ( SourceTable table)
private

Create a SourceRow.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters
tableThe table to which this row belongs.
asdm::SourceRow::SourceRow ( SourceTable table,
SourceRow row 
)
private

Create a SourceRow using a copy constructor mechanism.

Given a SourceRow row and a SourceTable table, the method creates a new SourceRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters
tableThe table to which this row belongs.
rowThe row which is to be copied.

Member Function Documentation

void asdm::SourceRow::calibrationGroupFromBin ( EndianIStream eis)
private
void asdm::SourceRow::calibrationGroupFromText ( const std::string &  s)
private
void asdm::SourceRow::catalogFromBin ( EndianIStream eis)
private
void asdm::SourceRow::catalogFromText ( const std::string &  s)
private
void asdm::SourceRow::clearCalibrationGroup ( )

Mark calibrationGroup, which is an optional field, as non-existent.

void asdm::SourceRow::clearCatalog ( )

Mark catalog, which is an optional field, as non-existent.

void asdm::SourceRow::clearDeltaVel ( )

Mark deltaVel, which is an optional field, as non-existent.

void asdm::SourceRow::clearDirectionCode ( )

Mark directionCode, which is an optional field, as non-existent.

void asdm::SourceRow::clearDirectionEquinox ( )

Mark directionEquinox, which is an optional field, as non-existent.

void asdm::SourceRow::clearDopplerCalcType ( )

Mark dopplerCalcType, which is an optional field, as non-existent.

void asdm::SourceRow::clearDopplerReferenceSystem ( )

Mark dopplerReferenceSystem, which is an optional field, as non-existent.

void asdm::SourceRow::clearDopplerVelocity ( )

Mark dopplerVelocity, which is an optional field, as non-existent.

void asdm::SourceRow::clearFlux ( )

Mark flux, which is an optional field, as non-existent.

void asdm::SourceRow::clearFluxErr ( )

Mark fluxErr, which is an optional field, as non-existent.

void asdm::SourceRow::clearFrequency ( )

Mark frequency, which is an optional field, as non-existent.

void asdm::SourceRow::clearFrequencyInterval ( )

Mark frequencyInterval, which is an optional field, as non-existent.

void asdm::SourceRow::clearFrequencyRefCode ( )

Mark frequencyRefCode, which is an optional field, as non-existent.

void asdm::SourceRow::clearNumFreq ( )

Mark numFreq, which is an optional field, as non-existent.

void asdm::SourceRow::clearNumLines ( )

Mark numLines, which is an optional field, as non-existent.

void asdm::SourceRow::clearNumStokes ( )

Mark numStokes, which is an optional field, as non-existent.

void asdm::SourceRow::clearParallax ( )

Mark parallax, which is an optional field, as non-existent.

void asdm::SourceRow::clearPosition ( )

Mark position, which is an optional field, as non-existent.

void asdm::SourceRow::clearPositionAngle ( )

Mark positionAngle, which is an optional field, as non-existent.

void asdm::SourceRow::clearPositionAngleErr ( )

Mark positionAngleErr, which is an optional field, as non-existent.

void asdm::SourceRow::clearRangeVel ( )

Mark rangeVel, which is an optional field, as non-existent.

void asdm::SourceRow::clearRestFrequency ( )

Mark restFrequency, which is an optional field, as non-existent.

void asdm::SourceRow::clearSize ( )

Mark size, which is an optional field, as non-existent.

void asdm::SourceRow::clearSizeErr ( )

Mark sizeErr, which is an optional field, as non-existent.

void asdm::SourceRow::clearSourceModel ( )

Mark sourceModel, which is an optional field, as non-existent.

void asdm::SourceRow::clearStokesParameter ( )

Mark stokesParameter, which is an optional field, as non-existent.

void asdm::SourceRow::clearSysVel ( )

Mark sysVel, which is an optional field, as non-existent.

void asdm::SourceRow::clearTransition ( )

Mark transition, which is an optional field, as non-existent.

void asdm::SourceRow::clearVelRefCode ( )

Mark velRefCode, which is an optional field, as non-existent.

void asdm::SourceRow::codeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::codeFromText ( const std::string &  s)
private
bool asdm::SourceRow::compareNoAutoInc ( ArrayTimeInterval  timeInterval,
Tag  spectralWindowId,
std::string  code,
std::vector< Angle direction,
std::vector< AngularRate properMotion,
std::string  sourceName 
)

Compare each mandatory attribute except the autoincrementable one of this SourceRow with the corresponding parameters and return true if there is a match and false otherwise.

Parameters
timeInterval
spectralWindowId
code
direction
properMotion
sourceName
bool asdm::SourceRow::compareRequiredValue ( std::string  code,
std::vector< Angle direction,
std::vector< AngularRate properMotion,
std::string  sourceName 
)

Compare each mandatory value (i.e.

not in the key) attribute with the corresponding parameters and return true if there is a match and false otherwise.

Parameters
code
direction
properMotion
sourceName
void asdm::SourceRow::deltaVelFromBin ( EndianIStream eis)
private
void asdm::SourceRow::deltaVelFromText ( const std::string &  s)
private
void asdm::SourceRow::directionCodeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::directionCodeFromText ( const std::string &  s)
private
void asdm::SourceRow::directionEquinoxFromBin ( EndianIStream eis)
private
void asdm::SourceRow::directionEquinoxFromText ( const std::string &  s)
private
void asdm::SourceRow::directionFromBin ( EndianIStream eis)
private
void asdm::SourceRow::directionFromText ( const std::string &  s)
private
void asdm::SourceRow::dopplerCalcTypeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::dopplerCalcTypeFromText ( const std::string &  s)
private
void asdm::SourceRow::dopplerReferenceSystemFromBin ( EndianIStream eis)
private
void asdm::SourceRow::dopplerReferenceSystemFromText ( const std::string &  s)
private
void asdm::SourceRow::dopplerVelocityFromBin ( EndianIStream eis)
private
void asdm::SourceRow::dopplerVelocityFromText ( const std::string &  s)
private
bool asdm::SourceRow::equalByRequiredValue ( SourceRow x)

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters
xa pointer on the SourceRow whose required attributes of the value part will be compared with those of this.
Returns
a boolean.
void asdm::SourceRow::fluxErrFromBin ( EndianIStream eis)
private
void asdm::SourceRow::fluxErrFromText ( const std::string &  s)
private
void asdm::SourceRow::fluxFromBin ( EndianIStream eis)
private
void asdm::SourceRow::fluxFromText ( const std::string &  s)
private
void asdm::SourceRow::frequencyFromBin ( EndianIStream eis)
private
void asdm::SourceRow::frequencyFromText ( const std::string &  s)
private
void asdm::SourceRow::frequencyIntervalFromBin ( EndianIStream eis)
private
void asdm::SourceRow::frequencyIntervalFromText ( const std::string &  s)
private
void asdm::SourceRow::frequencyRefCodeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::frequencyRefCodeFromText ( const std::string &  s)
private
int asdm::SourceRow::getCalibrationGroup ( ) const

Get calibrationGroup, which is optional.

Returns
calibrationGroup as int
Exceptions
IllegalAccessExceptionIf calibrationGroup does not exist.
std::string asdm::SourceRow::getCatalog ( ) const

Get catalog, which is optional.

Returns
catalog as std::string
Exceptions
IllegalAccessExceptionIf catalog does not exist.
std::string asdm::SourceRow::getCode ( ) const

===> Attribute code

Get code.

Returns
code as std::string
Speed asdm::SourceRow::getDeltaVel ( ) const

Get deltaVel, which is optional.

Returns
deltaVel as Speed
Exceptions
IllegalAccessExceptionIf deltaVel does not exist.
std::vector<Angle > asdm::SourceRow::getDirection ( ) const

===> Attribute direction

Get direction.

Returns
direction as std::vector<Angle >
DirectionReferenceCodeMod::DirectionReferenceCode asdm::SourceRow::getDirectionCode ( ) const

Get directionCode, which is optional.

Returns
directionCode as DirectionReferenceCodeMod::DirectionReferenceCode
Exceptions
IllegalAccessExceptionIf directionCode does not exist.
ArrayTime asdm::SourceRow::getDirectionEquinox ( ) const

Get directionEquinox, which is optional.

Returns
directionEquinox as ArrayTime
Exceptions
IllegalAccessExceptionIf directionEquinox does not exist.
DopplerReferenceCodeMod::DopplerReferenceCode asdm::SourceRow::getDopplerCalcType ( ) const

Get dopplerCalcType, which is optional.

Returns
dopplerCalcType as DopplerReferenceCodeMod::DopplerReferenceCode
Exceptions
IllegalAccessExceptionIf dopplerCalcType does not exist.
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode asdm::SourceRow::getDopplerReferenceSystem ( ) const

Get dopplerReferenceSystem, which is optional.

Returns
dopplerReferenceSystem as RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode
Exceptions
IllegalAccessExceptionIf dopplerReferenceSystem does not exist.
std::vector<Speed > asdm::SourceRow::getDopplerVelocity ( ) const

Get dopplerVelocity, which is optional.

Returns
dopplerVelocity as std::vector<Speed >
Exceptions
IllegalAccessExceptionIf dopplerVelocity does not exist.
std::vector<std::vector<Flux > > asdm::SourceRow::getFlux ( ) const

Get flux, which is optional.

Returns
flux as std::vector<std::vector<Flux > >
Exceptions
IllegalAccessExceptionIf flux does not exist.
std::vector<std::vector<Flux > > asdm::SourceRow::getFluxErr ( ) const

Get fluxErr, which is optional.

Returns
fluxErr as std::vector<std::vector<Flux > >
Exceptions
IllegalAccessExceptionIf fluxErr does not exist.
std::vector<Frequency > asdm::SourceRow::getFrequency ( ) const

Get frequency, which is optional.

Returns
frequency as std::vector<Frequency >
Exceptions
IllegalAccessExceptionIf frequency does not exist.
std::vector<Frequency > asdm::SourceRow::getFrequencyInterval ( ) const

Get frequencyInterval, which is optional.

Returns
frequencyInterval as std::vector<Frequency >
Exceptions
IllegalAccessExceptionIf frequencyInterval does not exist.
FrequencyReferenceCodeMod::FrequencyReferenceCode asdm::SourceRow::getFrequencyRefCode ( ) const

Get frequencyRefCode, which is optional.

Returns
frequencyRefCode as FrequencyReferenceCodeMod::FrequencyReferenceCode
Exceptions
IllegalAccessExceptionIf frequencyRefCode does not exist.
int asdm::SourceRow::getNumFreq ( ) const

Get numFreq, which is optional.

Returns
numFreq as int
Exceptions
IllegalAccessExceptionIf numFreq does not exist.
int asdm::SourceRow::getNumLines ( ) const

Get numLines, which is optional.

Returns
numLines as int
Exceptions
IllegalAccessExceptionIf numLines does not exist.
int asdm::SourceRow::getNumStokes ( ) const

Get numStokes, which is optional.

Returns
numStokes as int
Exceptions
IllegalAccessExceptionIf numStokes does not exist.
std::vector<Angle > asdm::SourceRow::getParallax ( ) const

Get parallax, which is optional.

Returns
parallax as std::vector<Angle >
Exceptions
IllegalAccessExceptionIf parallax does not exist.
std::vector<Length > asdm::SourceRow::getPosition ( ) const

Get position, which is optional.

Returns
position as std::vector<Length >
Exceptions
IllegalAccessExceptionIf position does not exist.
std::vector<Angle > asdm::SourceRow::getPositionAngle ( ) const

Get positionAngle, which is optional.

Returns
positionAngle as std::vector<Angle >
Exceptions
IllegalAccessExceptionIf positionAngle does not exist.
std::vector<Angle > asdm::SourceRow::getPositionAngleErr ( ) const

Get positionAngleErr, which is optional.

Returns
positionAngleErr as std::vector<Angle >
Exceptions
IllegalAccessExceptionIf positionAngleErr does not exist.
std::vector<AngularRate > asdm::SourceRow::getProperMotion ( ) const

===> Attribute properMotion

Get properMotion.

Returns
properMotion as std::vector<AngularRate >
std::vector<Speed > asdm::SourceRow::getRangeVel ( ) const

Get rangeVel, which is optional.

Returns
rangeVel as std::vector<Speed >
Exceptions
IllegalAccessExceptionIf rangeVel does not exist.
std::vector<Frequency > asdm::SourceRow::getRestFrequency ( ) const

Get restFrequency, which is optional.

Returns
restFrequency as std::vector<Frequency >
Exceptions
IllegalAccessExceptionIf restFrequency does not exist.
std::vector<std::vector<Angle > > asdm::SourceRow::getSize ( ) const

Get size, which is optional.

Returns
size as std::vector<std::vector<Angle > >
Exceptions
IllegalAccessExceptionIf size does not exist.
std::vector<std::vector<Angle > > asdm::SourceRow::getSizeErr ( ) const

Get sizeErr, which is optional.

Returns
sizeErr as std::vector<std::vector<Angle > >
Exceptions
IllegalAccessExceptionIf sizeErr does not exist.
SourceModelMod::SourceModel asdm::SourceRow::getSourceModel ( ) const

Get sourceModel, which is optional.

Returns
sourceModel as SourceModelMod::SourceModel
Exceptions
IllegalAccessExceptionIf sourceModel does not exist.
std::string asdm::SourceRow::getSourceName ( ) const

===> Attribute sourceName

Get sourceName.

Returns
sourceName as std::string
Links* SpectralWindowRow* asdm::SourceRow::getSpectralWindowUsingSpectralWindowId ( )

spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId

Returns
a SpectralWindowRow*
std::vector<StokesParameterMod::StokesParameter > asdm::SourceRow::getStokesParameter ( ) const

Get stokesParameter, which is optional.

Returns
stokesParameter as std::vector<StokesParameterMod::StokesParameter >
Exceptions
IllegalAccessExceptionIf stokesParameter does not exist.
std::vector<Speed > asdm::SourceRow::getSysVel ( ) const

Get sysVel, which is optional.

Returns
sysVel as std::vector<Speed >
Exceptions
IllegalAccessExceptionIf sysVel does not exist.
SourceTable& asdm::SourceRow::getTable ( ) const

Return the table to which this row belongs.

ArrayTimeInterval asdm::SourceRow::getTimeInterval ( ) const

===> Attribute timeInterval

Get timeInterval.

Returns
timeInterval as ArrayTimeInterval
std::vector<std::string > asdm::SourceRow::getTransition ( ) const

Get transition, which is optional.

Returns
transition as std::vector<std::string >
Exceptions
IllegalAccessExceptionIf transition does not exist.
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode asdm::SourceRow::getVelRefCode ( ) const

Get velRefCode, which is optional.

Returns
velRefCode as RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode
Exceptions
IllegalAccessExceptionIf velRefCode does not exist.
bool asdm::SourceRow::isAdded ( ) const

Has this row been added to its table ?

Returns
true if and only if it has been added.
void asdm::SourceRow::isAdded ( bool  added)
private

This method is used by the Table class when this row is added to the table.

bool asdm::SourceRow::isCalibrationGroupExists ( ) const

===> Attribute calibrationGroup, which is optional

The attribute calibrationGroup is optional. Return true if this attribute exists.

Returns
true if and only if the calibrationGroup attribute exists.
bool asdm::SourceRow::isCatalogExists ( ) const

===> Attribute catalog, which is optional

The attribute catalog is optional. Return true if this attribute exists.

Returns
true if and only if the catalog attribute exists.
bool asdm::SourceRow::isDeltaVelExists ( ) const

===> Attribute deltaVel, which is optional

The attribute deltaVel is optional. Return true if this attribute exists.

Returns
true if and only if the deltaVel attribute exists.
bool asdm::SourceRow::isDirectionCodeExists ( ) const

===> Attribute directionCode, which is optional

The attribute directionCode is optional. Return true if this attribute exists.

Returns
true if and only if the directionCode attribute exists.
bool asdm::SourceRow::isDirectionEquinoxExists ( ) const

===> Attribute directionEquinox, which is optional

The attribute directionEquinox is optional. Return true if this attribute exists.

Returns
true if and only if the directionEquinox attribute exists.
bool asdm::SourceRow::isDopplerCalcTypeExists ( ) const

===> Attribute dopplerCalcType, which is optional

The attribute dopplerCalcType is optional. Return true if this attribute exists.

Returns
true if and only if the dopplerCalcType attribute exists.
bool asdm::SourceRow::isDopplerReferenceSystemExists ( ) const

===> Attribute dopplerReferenceSystem, which is optional

The attribute dopplerReferenceSystem is optional. Return true if this attribute exists.

Returns
true if and only if the dopplerReferenceSystem attribute exists.
bool asdm::SourceRow::isDopplerVelocityExists ( ) const

===> Attribute dopplerVelocity, which is optional

The attribute dopplerVelocity is optional. Return true if this attribute exists.

Returns
true if and only if the dopplerVelocity attribute exists.
bool asdm::SourceRow::isFluxErrExists ( ) const

===> Attribute fluxErr, which is optional

The attribute fluxErr is optional. Return true if this attribute exists.

Returns
true if and only if the fluxErr attribute exists.
bool asdm::SourceRow::isFluxExists ( ) const

===> Attribute flux, which is optional

The attribute flux is optional. Return true if this attribute exists.

Returns
true if and only if the flux attribute exists.
bool asdm::SourceRow::isFrequencyExists ( ) const

===> Attribute frequency, which is optional

The attribute frequency is optional. Return true if this attribute exists.

Returns
true if and only if the frequency attribute exists.
bool asdm::SourceRow::isFrequencyIntervalExists ( ) const

===> Attribute frequencyInterval, which is optional

The attribute frequencyInterval is optional. Return true if this attribute exists.

Returns
true if and only if the frequencyInterval attribute exists.
bool asdm::SourceRow::isFrequencyRefCodeExists ( ) const

===> Attribute frequencyRefCode, which is optional

The attribute frequencyRefCode is optional. Return true if this attribute exists.

Returns
true if and only if the frequencyRefCode attribute exists.
bool asdm::SourceRow::isNumFreqExists ( ) const

===> Attribute numFreq, which is optional

The attribute numFreq is optional. Return true if this attribute exists.

Returns
true if and only if the numFreq attribute exists.
bool asdm::SourceRow::isNumLinesExists ( ) const

===> Attribute numLines, which is optional

The attribute numLines is optional. Return true if this attribute exists.

Returns
true if and only if the numLines attribute exists.
bool asdm::SourceRow::isNumStokesExists ( ) const

===> Attribute numStokes, which is optional

The attribute numStokes is optional. Return true if this attribute exists.

Returns
true if and only if the numStokes attribute exists.
bool asdm::SourceRow::isParallaxExists ( ) const

===> Attribute parallax, which is optional

The attribute parallax is optional. Return true if this attribute exists.

Returns
true if and only if the parallax attribute exists.
bool asdm::SourceRow::isPositionAngleErrExists ( ) const

===> Attribute positionAngleErr, which is optional

The attribute positionAngleErr is optional. Return true if this attribute exists.

Returns
true if and only if the positionAngleErr attribute exists.
bool asdm::SourceRow::isPositionAngleExists ( ) const

===> Attribute positionAngle, which is optional

The attribute positionAngle is optional. Return true if this attribute exists.

Returns
true if and only if the positionAngle attribute exists.
bool asdm::SourceRow::isPositionExists ( ) const

===> Attribute position, which is optional

The attribute position is optional. Return true if this attribute exists.

Returns
true if and only if the position attribute exists.
bool asdm::SourceRow::isRangeVelExists ( ) const

===> Attribute rangeVel, which is optional

The attribute rangeVel is optional. Return true if this attribute exists.

Returns
true if and only if the rangeVel attribute exists.
bool asdm::SourceRow::isRestFrequencyExists ( ) const

===> Attribute restFrequency, which is optional

The attribute restFrequency is optional. Return true if this attribute exists.

Returns
true if and only if the restFrequency attribute exists.
bool asdm::SourceRow::isSizeErrExists ( ) const

===> Attribute sizeErr, which is optional

The attribute sizeErr is optional. Return true if this attribute exists.

Returns
true if and only if the sizeErr attribute exists.
bool asdm::SourceRow::isSizeExists ( ) const

===> Attribute size, which is optional

The attribute size is optional. Return true if this attribute exists.

Returns
true if and only if the size attribute exists.
bool asdm::SourceRow::isSourceModelExists ( ) const

===> Attribute sourceModel, which is optional

The attribute sourceModel is optional. Return true if this attribute exists.

Returns
true if and only if the sourceModel attribute exists.
bool asdm::SourceRow::isStokesParameterExists ( ) const

===> Attribute stokesParameter, which is optional

The attribute stokesParameter is optional. Return true if this attribute exists.

Returns
true if and only if the stokesParameter attribute exists.
bool asdm::SourceRow::isSysVelExists ( ) const

===> Attribute sysVel, which is optional

The attribute sysVel is optional. Return true if this attribute exists.

Returns
true if and only if the sysVel attribute exists.
bool asdm::SourceRow::isTransitionExists ( ) const

===> Attribute transition, which is optional

The attribute transition is optional. Return true if this attribute exists.

Returns
true if and only if the transition attribute exists.
bool asdm::SourceRow::isVelRefCodeExists ( ) const

===> Attribute velRefCode, which is optional

The attribute velRefCode is optional. Return true if this attribute exists.

Returns
true if and only if the velRefCode attribute exists.
void asdm::SourceRow::numFreqFromBin ( EndianIStream eis)
private
void asdm::SourceRow::numFreqFromText ( const std::string &  s)
private
void asdm::SourceRow::numLinesFromBin ( EndianIStream eis)
private
void asdm::SourceRow::numLinesFromText ( const std::string &  s)
private
void asdm::SourceRow::numStokesFromBin ( EndianIStream eis)
private
void asdm::SourceRow::numStokesFromText ( const std::string &  s)
private
void asdm::SourceRow::parallaxFromBin ( EndianIStream eis)
private
void asdm::SourceRow::parallaxFromText ( const std::string &  s)
private
void asdm::SourceRow::positionAngleErrFromBin ( EndianIStream eis)
private
void asdm::SourceRow::positionAngleErrFromText ( const std::string &  s)
private
void asdm::SourceRow::positionAngleFromBin ( EndianIStream eis)
private
void asdm::SourceRow::positionAngleFromText ( const std::string &  s)
private
void asdm::SourceRow::positionFromBin ( EndianIStream eis)
private
void asdm::SourceRow::positionFromText ( const std::string &  s)
private
void asdm::SourceRow::properMotionFromBin ( EndianIStream eis)
private
void asdm::SourceRow::properMotionFromText ( const std::string &  s)
private
void asdm::SourceRow::rangeVelFromBin ( EndianIStream eis)
private
void asdm::SourceRow::rangeVelFromText ( const std::string &  s)
private
void asdm::SourceRow::restFrequencyFromBin ( EndianIStream eis)
private
void asdm::SourceRow::restFrequencyFromText ( const std::string &  s)
private
void asdm::SourceRow::setCalibrationGroup ( int  calibrationGroup)

Set calibrationGroup with the specified int.

Parameters
calibrationGroupThe int value to which calibrationGroup is to be set.
void asdm::SourceRow::setCatalog ( std::string  catalog)

Set catalog with the specified std::string.

Parameters
catalogThe std::string value to which catalog is to be set.
void asdm::SourceRow::setCode ( std::string  code)

Set code with the specified std::string.

Parameters
codeThe std::string value to which code is to be set.
void asdm::SourceRow::setDeltaVel ( Speed  deltaVel)

Set deltaVel with the specified Speed.

Parameters
deltaVelThe Speed value to which deltaVel is to be set.
void asdm::SourceRow::setDirection ( std::vector< Angle direction)

Set direction with the specified std::vector<Angle >.

Parameters
directionThe std::vector<Angle > value to which direction is to be set.
void asdm::SourceRow::setDirectionCode ( DirectionReferenceCodeMod::DirectionReferenceCode  directionCode)

Set directionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode.

Parameters
directionCodeThe DirectionReferenceCodeMod::DirectionReferenceCode value to which directionCode is to be set.
void asdm::SourceRow::setDirectionEquinox ( ArrayTime  directionEquinox)

Set directionEquinox with the specified ArrayTime.

Parameters
directionEquinoxThe ArrayTime value to which directionEquinox is to be set.
void asdm::SourceRow::setDopplerCalcType ( DopplerReferenceCodeMod::DopplerReferenceCode  dopplerCalcType)

Set dopplerCalcType with the specified DopplerReferenceCodeMod::DopplerReferenceCode.

Parameters
dopplerCalcTypeThe DopplerReferenceCodeMod::DopplerReferenceCode value to which dopplerCalcType is to be set.
void asdm::SourceRow::setDopplerReferenceSystem ( RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode  dopplerReferenceSystem)

Set dopplerReferenceSystem with the specified RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode.

Parameters
dopplerReferenceSystemThe RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode value to which dopplerReferenceSystem is to be set.
void asdm::SourceRow::setDopplerVelocity ( std::vector< Speed dopplerVelocity)

Set dopplerVelocity with the specified std::vector<Speed >.

Parameters
dopplerVelocityThe std::vector<Speed > value to which dopplerVelocity is to be set.
void asdm::SourceRow::setFlux ( std::vector< std::vector< Flux > >  flux)

Set flux with the specified std::vector<std::vector<Flux > >.

Parameters
fluxThe std::vector<std::vector<Flux > > value to which flux is to be set.
void asdm::SourceRow::setFluxErr ( std::vector< std::vector< Flux > >  fluxErr)

Set fluxErr with the specified std::vector<std::vector<Flux > >.

Parameters
fluxErrThe std::vector<std::vector<Flux > > value to which fluxErr is to be set.
void asdm::SourceRow::setFrequency ( std::vector< Frequency frequency)

Set frequency with the specified std::vector<Frequency >.

Parameters
frequencyThe std::vector<Frequency > value to which frequency is to be set.
void asdm::SourceRow::setFrequencyInterval ( std::vector< Frequency frequencyInterval)

Set frequencyInterval with the specified std::vector<Frequency >.

Parameters
frequencyIntervalThe std::vector<Frequency > value to which frequencyInterval is to be set.
void asdm::SourceRow::setFrequencyRefCode ( FrequencyReferenceCodeMod::FrequencyReferenceCode  frequencyRefCode)

Set frequencyRefCode with the specified FrequencyReferenceCodeMod::FrequencyReferenceCode.

Parameters
frequencyRefCodeThe FrequencyReferenceCodeMod::FrequencyReferenceCode value to which frequencyRefCode is to be set.
void asdm::SourceRow::setFromIDL ( asdmIDL::SourceRowIDL  x)

Fill the values of this row from the IDL struct SourceRowIDL.

Parameters
xThe IDL struct containing the values used to fill this row.
Exceptions
ConversionException
void asdm::SourceRow::setFromXML ( std::string  rowDoc)

Fill the values of this row from an XML string that was produced by the toXML() method.

Parameters
rowDocthe XML string being used to set the values of this row.
Exceptions
ConversionException
void asdm::SourceRow::setNumFreq ( int  numFreq)

Set numFreq with the specified int.

Parameters
numFreqThe int value to which numFreq is to be set.
void asdm::SourceRow::setNumLines ( int  numLines)

Set numLines with the specified int.

Parameters
numLinesThe int value to which numLines is to be set.
void asdm::SourceRow::setNumStokes ( int  numStokes)

Set numStokes with the specified int.

Parameters
numStokesThe int value to which numStokes is to be set.
void asdm::SourceRow::setParallax ( std::vector< Angle parallax)

Set parallax with the specified std::vector<Angle >.

Parameters
parallaxThe std::vector<Angle > value to which parallax is to be set.
void asdm::SourceRow::setPosition ( std::vector< Length position)

Set position with the specified std::vector<Length >.

Parameters
positionThe std::vector<Length > value to which position is to be set.
void asdm::SourceRow::setPositionAngle ( std::vector< Angle positionAngle)

Set positionAngle with the specified std::vector<Angle >.

Parameters
positionAngleThe std::vector<Angle > value to which positionAngle is to be set.
void asdm::SourceRow::setPositionAngleErr ( std::vector< Angle positionAngleErr)

Set positionAngleErr with the specified std::vector<Angle >.

Parameters
positionAngleErrThe std::vector<Angle > value to which positionAngleErr is to be set.
void asdm::SourceRow::setProperMotion ( std::vector< AngularRate properMotion)

Set properMotion with the specified std::vector<AngularRate >.

Parameters
properMotionThe std::vector<AngularRate > value to which properMotion is to be set.
void asdm::SourceRow::setRangeVel ( std::vector< Speed rangeVel)

Set rangeVel with the specified std::vector<Speed >.

Parameters
rangeVelThe std::vector<Speed > value to which rangeVel is to be set.
void asdm::SourceRow::setRestFrequency ( std::vector< Frequency restFrequency)

Set restFrequency with the specified std::vector<Frequency >.

Parameters
restFrequencyThe std::vector<Frequency > value to which restFrequency is to be set.
void asdm::SourceRow::setSize ( std::vector< std::vector< Angle > >  size)

Set size with the specified std::vector<std::vector<Angle > >.

Parameters
sizeThe std::vector<std::vector<Angle > > value to which size is to be set.
void asdm::SourceRow::setSizeErr ( std::vector< std::vector< Angle > >  sizeErr)

Set sizeErr with the specified std::vector<std::vector<Angle > >.

Parameters
sizeErrThe std::vector<std::vector<Angle > > value to which sizeErr is to be set.
void asdm::SourceRow::setSourceId ( int  sourceId)
private

Set sourceId with the specified int value.

Parameters
sourceIdThe int value to which sourceId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::SourceRow::setSourceModel ( SourceModelMod::SourceModel  sourceModel)

Set sourceModel with the specified SourceModelMod::SourceModel.

Parameters
sourceModelThe SourceModelMod::SourceModel value to which sourceModel is to be set.
void asdm::SourceRow::setSourceName ( std::string  sourceName)

Set sourceName with the specified std::string.

Parameters
sourceNameThe std::string value to which sourceName is to be set.
void asdm::SourceRow::setSpectralWindowId ( Tag  spectralWindowId)

Set spectralWindowId with the specified Tag.

Parameters
spectralWindowIdThe Tag value to which spectralWindowId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::SourceRow::setStokesParameter ( std::vector< StokesParameterMod::StokesParameter >  stokesParameter)

Set stokesParameter with the specified std::vector<StokesParameterMod::StokesParameter >.

Parameters
stokesParameterThe std::vector<StokesParameterMod::StokesParameter > value to which stokesParameter is to be set.
void asdm::SourceRow::setSysVel ( std::vector< Speed sysVel)

Set sysVel with the specified std::vector<Speed >.

Parameters
sysVelThe std::vector<Speed > value to which sysVel is to be set.
void asdm::SourceRow::setTimeInterval ( ArrayTimeInterval  timeInterval)

Set timeInterval with the specified ArrayTimeInterval.

Parameters
timeIntervalThe ArrayTimeInterval value to which timeInterval is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::SourceRow::setTransition ( std::vector< std::string >  transition)

Set transition with the specified std::vector<std::string >.

Parameters
transitionThe std::vector<std::string > value to which transition is to be set.
void asdm::SourceRow::setVelRefCode ( RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode  velRefCode)

Set velRefCode with the specified RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode.

Parameters
velRefCodeThe RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode value to which velRefCode is to be set.
void asdm::SourceRow::sizeErrFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sizeErrFromText ( const std::string &  s)
private
void asdm::SourceRow::sizeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sizeFromText ( const std::string &  s)
private
void asdm::SourceRow::sourceIdFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sourceIdFromText ( const std::string &  s)
private
void asdm::SourceRow::sourceModelFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sourceModelFromText ( const std::string &  s)
private
void asdm::SourceRow::sourceNameFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sourceNameFromText ( const std::string &  s)
private
void asdm::SourceRow::spectralWindowIdFromBin ( EndianIStream eis)
private
void asdm::SourceRow::spectralWindowIdFromText ( const std::string &  s)
private
void asdm::SourceRow::stokesParameterFromBin ( EndianIStream eis)
private
void asdm::SourceRow::stokesParameterFromText ( const std::string &  s)
private
void asdm::SourceRow::sysVelFromBin ( EndianIStream eis)
private
void asdm::SourceRow::sysVelFromText ( const std::string &  s)
private
void asdm::SourceRow::timeIntervalFromBin ( EndianIStream eis)
private
void asdm::SourceRow::timeIntervalFromText ( const std::string &  s)
private
void asdm::SourceRow::toBin ( EndianOSStream eoss)
private

Serialize this into a stream of bytes written to an EndianOSStream.

Parameters
eossthe EndianOSStream to be written to
asdmIDL::SourceRowIDL* asdm::SourceRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns
The values of this row as a SourceRowIDL struct.
void asdm::SourceRow::toIDL ( asdmIDL::SourceRowIDL &  x) const

Define the content of a SourceRowIDL struct from the values found in this row.

Parameters
xa reference to the SourceRowIDL struct to be set.
std::string asdm::SourceRow::toXML ( ) const

Return this row in the form of an XML string.

Returns
The values of this row as an XML string.
void asdm::SourceRow::transitionFromBin ( EndianIStream eis)
private
void asdm::SourceRow::transitionFromText ( const std::string &  s)
private
void asdm::SourceRow::velRefCodeFromBin ( EndianIStream eis)
private
void asdm::SourceRow::velRefCodeFromText ( const std::string &  s)
private

Friends And Related Function Documentation

friend class asdm::RowTransformer< SourceRow >
friend

Definition at line 207 of file SourceRow.h.

friend class asdm::SourceTable
friend

Definition at line 206 of file SourceRow.h.

Member Data Documentation

Extrinsic Table asdm::SourceRow::Attributes

Definition at line 230 of file SourceRow.h.

Extrinsic Table asdm::SourceRow::Attributes

Definition at line 1595 of file SourceRow.h.

int asdm::SourceRow::calibrationGroup
private

Definition at line 1957 of file SourceRow.h.

bool asdm::SourceRow::calibrationGroupExists
private

===> Attribute calibrationGroup, which is optional

Definition at line 1954 of file SourceRow.h.

std::string asdm::SourceRow::catalog
private

Definition at line 1970 of file SourceRow.h.

bool asdm::SourceRow::catalogExists
private

===> Attribute catalog, which is optional

Definition at line 1967 of file SourceRow.h.

std::string asdm::SourceRow::code
private

===> Attribute code

Definition at line 1885 of file SourceRow.h.

Speed asdm::SourceRow::deltaVel
private

Definition at line 1983 of file SourceRow.h.

bool asdm::SourceRow::deltaVelExists
private

===> Attribute deltaVel, which is optional

Definition at line 1980 of file SourceRow.h.

std::vector<Angle > asdm::SourceRow::direction
private

===> Attribute direction

Definition at line 1896 of file SourceRow.h.

DirectionReferenceCodeMod::DirectionReferenceCode asdm::SourceRow::directionCode
private

Definition at line 1931 of file SourceRow.h.

bool asdm::SourceRow::directionCodeExists
private

===> Attribute directionCode, which is optional

Definition at line 1928 of file SourceRow.h.

ArrayTime asdm::SourceRow::directionEquinox
private

Definition at line 1944 of file SourceRow.h.

bool asdm::SourceRow::directionEquinoxExists
private

===> Attribute directionEquinox, which is optional

Definition at line 1941 of file SourceRow.h.

DopplerReferenceCodeMod::DopplerReferenceCode asdm::SourceRow::dopplerCalcType
private

Definition at line 2282 of file SourceRow.h.

bool asdm::SourceRow::dopplerCalcTypeExists
private

===> Attribute dopplerCalcType, which is optional

Definition at line 2279 of file SourceRow.h.

RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode asdm::SourceRow::dopplerReferenceSystem
private

Definition at line 2269 of file SourceRow.h.

bool asdm::SourceRow::dopplerReferenceSystemExists
private

===> Attribute dopplerReferenceSystem, which is optional

Definition at line 2266 of file SourceRow.h.

std::vector<Speed > asdm::SourceRow::dopplerVelocity
private

Definition at line 2256 of file SourceRow.h.

bool asdm::SourceRow::dopplerVelocityExists
private

===> Attribute dopplerVelocity, which is optional

Definition at line 2253 of file SourceRow.h.

std::vector<std::vector<Flux > > asdm::SourceRow::flux
private

Definition at line 2165 of file SourceRow.h.

std::vector<std::vector<Flux > > asdm::SourceRow::fluxErr
private

Definition at line 2178 of file SourceRow.h.

bool asdm::SourceRow::fluxErrExists
private

===> Attribute fluxErr, which is optional

Definition at line 2175 of file SourceRow.h.

bool asdm::SourceRow::fluxExists
private

===> Attribute flux, which is optional

Definition at line 2162 of file SourceRow.h.

std::vector<Frequency > asdm::SourceRow::frequency
private

Definition at line 2126 of file SourceRow.h.

bool asdm::SourceRow::frequencyExists
private

===> Attribute frequency, which is optional

Definition at line 2123 of file SourceRow.h.

std::vector<Frequency > asdm::SourceRow::frequencyInterval
private

Definition at line 2139 of file SourceRow.h.

bool asdm::SourceRow::frequencyIntervalExists
private

===> Attribute frequencyInterval, which is optional

Definition at line 2136 of file SourceRow.h.

FrequencyReferenceCodeMod::FrequencyReferenceCode asdm::SourceRow::frequencyRefCode
private

Definition at line 2087 of file SourceRow.h.

bool asdm::SourceRow::frequencyRefCodeExists
private

===> Attribute frequencyRefCode, which is optional

Definition at line 2084 of file SourceRow.h.

Links* binary deserialization material from an EndianIStream std::map<std::string, SourceAttributeFromBin> asdm::SourceRow::fromBinMethods
private

Definition at line 2332 of file SourceRow.h.

* text deserialization material std::map<std::string, SourceAttributeFromText> asdm::SourceRow::fromTextMethods
private

Definition at line 2376 of file SourceRow.h.

bool asdm::SourceRow::hasBeenAdded
private

Whether this row has been added to the table or not.

Definition at line 1807 of file SourceRow.h.

int asdm::SourceRow::numFreq
private

Definition at line 2100 of file SourceRow.h.

bool asdm::SourceRow::numFreqExists
private

===> Attribute numFreq, which is optional

Definition at line 2097 of file SourceRow.h.

int asdm::SourceRow::numLines
private

Definition at line 2009 of file SourceRow.h.

bool asdm::SourceRow::numLinesExists
private

===> Attribute numLines, which is optional

Definition at line 2006 of file SourceRow.h.

int asdm::SourceRow::numStokes
private

Definition at line 2113 of file SourceRow.h.

bool asdm::SourceRow::numStokesExists
private

===> Attribute numStokes, which is optional

Definition at line 2110 of file SourceRow.h.

std::vector<Angle > asdm::SourceRow::parallax
private

Definition at line 2295 of file SourceRow.h.

bool asdm::SourceRow::parallaxExists
private

===> Attribute parallax, which is optional

Definition at line 2292 of file SourceRow.h.

std::vector<Length > asdm::SourceRow::position
private

Definition at line 1996 of file SourceRow.h.

std::vector<Angle > asdm::SourceRow::positionAngle
private

Definition at line 2191 of file SourceRow.h.

std::vector<Angle > asdm::SourceRow::positionAngleErr
private

Definition at line 2204 of file SourceRow.h.

bool asdm::SourceRow::positionAngleErrExists
private

===> Attribute positionAngleErr, which is optional

Definition at line 2201 of file SourceRow.h.

bool asdm::SourceRow::positionAngleExists
private

===> Attribute positionAngle, which is optional

Definition at line 2188 of file SourceRow.h.

bool asdm::SourceRow::positionExists
private

===> Attribute position, which is optional

Definition at line 1993 of file SourceRow.h.

std::vector<AngularRate > asdm::SourceRow::properMotion
private

===> Attribute properMotion

Definition at line 1907 of file SourceRow.h.

std::vector<Speed > asdm::SourceRow::rangeVel
private

Definition at line 2061 of file SourceRow.h.

bool asdm::SourceRow::rangeVelExists
private

===> Attribute rangeVel, which is optional

Definition at line 2058 of file SourceRow.h.

std::vector<Frequency > asdm::SourceRow::restFrequency
private

Definition at line 2035 of file SourceRow.h.

bool asdm::SourceRow::restFrequencyExists
private

===> Attribute restFrequency, which is optional

Definition at line 2032 of file SourceRow.h.

std::vector<std::vector<Angle > > asdm::SourceRow::size
private

Definition at line 2217 of file SourceRow.h.

std::vector<std::vector<Angle > > asdm::SourceRow::sizeErr
private

Definition at line 2230 of file SourceRow.h.

bool asdm::SourceRow::sizeErrExists
private

===> Attribute sizeErr, which is optional

Definition at line 2227 of file SourceRow.h.

bool asdm::SourceRow::sizeExists
private

===> Attribute size, which is optional

Definition at line 2214 of file SourceRow.h.

SourceModelMod::SourceModel asdm::SourceRow::sourceModel
private

Definition at line 2074 of file SourceRow.h.

bool asdm::SourceRow::sourceModelExists
private

===> Attribute sourceModel, which is optional

Definition at line 2071 of file SourceRow.h.

std::string asdm::SourceRow::sourceName
private

===> Attribute sourceName

Definition at line 1918 of file SourceRow.h.

std::vector<StokesParameterMod::StokesParameter > asdm::SourceRow::stokesParameter
private

Definition at line 2152 of file SourceRow.h.

bool asdm::SourceRow::stokesParameterExists
private

===> Attribute stokesParameter, which is optional

Definition at line 2149 of file SourceRow.h.

std::vector<Speed > asdm::SourceRow::sysVel
private

Definition at line 2048 of file SourceRow.h.

bool asdm::SourceRow::sysVelExists
private

===> Attribute sysVel, which is optional

Definition at line 2045 of file SourceRow.h.

SourceTable& asdm::SourceRow::table
private

The table to which this row belongs.

Definition at line 1803 of file SourceRow.h.

ArrayTimeInterval asdm::SourceRow::timeInterval
private

===> Attribute timeInterval

Definition at line 1874 of file SourceRow.h.

std::vector<std::string > asdm::SourceRow::transition
private

Definition at line 2022 of file SourceRow.h.

bool asdm::SourceRow::transitionExists
private

===> Attribute transition, which is optional

Definition at line 2019 of file SourceRow.h.

RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode asdm::SourceRow::velRefCode
private

Definition at line 2243 of file SourceRow.h.

bool asdm::SourceRow::velRefCodeExists
private

===> Attribute velRefCode, which is optional

Definition at line 2240 of file SourceRow.h.


The documentation for this class was generated from the following file: