asdm::GainTrackingRow Class Reference

The GainTrackingRow class is a row of a GainTrackingTable. More...

#include <GainTrackingRow.h>

List of all members.

Public Member Functions

virtual ~GainTrackingRow ()
 friend class asdm::TableStreamReader<GainTrackingTable, GainTrackingRow>;
GainTrackingTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
void setTimeInterval (ArrayTimeInterval timeInterval)
 Set timeInterval with the specified ArrayTimeInterval.
int getNumReceptor () const
 ===> Attribute numReceptor
void setNumReceptor (int numReceptor)
 Set numReceptor with the specified int.
vector< float > getAttenuator () const
 ===> Attribute attenuator
void setAttenuator (vector< float > attenuator)
 Set attenuator with the specified vector<float >.
vector
< PolarizationTypeMod::PolarizationType > 
getPolarizationType () const
 ===> Attribute polarizationType
void setPolarizationType (vector< PolarizationTypeMod::PolarizationType > polarizationType)
 Set polarizationType with the specified vector<PolarizationTypeMod::PolarizationType >.
bool isSamplingLevelExists () const
 ===> Attribute samplingLevel, which is optional
float getSamplingLevel () const
 Get samplingLevel, which is optional.
void setSamplingLevel (float samplingLevel)
 Set samplingLevel with the specified float.
void clearSamplingLevel ()
 Mark samplingLevel, which is an optional field, as non-existent.
bool isNumAttFreqExists () const
 ===> Attribute numAttFreq, which is optional
int getNumAttFreq () const
 Get numAttFreq, which is optional.
void setNumAttFreq (int numAttFreq)
 Set numAttFreq with the specified int.
void clearNumAttFreq ()
 Mark numAttFreq, which is an optional field, as non-existent.
bool isAttFreqExists () const
 ===> Attribute attFreq, which is optional
vector< double > getAttFreq () const
 Get attFreq, which is optional.
void setAttFreq (vector< double > attFreq)
 Set attFreq with the specified vector<double >.
void clearAttFreq ()
 Mark attFreq, which is an optional field, as non-existent.
bool isAttSpectrumExists () const
 ===> Attribute attSpectrum, which is optional
vector< ComplexgetAttSpectrum () const
 Get attSpectrum, which is optional.
void setAttSpectrum (vector< Complex > attSpectrum)
 Set attSpectrum with the specified vector<Complex >.
void clearAttSpectrum ()
 Mark attSpectrum, which is an optional field, as non-existent.
void setAntennaId (Tag antennaId)
 Set antennaId with the specified Tag.
int getFeedId () const
 ===> Attribute feedId
void setFeedId (int feedId)
 Set feedId with the specified int.
Tag getSpectralWindowId () const
 ===> Attribute spectralWindowId
void setSpectralWindowId (Tag spectralWindowId)
 Set spectralWindowId with the specified Tag.
Links *AntennaRowgetAntennaUsingAntennaId ()
 antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId ()
 spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
vector< FeedRow * > getFeeds ()
 ===> Slice link from a row of GainTracking table to a collection of row of Feed table.
bool compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numReceptor, vector< float > attenuator, vector< PolarizationTypeMod::PolarizationType > polarizationType)
 Compare each mandatory attribute except the autoincrementable one of this GainTrackingRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numReceptor, vector< float > attenuator, vector< PolarizationTypeMod::PolarizationType > polarizationType)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (GainTrackingRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::GainTrackingRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::GainTrackingRowIDL &x) const
 Define the content of a GainTrackingRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::GainTrackingRowIDL x)
 Fill the values of this row from the IDL struct GainTrackingRowIDL.
std::string toXML () const
 Return this row in the form of an XML string.
void setFromXML (std::string rowDoc)
 Fill the values of this row from an XML string that was produced by the toXML() method.

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.
 GainTrackingRow (GainTrackingTable &table)
 Create a GainTrackingRow.
 GainTrackingRow (GainTrackingTable &table, GainTrackingRow &row)
 Create a GainTrackingRow using a copy constructor mechanism.
void antennaIdFromBin (EndianIStream &eis)
void spectralWindowIdFromBin (EndianIStream &eis)
void timeIntervalFromBin (EndianIStream &eis)
void feedIdFromBin (EndianIStream &eis)
void numReceptorFromBin (EndianIStream &eis)
void attenuatorFromBin (EndianIStream &eis)
void polarizationTypeFromBin (EndianIStream &eis)
void samplingLevelFromBin (EndianIStream &eis)
void numAttFreqFromBin (EndianIStream &eis)
void attFreqFromBin (EndianIStream &eis)
void attSpectrumFromBin (EndianIStream &eis)
void antennaIdFromText (const string &s)
void spectralWindowIdFromText (const string &s)
void timeIntervalFromText (const string &s)
void feedIdFromText (const string &s)
void numReceptorFromText (const string &s)
void attenuatorFromText (const string &s)
void polarizationTypeFromText (const string &s)
void samplingLevelFromText (const string &s)
void numAttFreqFromText (const string &s)
void attFreqFromText (const string &s)
void attSpectrumFromText (const string &s)
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream.

Private Attributes

GainTrackingTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numReceptor
 ===> Attribute numReceptor
vector< float > attenuator
 ===> Attribute attenuator
vector
< PolarizationTypeMod::PolarizationType > 
polarizationType
 ===> Attribute polarizationType
bool samplingLevelExists
 ===> Attribute samplingLevel, which is optional
float samplingLevel
bool numAttFreqExists
 ===> Attribute numAttFreq, which is optional
int numAttFreq
bool attFreqExists
 ===> Attribute attFreq, which is optional
vector< double > attFreq
bool attSpectrumExists
 ===> Attribute attSpectrum, which is optional
vector< ComplexattSpectrum
int feedId
 ===> Attribute feedId
Tag spectralWindowId
 ===> Attribute spectralWindowId
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
GainTrackingAttributeFromBin
fromBinMethods
*text deserialization material
std::map< std::string,
GainTrackingAttributeFromText
fromTextMethods

Friends

class asdm::GainTrackingTable
class asdm::RowTransformer< GainTrackingRow >

Detailed Description

The GainTrackingRow class is a row of a GainTrackingTable.

Generated from model's revision "1.64", branch "HEAD"

Definition at line 121 of file GainTrackingRow.h.


Constructor & Destructor Documentation

virtual asdm::GainTrackingRow::~GainTrackingRow (  )  [virtual]

friend class asdm::TableStreamReader<GainTrackingTable, GainTrackingRow>;

asdm::GainTrackingRow::GainTrackingRow ( GainTrackingTable table  )  [private]

Create a GainTrackingRow.

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

Parameters:
table The table to which this row belongs.
asdm::GainTrackingRow::GainTrackingRow ( GainTrackingTable table,
GainTrackingRow row 
) [private]

Create a GainTrackingRow using a copy constructor mechanism.

Given a GainTrackingRow row and a GainTrackingTable table, the method creates a new GainTrackingRow 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:
table The table to which this row belongs.
row The row which is to be copied.

Member Function Documentation

void asdm::GainTrackingRow::antennaIdFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::antennaIdFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::attenuatorFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::attenuatorFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::attFreqFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::attFreqFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::attSpectrumFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::attSpectrumFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::clearAttFreq (  ) 

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

void asdm::GainTrackingRow::clearAttSpectrum (  ) 

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

void asdm::GainTrackingRow::clearNumAttFreq (  ) 

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

void asdm::GainTrackingRow::clearSamplingLevel (  ) 

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

bool asdm::GainTrackingRow::compareNoAutoInc ( Tag  antennaId,
Tag  spectralWindowId,
ArrayTimeInterval  timeInterval,
int  feedId,
int  numReceptor,
vector< float >  attenuator,
vector< PolarizationTypeMod::PolarizationType >  polarizationType 
)

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

Parameters:
antennaId 
spectralWindowId 
timeInterval 
feedId 
numReceptor 
attenuator 
polarizationType 
bool asdm::GainTrackingRow::compareRequiredValue ( int  numReceptor,
vector< float >  attenuator,
vector< PolarizationTypeMod::PolarizationType >  polarizationType 
)

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:
numReceptor 
attenuator 
polarizationType 
bool asdm::GainTrackingRow::equalByRequiredValue ( GainTrackingRow x  ) 

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

Parameters:
x a pointer on the GainTrackingRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
void asdm::GainTrackingRow::feedIdFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::feedIdFromText ( const string &  s  )  [private]
Links* AntennaRow* asdm::GainTrackingRow::getAntennaUsingAntennaId (  ) 

antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId

Returns:
a AntennaRow*
vector<float > asdm::GainTrackingRow::getAttenuator (  )  const

===> Attribute attenuator

Get attenuator.

Returns:
attenuator as vector<float >
vector<double > asdm::GainTrackingRow::getAttFreq (  )  const

Get attFreq, which is optional.

Returns:
attFreq as vector<double >
Exceptions:
IllegalAccessException If attFreq does not exist.
vector<Complex > asdm::GainTrackingRow::getAttSpectrum (  )  const

Get attSpectrum, which is optional.

Returns:
attSpectrum as vector<Complex >
Exceptions:
IllegalAccessException If attSpectrum does not exist.
int asdm::GainTrackingRow::getFeedId (  )  const

===> Attribute feedId

Get feedId.

Returns:
feedId as int
vector<FeedRow *> asdm::GainTrackingRow::getFeeds (  ) 

===> Slice link from a row of GainTracking table to a collection of row of Feed table.

Get the collection of row in the Feed table having feedId == this.feedId

Returns:
a vector of FeedRow *
int asdm::GainTrackingRow::getNumAttFreq (  )  const

Get numAttFreq, which is optional.

Returns:
numAttFreq as int
Exceptions:
IllegalAccessException If numAttFreq does not exist.
int asdm::GainTrackingRow::getNumReceptor (  )  const

===> Attribute numReceptor

Get numReceptor.

Returns:
numReceptor as int
vector<PolarizationTypeMod::PolarizationType > asdm::GainTrackingRow::getPolarizationType (  )  const

===> Attribute polarizationType

Get polarizationType.

Returns:
polarizationType as vector<PolarizationTypeMod::PolarizationType >
float asdm::GainTrackingRow::getSamplingLevel (  )  const

Get samplingLevel, which is optional.

Returns:
samplingLevel as float
Exceptions:
IllegalAccessException If samplingLevel does not exist.
Tag asdm::GainTrackingRow::getSpectralWindowId (  )  const

===> Attribute spectralWindowId

Get spectralWindowId.

Returns:
spectralWindowId as Tag
SpectralWindowRow* asdm::GainTrackingRow::getSpectralWindowUsingSpectralWindowId (  ) 

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

Returns:
a SpectralWindowRow*
GainTrackingTable& asdm::GainTrackingRow::getTable (  )  const

Return the table to which this row belongs.

void asdm::GainTrackingRow::isAdded ( bool  added  )  [private]

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

bool asdm::GainTrackingRow::isAdded (  )  const

Has this row been added to its table ?

Returns:
true if and only if it has been added.
bool asdm::GainTrackingRow::isAttFreqExists (  )  const

===> Attribute attFreq, which is optional

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

Returns:
true if and only if the attFreq attribute exists.
bool asdm::GainTrackingRow::isAttSpectrumExists (  )  const

===> Attribute attSpectrum, which is optional

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

Returns:
true if and only if the attSpectrum attribute exists.
bool asdm::GainTrackingRow::isNumAttFreqExists (  )  const

===> Attribute numAttFreq, which is optional

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

Returns:
true if and only if the numAttFreq attribute exists.
bool asdm::GainTrackingRow::isSamplingLevelExists (  )  const

===> Attribute samplingLevel, which is optional

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

Returns:
true if and only if the samplingLevel attribute exists.
void asdm::GainTrackingRow::numAttFreqFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::numAttFreqFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::numReceptorFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::numReceptorFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::polarizationTypeFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::polarizationTypeFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::samplingLevelFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::samplingLevelFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::setAntennaId ( Tag  antennaId  ) 

Set antennaId with the specified Tag.

Parameters:
antennaId The Tag value to which antennaId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.
void asdm::GainTrackingRow::setAttenuator ( vector< float >  attenuator  ) 

Set attenuator with the specified vector<float >.

Parameters:
attenuator The vector<float > value to which attenuator is to be set.
void asdm::GainTrackingRow::setAttFreq ( vector< double >  attFreq  ) 

Set attFreq with the specified vector<double >.

Parameters:
attFreq The vector<double > value to which attFreq is to be set.
void asdm::GainTrackingRow::setAttSpectrum ( vector< Complex attSpectrum  ) 

Set attSpectrum with the specified vector<Complex >.

Parameters:
attSpectrum The vector<Complex > value to which attSpectrum is to be set.
void asdm::GainTrackingRow::setFeedId ( int  feedId  ) 

Set feedId with the specified int.

Parameters:
feedId The int value to which feedId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.
void asdm::GainTrackingRow::setFromIDL ( asdmIDL::GainTrackingRowIDL  x  ) 

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

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

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

Parameters:
rowDoc the XML string being used to set the values of this row.
Exceptions:
ConversionException 
void asdm::GainTrackingRow::setNumAttFreq ( int  numAttFreq  ) 

Set numAttFreq with the specified int.

Parameters:
numAttFreq The int value to which numAttFreq is to be set.
void asdm::GainTrackingRow::setNumReceptor ( int  numReceptor  ) 

Set numReceptor with the specified int.

Parameters:
numReceptor The int value to which numReceptor is to be set.
void asdm::GainTrackingRow::setPolarizationType ( vector< PolarizationTypeMod::PolarizationType >  polarizationType  ) 

Set polarizationType with the specified vector<PolarizationTypeMod::PolarizationType >.

Parameters:
polarizationType The vector<PolarizationTypeMod::PolarizationType > value to which polarizationType is to be set.
void asdm::GainTrackingRow::setSamplingLevel ( float  samplingLevel  ) 

Set samplingLevel with the specified float.

Parameters:
samplingLevel The float value to which samplingLevel is to be set.
void asdm::GainTrackingRow::setSpectralWindowId ( Tag  spectralWindowId  ) 

Set spectralWindowId with the specified Tag.

Parameters:
spectralWindowId The Tag value to which spectralWindowId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.
void asdm::GainTrackingRow::setTimeInterval ( ArrayTimeInterval  timeInterval  ) 

Set timeInterval with the specified ArrayTimeInterval.

Parameters:
timeInterval The ArrayTimeInterval value to which timeInterval is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.
void asdm::GainTrackingRow::spectralWindowIdFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::spectralWindowIdFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::timeIntervalFromBin ( EndianIStream eis  )  [private]
void asdm::GainTrackingRow::timeIntervalFromText ( const string &  s  )  [private]
void asdm::GainTrackingRow::toBin ( EndianOSStream eoss  )  [private]

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

Parameters:
eoss the EndianOSStream to be written to
void asdm::GainTrackingRow::toIDL ( asdmIDL::GainTrackingRowIDL &  x  )  const

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

Parameters:
x a reference to the GainTrackingRowIDL struct to be set.
asdmIDL::GainTrackingRowIDL* asdm::GainTrackingRow::toIDL (  )  const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a GainTrackingRowIDL struct.
std::string asdm::GainTrackingRow::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::GainTrackingTable [friend]

Definition at line 122 of file GainTrackingRow.h.

friend class asdm::RowTransformer< GainTrackingRow > [friend]

Definition at line 123 of file GainTrackingRow.h.


Member Data Documentation

vector<float > asdm::GainTrackingRow::attenuator [private]

===> Attribute attenuator

Definition at line 785 of file GainTrackingRow.h.

vector<double > asdm::GainTrackingRow::attFreq [private]

Definition at line 835 of file GainTrackingRow.h.

===> Attribute attFreq, which is optional

Definition at line 832 of file GainTrackingRow.h.

Definition at line 436 of file GainTrackingRow.h.

Definition at line 146 of file GainTrackingRow.h.

Definition at line 848 of file GainTrackingRow.h.

===> Attribute attSpectrum, which is optional

Definition at line 845 of file GainTrackingRow.h.

===> Attribute feedId

Definition at line 874 of file GainTrackingRow.h.

Links* binary deserialization material from an EndianIStream std::map<std::string, GainTrackingAttributeFromBin> asdm::GainTrackingRow::fromBinMethods [private]

Definition at line 920 of file GainTrackingRow.h.

* text deserialization material std::map<std::string, GainTrackingAttributeFromText> asdm::GainTrackingRow::fromTextMethods [private]

Definition at line 939 of file GainTrackingRow.h.

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

Definition at line 719 of file GainTrackingRow.h.

Definition at line 822 of file GainTrackingRow.h.

===> Attribute numAttFreq, which is optional

Definition at line 819 of file GainTrackingRow.h.

===> Attribute numReceptor

Definition at line 774 of file GainTrackingRow.h.

vector<PolarizationTypeMod::PolarizationType > asdm::GainTrackingRow::polarizationType [private]

===> Attribute polarizationType

Definition at line 796 of file GainTrackingRow.h.

Definition at line 809 of file GainTrackingRow.h.

===> Attribute samplingLevel, which is optional

Definition at line 806 of file GainTrackingRow.h.

===> Attribute spectralWindowId

Definition at line 885 of file GainTrackingRow.h.

The table to which this row belongs.

Definition at line 715 of file GainTrackingRow.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1