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::CalFluxRow Class Reference

The CalFluxRow class is a row of a CalFluxTable. More...

#include <CalFluxRow.h>

Public Member Functions

virtual ~CalFluxRow ()
 friend class asdm::TableStreamReader<CalFluxTable, CalFluxRow>; More...
 
CalFluxTablegetTable () const
 Return the table to which this row belongs. More...
 
bool isAdded () const
 Has this row been added to its table ? More...
 
void setSourceName (std::string sourceName)
 Set sourceName with the specified std::string. More...
 
ArrayTime getStartValidTime () const
 ===> Attribute startValidTime More...
 
void setStartValidTime (ArrayTime startValidTime)
 Set startValidTime with the specified ArrayTime. More...
 
ArrayTime getEndValidTime () const
 ===> Attribute endValidTime More...
 
void setEndValidTime (ArrayTime endValidTime)
 Set endValidTime with the specified ArrayTime. More...
 
int getNumFrequencyRanges () const
 ===> Attribute numFrequencyRanges More...
 
void setNumFrequencyRanges (int numFrequencyRanges)
 Set numFrequencyRanges with the specified int. More...
 
int getNumStokes () const
 ===> Attribute numStokes More...
 
void setNumStokes (int numStokes)
 Set numStokes with the specified int. More...
 
std::vector< std::vector
< Frequency > > 
getFrequencyRanges () const
 ===> Attribute frequencyRanges More...
 
void setFrequencyRanges (std::vector< std::vector< Frequency > > frequencyRanges)
 Set frequencyRanges with the specified std::vector<std::vector<Frequency > >. More...
 
FluxCalibrationMethodMod::FluxCalibrationMethod getFluxMethod () const
 ===> Attribute fluxMethod More...
 
void setFluxMethod (FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod)
 Set fluxMethod with the specified FluxCalibrationMethodMod::FluxCalibrationMethod. More...
 
std::vector< std::vector
< double > > 
getFlux () const
 ===> Attribute flux More...
 
void setFlux (std::vector< std::vector< double > > flux)
 Set flux with the specified std::vector<std::vector<double > >. More...
 
std::vector< std::vector
< double > > 
getFluxError () const
 ===> Attribute fluxError More...
 
void setFluxError (std::vector< std::vector< double > > fluxError)
 Set fluxError with the specified std::vector<std::vector<double > >. More...
 
std::vector
< StokesParameterMod::StokesParameter > 
getStokes () const
 ===> Attribute stokes More...
 
void setStokes (std::vector< StokesParameterMod::StokesParameter > stokes)
 Set stokes with the specified std::vector<StokesParameterMod::StokesParameter >. More...
 
bool isDirectionExists () const
 ===> Attribute direction, which is optional More...
 
std::vector< AnglegetDirection () const
 Get direction, which is optional. More...
 
void setDirection (std::vector< Angle > direction)
 Set direction with the specified std::vector<Angle >. More...
 
void clearDirection ()
 Mark direction, which is an optional field, as non-existent. 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...
 
Angle getDirectionEquinox () const
 Get directionEquinox, which is optional. More...
 
void setDirectionEquinox (Angle directionEquinox)
 Set directionEquinox with the specified Angle. More...
 
void clearDirectionEquinox ()
 Mark directionEquinox, which is an optional field, as non-existent. More...
 
bool isPAExists () const
 ===> Attribute PA, which is optional More...
 
std::vector< std::vector< Angle > > getPA () const
 Get PA, which is optional. More...
 
void setPA (std::vector< std::vector< Angle > > PA)
 Set PA with the specified std::vector<std::vector<Angle > >. More...
 
void clearPA ()
 Mark PA, which is an optional field, as non-existent. More...
 
bool isPAErrorExists () const
 ===> Attribute PAError, which is optional More...
 
std::vector< std::vector< Angle > > getPAError () const
 Get PAError, which is optional. More...
 
void setPAError (std::vector< std::vector< Angle > > PAError)
 Set PAError with the specified std::vector<std::vector<Angle > >. More...
 
void clearPAError ()
 Mark PAError, which is an optional field, as non-existent. More...
 
bool isSizeExists () const
 ===> Attribute size, which is optional More...
 
std::vector< std::vector
< std::vector< Angle > > > 
getSize () const
 Get size, which is optional. More...
 
void setSize (std::vector< std::vector< std::vector< Angle > > > size)
 Set size with the specified std::vector<std::vector<std::vector<Angle > > >. More...
 
void clearSize ()
 Mark size, which is an optional field, as non-existent. More...
 
bool isSizeErrorExists () const
 ===> Attribute sizeError, which is optional More...
 
std::vector< std::vector
< std::vector< Angle > > > 
getSizeError () const
 Get sizeError, which is optional. More...
 
void setSizeError (std::vector< std::vector< std::vector< Angle > > > sizeError)
 Set sizeError with the specified std::vector<std::vector<std::vector<Angle > > >. More...
 
void clearSizeError ()
 Mark sizeError, 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...
 
void setCalDataId (Tag calDataId)
 Set calDataId with the specified Tag. More...
 
Tag getCalReductionId () const
 ===> Attribute calReductionId More...
 
void setCalReductionId (Tag calReductionId)
 Set calReductionId with the specified Tag. More...
 
Links *CalDataRowgetCalDataUsingCalDataId ()
 calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId More...
 
CalReductionRowgetCalReductionUsingCalReductionId ()
 calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId More...
 
bool compareNoAutoInc (std::string sourceName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector< std::vector< Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector< std::vector< double > > flux, std::vector< std::vector< double > > fluxError, std::vector< StokesParameterMod::StokesParameter > stokes)
 Compare each mandatory attribute except the autoincrementable one of this CalFluxRow with the corresponding parameters and return true if there is a match and false otherwise. More...
 
bool compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector< std::vector< Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector< std::vector< double > > flux, std::vector< std::vector< double > > fluxError, std::vector< StokesParameterMod::StokesParameter > stokes)
 Compare each mandatory value (i.e. More...
 
bool equalByRequiredValue (CalFluxRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More...
 
asdmIDL::CalFluxRowIDL * toIDL () const
 Return this row in the form of an IDL struct. More...
 
void toIDL (asdmIDL::CalFluxRowIDL &x) const
 Define the content of a CalFluxRowIDL struct from the values found in this row. More...
 
void setFromIDL (asdmIDL::CalFluxRowIDL x)
 Fill the values of this row from the IDL struct CalFluxRowIDL. 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...
 
 CalFluxRow (CalFluxTable &table)
 Create a CalFluxRow. More...
 
 CalFluxRow (CalFluxTable &table, CalFluxRow *row)
 Create a CalFluxRow using a copy constructor mechanism. More...
 
void sourceNameFromBin (EndianIStream &eis)
 
void calDataIdFromBin (EndianIStream &eis)
 
void calReductionIdFromBin (EndianIStream &eis)
 
void startValidTimeFromBin (EndianIStream &eis)
 
void endValidTimeFromBin (EndianIStream &eis)
 
void numFrequencyRangesFromBin (EndianIStream &eis)
 
void numStokesFromBin (EndianIStream &eis)
 
void frequencyRangesFromBin (EndianIStream &eis)
 
void fluxMethodFromBin (EndianIStream &eis)
 
void fluxFromBin (EndianIStream &eis)
 
void fluxErrorFromBin (EndianIStream &eis)
 
void stokesFromBin (EndianIStream &eis)
 
void directionFromBin (EndianIStream &eis)
 
void directionCodeFromBin (EndianIStream &eis)
 
void directionEquinoxFromBin (EndianIStream &eis)
 
void PAFromBin (EndianIStream &eis)
 
void PAErrorFromBin (EndianIStream &eis)
 
void sizeFromBin (EndianIStream &eis)
 
void sizeErrorFromBin (EndianIStream &eis)
 
void sourceModelFromBin (EndianIStream &eis)
 
void sourceNameFromText (const std::string &s)
 
void calDataIdFromText (const std::string &s)
 
void calReductionIdFromText (const std::string &s)
 
void startValidTimeFromText (const std::string &s)
 
void endValidTimeFromText (const std::string &s)
 
void numFrequencyRangesFromText (const std::string &s)
 
void numStokesFromText (const std::string &s)
 
void frequencyRangesFromText (const std::string &s)
 
void fluxMethodFromText (const std::string &s)
 
void fluxFromText (const std::string &s)
 
void fluxErrorFromText (const std::string &s)
 
void stokesFromText (const std::string &s)
 
void directionFromText (const std::string &s)
 
void directionCodeFromText (const std::string &s)
 
void directionEquinoxFromText (const std::string &s)
 
void PAFromText (const std::string &s)
 
void PAErrorFromText (const std::string &s)
 
void sizeFromText (const std::string &s)
 
void sizeErrorFromText (const std::string &s)
 
void sourceModelFromText (const std::string &s)
 
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream. More...
 

Private Attributes

CalFluxTabletable
 The table to which this row belongs. More...
 
bool hasBeenAdded
 Whether this row has been added to the table or not. More...
 
ArrayTime startValidTime
 ===> Attribute startValidTime More...
 
ArrayTime endValidTime
 ===> Attribute endValidTime More...
 
int numFrequencyRanges
 ===> Attribute numFrequencyRanges More...
 
int numStokes
 ===> Attribute numStokes More...
 
std::vector< std::vector
< Frequency > > 
frequencyRanges
 ===> Attribute frequencyRanges More...
 
FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod
 ===> Attribute fluxMethod More...
 
std::vector< std::vector
< double > > 
flux
 ===> Attribute flux More...
 
std::vector< std::vector
< double > > 
fluxError
 ===> Attribute fluxError More...
 
std::vector
< StokesParameterMod::StokesParameter > 
stokes
 ===> Attribute stokes More...
 
bool directionExists
 ===> Attribute direction, which is optional More...
 
std::vector< Angledirection
 
bool directionCodeExists
 ===> Attribute directionCode, which is optional More...
 
DirectionReferenceCodeMod::DirectionReferenceCode directionCode
 
bool directionEquinoxExists
 ===> Attribute directionEquinox, which is optional More...
 
Angle directionEquinox
 
bool PAExists
 ===> Attribute PA, which is optional More...
 
std::vector< std::vector< Angle > > PA
 
bool PAErrorExists
 ===> Attribute PAError, which is optional More...
 
std::vector< std::vector< Angle > > PAError
 
bool sizeExists
 ===> Attribute size, which is optional More...
 
std::vector< std::vector
< std::vector< Angle > > > 
size
 
bool sizeErrorExists
 ===> Attribute sizeError, which is optional More...
 
std::vector< std::vector
< std::vector< Angle > > > 
sizeError
 
bool sourceModelExists
 ===> Attribute sourceModel, which is optional More...
 
SourceModelMod::SourceModel sourceModel
 
Tag calReductionId
 ===> Attribute calReductionId More...
 
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
CalFluxAttributeFromBin
fromBinMethods
 
*text deserialization material
std::map< std::string,
CalFluxAttributeFromText
fromTextMethods
 

Friends

class asdm::CalFluxTable
 
class asdm::RowTransformer< CalFluxRow >
 

Detailed Description

The CalFluxRow class is a row of a CalFluxTable.

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

Definition at line 148 of file CalFluxRow.h.

Constructor & Destructor Documentation

virtual asdm::CalFluxRow::~CalFluxRow ( )
virtual

friend class asdm::TableStreamReader<CalFluxTable, CalFluxRow>;

asdm::CalFluxRow::CalFluxRow ( CalFluxTable table)
private

Create a CalFluxRow.

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::CalFluxRow::CalFluxRow ( CalFluxTable table,
CalFluxRow row 
)
private

Create a CalFluxRow using a copy constructor mechanism.

Given a CalFluxRow row and a CalFluxTable table, the method creates a new CalFluxRow 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::CalFluxRow::calDataIdFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::calDataIdFromText ( const std::string &  s)
private
void asdm::CalFluxRow::calReductionIdFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::calReductionIdFromText ( const std::string &  s)
private
void asdm::CalFluxRow::clearDirection ( )

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

void asdm::CalFluxRow::clearDirectionCode ( )

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

void asdm::CalFluxRow::clearDirectionEquinox ( )

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

void asdm::CalFluxRow::clearPA ( )

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

void asdm::CalFluxRow::clearPAError ( )

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

void asdm::CalFluxRow::clearSize ( )

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

void asdm::CalFluxRow::clearSizeError ( )

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

void asdm::CalFluxRow::clearSourceModel ( )

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

bool asdm::CalFluxRow::compareNoAutoInc ( std::string  sourceName,
Tag  calDataId,
Tag  calReductionId,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
int  numFrequencyRanges,
int  numStokes,
std::vector< std::vector< Frequency > >  frequencyRanges,
FluxCalibrationMethodMod::FluxCalibrationMethod  fluxMethod,
std::vector< std::vector< double > >  flux,
std::vector< std::vector< double > >  fluxError,
std::vector< StokesParameterMod::StokesParameter >  stokes 
)

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

Parameters
sourceName
calDataId
calReductionId
startValidTime
endValidTime
numFrequencyRanges
numStokes
frequencyRanges
fluxMethod
flux
fluxError
stokes
bool asdm::CalFluxRow::compareRequiredValue ( ArrayTime  startValidTime,
ArrayTime  endValidTime,
int  numFrequencyRanges,
int  numStokes,
std::vector< std::vector< Frequency > >  frequencyRanges,
FluxCalibrationMethodMod::FluxCalibrationMethod  fluxMethod,
std::vector< std::vector< double > >  flux,
std::vector< std::vector< double > >  fluxError,
std::vector< StokesParameterMod::StokesParameter >  stokes 
)

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
startValidTime
endValidTime
numFrequencyRanges
numStokes
frequencyRanges
fluxMethod
flux
fluxError
stokes
void asdm::CalFluxRow::directionCodeFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::directionCodeFromText ( const std::string &  s)
private
void asdm::CalFluxRow::directionEquinoxFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::directionEquinoxFromText ( const std::string &  s)
private
void asdm::CalFluxRow::directionFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::directionFromText ( const std::string &  s)
private
void asdm::CalFluxRow::endValidTimeFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::endValidTimeFromText ( const std::string &  s)
private
bool asdm::CalFluxRow::equalByRequiredValue ( CalFluxRow 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 CalFluxRow whose required attributes of the value part will be compared with those of this.
Returns
a boolean.
void asdm::CalFluxRow::fluxErrorFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::fluxErrorFromText ( const std::string &  s)
private
void asdm::CalFluxRow::fluxFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::fluxFromText ( const std::string &  s)
private
void asdm::CalFluxRow::fluxMethodFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::fluxMethodFromText ( const std::string &  s)
private
void asdm::CalFluxRow::frequencyRangesFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::frequencyRangesFromText ( const std::string &  s)
private
Links* CalDataRow* asdm::CalFluxRow::getCalDataUsingCalDataId ( )

calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId

Returns
a CalDataRow*
Tag asdm::CalFluxRow::getCalReductionId ( ) const

===> Attribute calReductionId

Get calReductionId.

Returns
calReductionId as Tag
CalReductionRow* asdm::CalFluxRow::getCalReductionUsingCalReductionId ( )

calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId

Returns
a CalReductionRow*
std::vector<Angle > asdm::CalFluxRow::getDirection ( ) const

Get direction, which is optional.

Returns
direction as std::vector<Angle >
Exceptions
IllegalAccessExceptionIf direction does not exist.
DirectionReferenceCodeMod::DirectionReferenceCode asdm::CalFluxRow::getDirectionCode ( ) const

Get directionCode, which is optional.

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

Get directionEquinox, which is optional.

Returns
directionEquinox as Angle
Exceptions
IllegalAccessExceptionIf directionEquinox does not exist.
ArrayTime asdm::CalFluxRow::getEndValidTime ( ) const

===> Attribute endValidTime

Get endValidTime.

Returns
endValidTime as ArrayTime
std::vector<std::vector<double > > asdm::CalFluxRow::getFlux ( ) const

===> Attribute flux

Get flux.

Returns
flux as std::vector<std::vector<double > >
std::vector<std::vector<double > > asdm::CalFluxRow::getFluxError ( ) const

===> Attribute fluxError

Get fluxError.

Returns
fluxError as std::vector<std::vector<double > >
FluxCalibrationMethodMod::FluxCalibrationMethod asdm::CalFluxRow::getFluxMethod ( ) const

===> Attribute fluxMethod

Get fluxMethod.

Returns
fluxMethod as FluxCalibrationMethodMod::FluxCalibrationMethod
std::vector<std::vector<Frequency > > asdm::CalFluxRow::getFrequencyRanges ( ) const

===> Attribute frequencyRanges

Get frequencyRanges.

Returns
frequencyRanges as std::vector<std::vector<Frequency > >
int asdm::CalFluxRow::getNumFrequencyRanges ( ) const

===> Attribute numFrequencyRanges

Get numFrequencyRanges.

Returns
numFrequencyRanges as int
int asdm::CalFluxRow::getNumStokes ( ) const

===> Attribute numStokes

Get numStokes.

Returns
numStokes as int
std::vector<std::vector<Angle > > asdm::CalFluxRow::getPA ( ) const

Get PA, which is optional.

Returns
PA as std::vector<std::vector<Angle > >
Exceptions
IllegalAccessExceptionIf PA does not exist.
std::vector<std::vector<Angle > > asdm::CalFluxRow::getPAError ( ) const

Get PAError, which is optional.

Returns
PAError as std::vector<std::vector<Angle > >
Exceptions
IllegalAccessExceptionIf PAError does not exist.
std::vector<std::vector<std::vector<Angle > > > asdm::CalFluxRow::getSize ( ) const

Get size, which is optional.

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

Get sizeError, which is optional.

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

Get sourceModel, which is optional.

Returns
sourceModel as SourceModelMod::SourceModel
Exceptions
IllegalAccessExceptionIf sourceModel does not exist.
ArrayTime asdm::CalFluxRow::getStartValidTime ( ) const

===> Attribute startValidTime

Get startValidTime.

Returns
startValidTime as ArrayTime
std::vector<StokesParameterMod::StokesParameter > asdm::CalFluxRow::getStokes ( ) const

===> Attribute stokes

Get stokes.

Returns
stokes as std::vector<StokesParameterMod::StokesParameter >
CalFluxTable& asdm::CalFluxRow::getTable ( ) const

Return the table to which this row belongs.

bool asdm::CalFluxRow::isAdded ( ) const

Has this row been added to its table ?

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

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

bool asdm::CalFluxRow::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::CalFluxRow::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::CalFluxRow::isDirectionExists ( ) const

===> Attribute direction, which is optional

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

Returns
true if and only if the direction attribute exists.
bool asdm::CalFluxRow::isPAErrorExists ( ) const

===> Attribute PAError, which is optional

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

Returns
true if and only if the PAError attribute exists.
bool asdm::CalFluxRow::isPAExists ( ) const

===> Attribute PA, which is optional

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

Returns
true if and only if the PA attribute exists.
bool asdm::CalFluxRow::isSizeErrorExists ( ) const

===> Attribute sizeError, which is optional

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

Returns
true if and only if the sizeError attribute exists.
bool asdm::CalFluxRow::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::CalFluxRow::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.
void asdm::CalFluxRow::numFrequencyRangesFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::numFrequencyRangesFromText ( const std::string &  s)
private
void asdm::CalFluxRow::numStokesFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::numStokesFromText ( const std::string &  s)
private
void asdm::CalFluxRow::PAErrorFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::PAErrorFromText ( const std::string &  s)
private
void asdm::CalFluxRow::PAFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::PAFromText ( const std::string &  s)
private
void asdm::CalFluxRow::setCalDataId ( Tag  calDataId)

Set calDataId with the specified Tag.

Parameters
calDataIdThe Tag value to which calDataId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::CalFluxRow::setCalReductionId ( Tag  calReductionId)

Set calReductionId with the specified Tag.

Parameters
calReductionIdThe Tag value to which calReductionId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::CalFluxRow::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::CalFluxRow::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::CalFluxRow::setDirectionEquinox ( Angle  directionEquinox)

Set directionEquinox with the specified Angle.

Parameters
directionEquinoxThe Angle value to which directionEquinox is to be set.
void asdm::CalFluxRow::setEndValidTime ( ArrayTime  endValidTime)

Set endValidTime with the specified ArrayTime.

Parameters
endValidTimeThe ArrayTime value to which endValidTime is to be set.
void asdm::CalFluxRow::setFlux ( std::vector< std::vector< double > >  flux)

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

Parameters
fluxThe std::vector<std::vector<double > > value to which flux is to be set.
void asdm::CalFluxRow::setFluxError ( std::vector< std::vector< double > >  fluxError)

Set fluxError with the specified std::vector<std::vector<double > >.

Parameters
fluxErrorThe std::vector<std::vector<double > > value to which fluxError is to be set.
void asdm::CalFluxRow::setFluxMethod ( FluxCalibrationMethodMod::FluxCalibrationMethod  fluxMethod)

Set fluxMethod with the specified FluxCalibrationMethodMod::FluxCalibrationMethod.

Parameters
fluxMethodThe FluxCalibrationMethodMod::FluxCalibrationMethod value to which fluxMethod is to be set.
void asdm::CalFluxRow::setFrequencyRanges ( std::vector< std::vector< Frequency > >  frequencyRanges)

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

Parameters
frequencyRangesThe std::vector<std::vector<Frequency > > value to which frequencyRanges is to be set.
void asdm::CalFluxRow::setFromIDL ( asdmIDL::CalFluxRowIDL  x)

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

Parameters
xThe IDL struct containing the values used to fill this row.
Exceptions
ConversionException
void asdm::CalFluxRow::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::CalFluxRow::setNumFrequencyRanges ( int  numFrequencyRanges)

Set numFrequencyRanges with the specified int.

Parameters
numFrequencyRangesThe int value to which numFrequencyRanges is to be set.
void asdm::CalFluxRow::setNumStokes ( int  numStokes)

Set numStokes with the specified int.

Parameters
numStokesThe int value to which numStokes is to be set.
void asdm::CalFluxRow::setPA ( std::vector< std::vector< Angle > >  PA)

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

Parameters
PAThe std::vector<std::vector<Angle > > value to which PA is to be set.
void asdm::CalFluxRow::setPAError ( std::vector< std::vector< Angle > >  PAError)

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

Parameters
PAErrorThe std::vector<std::vector<Angle > > value to which PAError is to be set.
void asdm::CalFluxRow::setSize ( std::vector< std::vector< std::vector< Angle > > >  size)

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

Parameters
sizeThe std::vector<std::vector<std::vector<Angle > > > value to which size is to be set.
void asdm::CalFluxRow::setSizeError ( std::vector< std::vector< std::vector< Angle > > >  sizeError)

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

Parameters
sizeErrorThe std::vector<std::vector<std::vector<Angle > > > value to which sizeError is to be set.
void asdm::CalFluxRow::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::CalFluxRow::setSourceName ( std::string  sourceName)

Set sourceName with the specified std::string.

Parameters
sourceNameThe std::string value to which sourceName is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::CalFluxRow::setStartValidTime ( ArrayTime  startValidTime)

Set startValidTime with the specified ArrayTime.

Parameters
startValidTimeThe ArrayTime value to which startValidTime is to be set.
void asdm::CalFluxRow::setStokes ( std::vector< StokesParameterMod::StokesParameter >  stokes)

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

Parameters
stokesThe std::vector<StokesParameterMod::StokesParameter > value to which stokes is to be set.
void asdm::CalFluxRow::sizeErrorFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::sizeErrorFromText ( const std::string &  s)
private
void asdm::CalFluxRow::sizeFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::sizeFromText ( const std::string &  s)
private
void asdm::CalFluxRow::sourceModelFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::sourceModelFromText ( const std::string &  s)
private
void asdm::CalFluxRow::sourceNameFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::sourceNameFromText ( const std::string &  s)
private
void asdm::CalFluxRow::startValidTimeFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::startValidTimeFromText ( const std::string &  s)
private
void asdm::CalFluxRow::stokesFromBin ( EndianIStream eis)
private
void asdm::CalFluxRow::stokesFromText ( const std::string &  s)
private
void asdm::CalFluxRow::toBin ( EndianOSStream eoss)
private

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

Parameters
eossthe EndianOSStream to be written to
asdmIDL::CalFluxRowIDL* asdm::CalFluxRow::toIDL ( ) const

Return this row in the form of an IDL struct.

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

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

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

Return this row in the form of an XML string.

Returns
The values of this row as an XML string.

Friends And Related Function Documentation

friend class asdm::CalFluxTable
friend

Definition at line 149 of file CalFluxRow.h.

friend class asdm::RowTransformer< CalFluxRow >
friend

Definition at line 150 of file CalFluxRow.h.

Member Data Documentation

Extrinsic Table asdm::CalFluxRow::Attributes

Definition at line 173 of file CalFluxRow.h.

Extrinsic Table asdm::CalFluxRow::Attributes

Definition at line 807 of file CalFluxRow.h.

Tag asdm::CalFluxRow::calReductionId
private

===> Attribute calReductionId

Definition at line 1345 of file CalFluxRow.h.

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

Definition at line 1228 of file CalFluxRow.h.

DirectionReferenceCodeMod::DirectionReferenceCode asdm::CalFluxRow::directionCode
private

Definition at line 1241 of file CalFluxRow.h.

bool asdm::CalFluxRow::directionCodeExists
private

===> Attribute directionCode, which is optional

Definition at line 1238 of file CalFluxRow.h.

Angle asdm::CalFluxRow::directionEquinox
private

Definition at line 1254 of file CalFluxRow.h.

bool asdm::CalFluxRow::directionEquinoxExists
private

===> Attribute directionEquinox, which is optional

Definition at line 1251 of file CalFluxRow.h.

bool asdm::CalFluxRow::directionExists
private

===> Attribute direction, which is optional

Definition at line 1225 of file CalFluxRow.h.

ArrayTime asdm::CalFluxRow::endValidTime
private

===> Attribute endValidTime

Definition at line 1138 of file CalFluxRow.h.

std::vector<std::vector<double > > asdm::CalFluxRow::flux
private

===> Attribute flux

Definition at line 1193 of file CalFluxRow.h.

std::vector<std::vector<double > > asdm::CalFluxRow::fluxError
private

===> Attribute fluxError

Definition at line 1204 of file CalFluxRow.h.

FluxCalibrationMethodMod::FluxCalibrationMethod asdm::CalFluxRow::fluxMethod
private

===> Attribute fluxMethod

Definition at line 1182 of file CalFluxRow.h.

std::vector<std::vector<Frequency > > asdm::CalFluxRow::frequencyRanges
private

===> Attribute frequencyRanges

Definition at line 1171 of file CalFluxRow.h.

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

Definition at line 1374 of file CalFluxRow.h.

* text deserialization material std::map<std::string, CalFluxAttributeFromText> asdm::CalFluxRow::fromTextMethods
private

Definition at line 1402 of file CalFluxRow.h.

bool asdm::CalFluxRow::hasBeenAdded
private

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

Definition at line 1072 of file CalFluxRow.h.

int asdm::CalFluxRow::numFrequencyRanges
private

===> Attribute numFrequencyRanges

Definition at line 1149 of file CalFluxRow.h.

int asdm::CalFluxRow::numStokes
private

===> Attribute numStokes

Definition at line 1160 of file CalFluxRow.h.

std::vector<std::vector<Angle > > asdm::CalFluxRow::PA
private

Definition at line 1267 of file CalFluxRow.h.

std::vector<std::vector<Angle > > asdm::CalFluxRow::PAError
private

Definition at line 1280 of file CalFluxRow.h.

bool asdm::CalFluxRow::PAErrorExists
private

===> Attribute PAError, which is optional

Definition at line 1277 of file CalFluxRow.h.

bool asdm::CalFluxRow::PAExists
private

===> Attribute PA, which is optional

Definition at line 1264 of file CalFluxRow.h.

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

Definition at line 1293 of file CalFluxRow.h.

std::vector<std::vector<std::vector<Angle > > > asdm::CalFluxRow::sizeError
private

Definition at line 1306 of file CalFluxRow.h.

bool asdm::CalFluxRow::sizeErrorExists
private

===> Attribute sizeError, which is optional

Definition at line 1303 of file CalFluxRow.h.

bool asdm::CalFluxRow::sizeExists
private

===> Attribute size, which is optional

Definition at line 1290 of file CalFluxRow.h.

SourceModelMod::SourceModel asdm::CalFluxRow::sourceModel
private

Definition at line 1319 of file CalFluxRow.h.

bool asdm::CalFluxRow::sourceModelExists
private

===> Attribute sourceModel, which is optional

Definition at line 1316 of file CalFluxRow.h.

ArrayTime asdm::CalFluxRow::startValidTime
private

===> Attribute startValidTime

Definition at line 1127 of file CalFluxRow.h.

std::vector<StokesParameterMod::StokesParameter > asdm::CalFluxRow::stokes
private

===> Attribute stokes

Definition at line 1215 of file CalFluxRow.h.

CalFluxTable& asdm::CalFluxRow::table
private

The table to which this row belongs.

Definition at line 1068 of file CalFluxRow.h.


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