casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends
asdm::FlagRow Class Reference

The FlagRow class is a row of a FlagTable. More...

#include <FlagRow.h>

List of all members.

Public Member Functions

virtual ~FlagRow ()
 friend class asdm::TableStreamReader<FlagTable, FlagRow>;
FlagTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
ArrayTime getStartTime () const
 ===> Attribute startTime
void setStartTime (ArrayTime startTime)
 Set startTime with the specified ArrayTime.
ArrayTime getEndTime () const
 ===> Attribute endTime
void setEndTime (ArrayTime endTime)
 Set endTime with the specified ArrayTime.
string getReason () const
 ===> Attribute reason
void setReason (string reason)
 Set reason with the specified string.
int getNumAntenna () const
 ===> Attribute numAntenna
void setNumAntenna (int numAntenna)
 Set numAntenna with the specified int.
bool isNumPolarizationTypeExists () const
 ===> Attribute numPolarizationType, which is optional
int getNumPolarizationType () const
 Get numPolarizationType, which is optional.
void setNumPolarizationType (int numPolarizationType)
 Set numPolarizationType with the specified int.
void clearNumPolarizationType ()
 Mark numPolarizationType, which is an optional field, as non-existent.
bool isNumSpectralWindowExists () const
 ===> Attribute numSpectralWindow, which is optional
int getNumSpectralWindow () const
 Get numSpectralWindow, which is optional.
void setNumSpectralWindow (int numSpectralWindow)
 Set numSpectralWindow with the specified int.
void clearNumSpectralWindow ()
 Mark numSpectralWindow, which is an optional field, as non-existent.
bool isNumPairedAntennaExists () const
 ===> Attribute numPairedAntenna, which is optional
int getNumPairedAntenna () const
 Get numPairedAntenna, which is optional.
void setNumPairedAntenna (int numPairedAntenna)
 Set numPairedAntenna with the specified int.
void clearNumPairedAntenna ()
 Mark numPairedAntenna, which is an optional field, as non-existent.
bool isPolarizationTypeExists () const
 ===> Attribute polarizationType, which is optional
vector
< PolarizationTypeMod::PolarizationType > 
getPolarizationType () const
 Get polarizationType, which is optional.
void setPolarizationType (vector< PolarizationTypeMod::PolarizationType > polarizationType)
 Set polarizationType with the specified vector<PolarizationTypeMod::PolarizationType >.
void clearPolarizationType ()
 Mark polarizationType, which is an optional field, as non-existent.
void setAntennaId (vector< Tag > antennaId)
 Set antennaId with the specified vector<Tag> .
bool isPairedAntennaIdExists () const
 ===> Attribute pairedAntennaId, which is optional
vector< TaggetPairedAntennaId () const
 Get pairedAntennaId, which is optional.
void setPairedAntennaId (vector< Tag > pairedAntennaId)
 Set pairedAntennaId with the specified vector<Tag> .
void clearPairedAntennaId ()
 Mark pairedAntennaId, which is an optional field, as non-existent.
bool isSpectralWindowIdExists () const
 ===> Attribute spectralWindowId, which is optional
vector< TaggetSpectralWindowId () const
 Get spectralWindowId, which is optional.
void setSpectralWindowId (vector< Tag > spectralWindowId)
 Set spectralWindowId with the specified vector<Tag> .
void clearSpectralWindowId ()
 Mark spectralWindowId, which is an optional field, as non-existent.
Links *void setAntennaId (int i, Tag antennaId)
 Set antennaId[i] with the specified Tag.
void addAntennaId (Tag id)
 Append a Tag to antennaId.
void addAntennaId (const vector< Tag > &id)
 Append a vector of Tag to antennaId.
const Tag getAntennaId (int i)
 Returns the Tag stored in antennaId at position i.
AntennaRowgetAntennaUsingAntennaId (int i)
 Returns the AntennaRow linked to this row via the tag stored in antennaId at position i.
vector< AntennaRow * > getAntennasUsingAntennaId ()
 Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
void setPairedAntennaId (int i, Tag pairedAntennaId)
 Set pairedAntennaId[i] with the specified Tag.
void addPairedAntennaId (Tag id)
 Append a Tag to pairedAntennaId.
void addPairedAntennaId (const vector< Tag > &id)
 Append a vector of Tag to pairedAntennaId.
const Tag getPairedAntennaId (int i)
 Returns the Tag stored in pairedAntennaId at position i.
AntennaRowgetAntennaUsingPairedAntennaId (int i)
 Returns the AntennaRow linked to this row via the tag stored in pairedAntennaId at position i.
vector< AntennaRow * > getAntennasUsingPairedAntennaId ()
 Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.
void setSpectralWindowId (int i, Tag spectralWindowId)
 Set spectralWindowId[i] with the specified Tag.
void addSpectralWindowId (Tag id)
 Append a Tag to spectralWindowId.
void addSpectralWindowId (const vector< Tag > &id)
 Append a vector of Tag to spectralWindowId.
const Tag getSpectralWindowId (int i)
 Returns the Tag stored in spectralWindowId at position i.
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId (int i)
 Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.
vector< SpectralWindowRow * > getSpectralWindowsUsingSpectralWindowId ()
 Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.
bool compareNoAutoInc (ArrayTime startTime, ArrayTime endTime, string reason, int numAntenna, vector< Tag > antennaId)
 Compare each mandatory attribute except the autoincrementable one of this FlagRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (ArrayTime startTime, ArrayTime endTime, string reason, int numAntenna, vector< Tag > antennaId)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (FlagRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::FlagRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::FlagRowIDL &x) const
 Define the content of a FlagRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::FlagRowIDL x)
 Fill the values of this row from the IDL struct FlagRowIDL.
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.
virtual ~FlagRow ()
 friend class asdm::TableStreamReader<FlagTable, FlagRow>;
FlagTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
ArrayTime getStartTime () const
 ===> Attribute startTime
void setStartTime (ArrayTime startTime)
 Set startTime with the specified ArrayTime.
ArrayTime getEndTime () const
 ===> Attribute endTime
void setEndTime (ArrayTime endTime)
 Set endTime with the specified ArrayTime.
string getReason () const
 ===> Attribute reason
void setReason (string reason)
 Set reason with the specified string.
int getNumAntenna () const
 ===> Attribute numAntenna
void setNumAntenna (int numAntenna)
 Set numAntenna with the specified int.
bool isNumPolarizationTypeExists () const
 ===> Attribute numPolarizationType, which is optional
int getNumPolarizationType () const
 Get numPolarizationType, which is optional.
void setNumPolarizationType (int numPolarizationType)
 Set numPolarizationType with the specified int.
void clearNumPolarizationType ()
 Mark numPolarizationType, which is an optional field, as non-existent.
bool isNumSpectralWindowExists () const
 ===> Attribute numSpectralWindow, which is optional
int getNumSpectralWindow () const
 Get numSpectralWindow, which is optional.
void setNumSpectralWindow (int numSpectralWindow)
 Set numSpectralWindow with the specified int.
void clearNumSpectralWindow ()
 Mark numSpectralWindow, which is an optional field, as non-existent.
bool isNumPairedAntennaExists () const
 ===> Attribute numPairedAntenna, which is optional
int getNumPairedAntenna () const
 Get numPairedAntenna, which is optional.
void setNumPairedAntenna (int numPairedAntenna)
 Set numPairedAntenna with the specified int.
void clearNumPairedAntenna ()
 Mark numPairedAntenna, which is an optional field, as non-existent.
bool isPolarizationTypeExists () const
 ===> Attribute polarizationType, which is optional
vector
< PolarizationTypeMod::PolarizationType > 
getPolarizationType () const
 Get polarizationType, which is optional.
void setPolarizationType (vector< PolarizationTypeMod::PolarizationType > polarizationType)
 Set polarizationType with the specified vector<PolarizationTypeMod::PolarizationType >.
void clearPolarizationType ()
 Mark polarizationType, which is an optional field, as non-existent.
void setAntennaId (vector< Tag > antennaId)
 Set antennaId with the specified vector<Tag> .
bool isPairedAntennaIdExists () const
 ===> Attribute pairedAntennaId, which is optional
vector< TaggetPairedAntennaId () const
 Get pairedAntennaId, which is optional.
void setPairedAntennaId (vector< Tag > pairedAntennaId)
 Set pairedAntennaId with the specified vector<Tag> .
void clearPairedAntennaId ()
 Mark pairedAntennaId, which is an optional field, as non-existent.
bool isSpectralWindowIdExists () const
 ===> Attribute spectralWindowId, which is optional
vector< TaggetSpectralWindowId () const
 Get spectralWindowId, which is optional.
void setSpectralWindowId (vector< Tag > spectralWindowId)
 Set spectralWindowId with the specified vector<Tag> .
void clearSpectralWindowId ()
 Mark spectralWindowId, which is an optional field, as non-existent.
Links *void setAntennaId (int i, Tag antennaId)
 Set antennaId[i] with the specified Tag.
void addAntennaId (Tag id)
 Append a Tag to antennaId.
void addAntennaId (const vector< Tag > &id)
 Append a vector of Tag to antennaId.
const Tag getAntennaId (int i)
 Returns the Tag stored in antennaId at position i.
AntennaRowgetAntennaUsingAntennaId (int i)
 Returns the AntennaRow linked to this row via the tag stored in antennaId at position i.
vector< AntennaRow * > getAntennasUsingAntennaId ()
 Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
void setPairedAntennaId (int i, Tag pairedAntennaId)
 Set pairedAntennaId[i] with the specified Tag.
void addPairedAntennaId (Tag id)
 Append a Tag to pairedAntennaId.
void addPairedAntennaId (const vector< Tag > &id)
 Append a vector of Tag to pairedAntennaId.
const Tag getPairedAntennaId (int i)
 Returns the Tag stored in pairedAntennaId at position i.
AntennaRowgetAntennaUsingPairedAntennaId (int i)
 Returns the AntennaRow linked to this row via the tag stored in pairedAntennaId at position i.
vector< AntennaRow * > getAntennasUsingPairedAntennaId ()
 Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.
void setSpectralWindowId (int i, Tag spectralWindowId)
 Set spectralWindowId[i] with the specified Tag.
void addSpectralWindowId (Tag id)
 Append a Tag to spectralWindowId.
void addSpectralWindowId (const vector< Tag > &id)
 Append a vector of Tag to spectralWindowId.
const Tag getSpectralWindowId (int i)
 Returns the Tag stored in spectralWindowId at position i.
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId (int i)
 Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.
vector< SpectralWindowRow * > getSpectralWindowsUsingSpectralWindowId ()
 Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.
bool compareNoAutoInc (ArrayTime startTime, ArrayTime endTime, string reason, int numAntenna, vector< Tag > antennaId)
 Compare each mandatory attribute except the autoincrementable one of this FlagRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (ArrayTime startTime, ArrayTime endTime, string reason, int numAntenna, vector< Tag > antennaId)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (FlagRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::FlagRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (asdmIDL::FlagRowIDL x)
 Fill the values of this row from the IDL struct FlagRowIDL.
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.
 FlagRow (FlagTable &table)
 Create a FlagRow.
 FlagRow (FlagTable &table, FlagRow &row)
 Create a FlagRow using a copy constructor mechanism.
void setFlagId (Tag flagId)
 Set flagId with the specified Tag value.
void flagIdFromBin (EndianIStream &eis)
void startTimeFromBin (EndianIStream &eis)
void endTimeFromBin (EndianIStream &eis)
void reasonFromBin (EndianIStream &eis)
void numAntennaFromBin (EndianIStream &eis)
void antennaIdFromBin (EndianIStream &eis)
void numPolarizationTypeFromBin (EndianIStream &eis)
void numSpectralWindowFromBin (EndianIStream &eis)
void numPairedAntennaFromBin (EndianIStream &eis)
void polarizationTypeFromBin (EndianIStream &eis)
void pairedAntennaIdFromBin (EndianIStream &eis)
void spectralWindowIdFromBin (EndianIStream &eis)
void flagIdFromText (const string &s)
void startTimeFromText (const string &s)
void endTimeFromText (const string &s)
void reasonFromText (const string &s)
void numAntennaFromText (const string &s)
void antennaIdFromText (const string &s)
void numPolarizationTypeFromText (const string &s)
void numSpectralWindowFromText (const string &s)
void numPairedAntennaFromText (const string &s)
void polarizationTypeFromText (const string &s)
void pairedAntennaIdFromText (const string &s)
void spectralWindowIdFromText (const string &s)
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream.
void isAdded (bool added)
 This method is used by the Table class when this row is added to the table.
 FlagRow (FlagTable &table)
 Create a FlagRow.
 FlagRow (FlagTable &table, FlagRow &row)
 Create a FlagRow using a copy constructor mechanism.
void setFlagId (Tag flagId)
 Set flagId with the specified Tag value.
void flagIdFromBin (EndianIStream &eis)
void startTimeFromBin (EndianIStream &eis)
void endTimeFromBin (EndianIStream &eis)
void reasonFromBin (EndianIStream &eis)
void numAntennaFromBin (EndianIStream &eis)
void antennaIdFromBin (EndianIStream &eis)
void numPolarizationTypeFromBin (EndianIStream &eis)
void numSpectralWindowFromBin (EndianIStream &eis)
void numPairedAntennaFromBin (EndianIStream &eis)
void polarizationTypeFromBin (EndianIStream &eis)
void pairedAntennaIdFromBin (EndianIStream &eis)
void spectralWindowIdFromBin (EndianIStream &eis)
void flagIdFromText (const string &s)
void startTimeFromText (const string &s)
void endTimeFromText (const string &s)
void reasonFromText (const string &s)
void numAntennaFromText (const string &s)
void antennaIdFromText (const string &s)
void numPolarizationTypeFromText (const string &s)
void numSpectralWindowFromText (const string &s)
void numPairedAntennaFromText (const string &s)
void polarizationTypeFromText (const string &s)
void pairedAntennaIdFromText (const string &s)
void spectralWindowIdFromText (const string &s)
void fromText (const std::string &attributeName, const std::string &t)
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream.

Private Attributes

FlagTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
ArrayTime startTime
 ===> Attribute startTime
ArrayTime endTime
 ===> Attribute endTime
string reason
 ===> Attribute reason
int numAntenna
 ===> Attribute numAntenna
bool numPolarizationTypeExists
 ===> Attribute numPolarizationType, which is optional
int numPolarizationType
bool numSpectralWindowExists
 ===> Attribute numSpectralWindow, which is optional
int numSpectralWindow
bool numPairedAntennaExists
 ===> Attribute numPairedAntenna, which is optional
int numPairedAntenna
bool polarizationTypeExists
 ===> Attribute polarizationType, which is optional
vector
< PolarizationTypeMod::PolarizationType > 
polarizationType
bool pairedAntennaIdExists
 ===> Attribute pairedAntennaId, which is optional
vector< TagpairedAntennaId
bool spectralWindowIdExists
 ===> Attribute spectralWindowId, which is optional
vector< TagspectralWindowId
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
FlagAttributeFromBin
fromBinMethods
*text deserialization material
std::map< std::string,
FlagAttributeFromText
fromTextMethods

Friends

class asdm::FlagTable
class asdm::RowTransformer< FlagRow >

Detailed Description

The FlagRow class is a row of a FlagTable.

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

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

Definition at line 119 of file FlagRow.h.


Constructor & Destructor Documentation

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

friend class asdm::TableStreamReader<FlagTable, FlagRow>;

asdm::FlagRow::FlagRow ( FlagTable table) [private]

Create a FlagRow.

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::FlagRow::FlagRow ( FlagTable table,
FlagRow row 
) [private]

Create a FlagRow using a copy constructor mechanism.

Given a FlagRow row and a FlagTable table, the method creates a new FlagRow 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.
virtual asdm::FlagRow::~FlagRow ( ) [virtual]

friend class asdm::TableStreamReader<FlagTable, FlagRow>;

asdm::FlagRow::FlagRow ( FlagTable table) [private]

Create a FlagRow.

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::FlagRow::FlagRow ( FlagTable table,
FlagRow row 
) [private]

Create a FlagRow using a copy constructor mechanism.

Given a FlagRow row and a FlagTable table, the method creates a new FlagRow 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

Append a Tag to antennaId.

Parameters:
idthe Tag to be appended to antennaId

Append a Tag to antennaId.

Parameters:
idthe Tag to be appended to antennaId
void asdm::FlagRow::addAntennaId ( const vector< Tag > &  id)

Append a vector of Tag to antennaId.

Parameters:
idan array of Tag to be appended to antennaId
void asdm::FlagRow::addAntennaId ( const vector< Tag > &  id)

Append a vector of Tag to antennaId.

Parameters:
idan array of Tag to be appended to antennaId

Append a Tag to pairedAntennaId.

Parameters:
idthe Tag to be appended to pairedAntennaId

Append a Tag to pairedAntennaId.

Parameters:
idthe Tag to be appended to pairedAntennaId
void asdm::FlagRow::addPairedAntennaId ( const vector< Tag > &  id)

Append a vector of Tag to pairedAntennaId.

Parameters:
idan array of Tag to be appended to pairedAntennaId
void asdm::FlagRow::addPairedAntennaId ( const vector< Tag > &  id)

Append a vector of Tag to pairedAntennaId.

Parameters:
idan array of Tag to be appended to pairedAntennaId

Append a Tag to spectralWindowId.

Parameters:
idthe Tag to be appended to spectralWindowId

Append a Tag to spectralWindowId.

Parameters:
idthe Tag to be appended to spectralWindowId
void asdm::FlagRow::addSpectralWindowId ( const vector< Tag > &  id)

Append a vector of Tag to spectralWindowId.

Parameters:
idan array of Tag to be appended to spectralWindowId
void asdm::FlagRow::addSpectralWindowId ( const vector< Tag > &  id)

Append a vector of Tag to spectralWindowId.

Parameters:
idan array of Tag to be appended to spectralWindowId
void asdm::FlagRow::antennaIdFromText ( const string &  s) [private]
void asdm::FlagRow::antennaIdFromText ( const string &  s) [private]

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

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

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

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

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

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

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

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

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

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

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

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

bool asdm::FlagRow::compareNoAutoInc ( ArrayTime  startTime,
ArrayTime  endTime,
string  reason,
int  numAntenna,
vector< Tag antennaId 
)

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

Parameters:
startTime
endTime
reason
numAntenna
antennaId
bool asdm::FlagRow::compareNoAutoInc ( ArrayTime  startTime,
ArrayTime  endTime,
string  reason,
int  numAntenna,
vector< Tag antennaId 
)

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

Parameters:
startTime
endTime
reason
numAntenna
antennaId
bool asdm::FlagRow::compareRequiredValue ( ArrayTime  startTime,
ArrayTime  endTime,
string  reason,
int  numAntenna,
vector< Tag antennaId 
)

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:
startTime
endTime
reason
numAntenna
antennaId
bool asdm::FlagRow::compareRequiredValue ( ArrayTime  startTime,
ArrayTime  endTime,
string  reason,
int  numAntenna,
vector< Tag antennaId 
)

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:
startTime
endTime
reason
numAntenna
antennaId
void asdm::FlagRow::endTimeFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::endTimeFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::endTimeFromText ( const string &  s) [private]
void asdm::FlagRow::endTimeFromText ( const string &  s) [private]

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 FlagRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.

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 FlagRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
void asdm::FlagRow::flagIdFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::flagIdFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::flagIdFromText ( const string &  s) [private]
void asdm::FlagRow::flagIdFromText ( const string &  s) [private]
void asdm::FlagRow::fromText ( const std::string &  attributeName,
const std::string &  t 
) [private]
const Tag asdm::FlagRow::getAntennaId ( int  i)

Returns the Tag stored in antennaId at position i.

Parameters:
ithe position in antennaId where the Tag is retrieved.
Returns:
the Tag stored at position i in antennaId.
const Tag asdm::FlagRow::getAntennaId ( int  i)

Returns the Tag stored in antennaId at position i.

Parameters:
ithe position in antennaId where the Tag is retrieved.
Returns:
the Tag stored at position i in antennaId.

Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.

Returns:
an array of pointers on AntennaRow.

Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.

Returns:
an array of pointers on AntennaRow.

Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.

Returns:
an array of pointers on AntennaRow.

Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.

Returns:
an array of pointers on AntennaRow.

Returns the AntennaRow linked to this row via the tag stored in antennaId at position i.

Parameters:
ithe position in antennaId.
Returns:
a pointer on a AntennaRow whose key (a Tag) is equal to the Tag stored at position i in the antennaId.

Returns the AntennaRow linked to this row via the tag stored in antennaId at position i.

Parameters:
ithe position in antennaId.
Returns:
a pointer on a AntennaRow whose key (a Tag) is equal to the Tag stored at position i in the antennaId.

Returns the AntennaRow linked to this row via the tag stored in pairedAntennaId at position i.

Parameters:
ithe position in pairedAntennaId.
Returns:
a pointer on a AntennaRow whose key (a Tag) is equal to the Tag stored at position i in the pairedAntennaId.

Returns the AntennaRow linked to this row via the tag stored in pairedAntennaId at position i.

Parameters:
ithe position in pairedAntennaId.
Returns:
a pointer on a AntennaRow whose key (a Tag) is equal to the Tag stored at position i in the pairedAntennaId.

===> Attribute endTime

         

Get endTime.

Returns:
endTime as ArrayTime

===> Attribute endTime

         

Get endTime.

Returns:
endTime as ArrayTime

===> Attribute numAntenna

         

Get numAntenna.

Returns:
numAntenna as int

===> Attribute numAntenna

         

Get numAntenna.

Returns:
numAntenna as int

Get numPairedAntenna, which is optional.

Returns:
numPairedAntenna as int
Exceptions:
IllegalAccessExceptionIf numPairedAntenna does not exist.

Get numPairedAntenna, which is optional.

Returns:
numPairedAntenna as int
Exceptions:
IllegalAccessExceptionIf numPairedAntenna does not exist.

Get numPolarizationType, which is optional.

Returns:
numPolarizationType as int
Exceptions:
IllegalAccessExceptionIf numPolarizationType does not exist.

Get numPolarizationType, which is optional.

Returns:
numPolarizationType as int
Exceptions:
IllegalAccessExceptionIf numPolarizationType does not exist.

Get numSpectralWindow, which is optional.

Returns:
numSpectralWindow as int
Exceptions:
IllegalAccessExceptionIf numSpectralWindow does not exist.

Get numSpectralWindow, which is optional.

Returns:
numSpectralWindow as int
Exceptions:
IllegalAccessExceptionIf numSpectralWindow does not exist.

Get pairedAntennaId, which is optional.

Returns:
pairedAntennaId as vector<Tag>
Exceptions:
IllegalAccessExceptionIf pairedAntennaId does not exist.

Get pairedAntennaId, which is optional.

Returns:
pairedAntennaId as vector<Tag>
Exceptions:
IllegalAccessExceptionIf pairedAntennaId does not exist.

Returns the Tag stored in pairedAntennaId at position i.

Parameters:
ithe position in pairedAntennaId where the Tag is retrieved.
Returns:
the Tag stored at position i in pairedAntennaId.

Returns the Tag stored in pairedAntennaId at position i.

Parameters:
ithe position in pairedAntennaId where the Tag is retrieved.
Returns:
the Tag stored at position i in pairedAntennaId.
vector<PolarizationTypeMod::PolarizationType > asdm::FlagRow::getPolarizationType ( ) const

Get polarizationType, which is optional.

Returns:
polarizationType as vector<PolarizationTypeMod::PolarizationType >
Exceptions:
IllegalAccessExceptionIf polarizationType does not exist.
vector<PolarizationTypeMod::PolarizationType > asdm::FlagRow::getPolarizationType ( ) const

Get polarizationType, which is optional.

Returns:
polarizationType as vector<PolarizationTypeMod::PolarizationType >
Exceptions:
IllegalAccessExceptionIf polarizationType does not exist.
string asdm::FlagRow::getReason ( ) const

===> Attribute reason

         

Get reason.

Returns:
reason as string
string asdm::FlagRow::getReason ( ) const

===> Attribute reason

         

Get reason.

Returns:
reason as string

Get spectralWindowId, which is optional.

Returns:
spectralWindowId as vector<Tag>
Exceptions:
IllegalAccessExceptionIf spectralWindowId does not exist.

Get spectralWindowId, which is optional.

Returns:
spectralWindowId as vector<Tag>
Exceptions:
IllegalAccessExceptionIf spectralWindowId does not exist.

Returns the Tag stored in spectralWindowId at position i.

Parameters:
ithe position in spectralWindowId where the Tag is retrieved.
Returns:
the Tag stored at position i in spectralWindowId.

Returns the Tag stored in spectralWindowId at position i.

Parameters:
ithe position in spectralWindowId where the Tag is retrieved.
Returns:
the Tag stored at position i in spectralWindowId.

Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.

Returns:
an array of pointers on SpectralWindowRow.

Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.

Returns:
an array of pointers on SpectralWindowRow.

Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.

Parameters:
ithe position in spectralWindowId.
Returns:
a pointer on a SpectralWindowRow whose key (a Tag) is equal to the Tag stored at position i in the spectralWindowId.

Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.

Parameters:
ithe position in spectralWindowId.
Returns:
a pointer on a SpectralWindowRow whose key (a Tag) is equal to the Tag stored at position i in the spectralWindowId.

===> Attribute startTime

         

Get startTime.

Returns:
startTime as ArrayTime

===> Attribute startTime

         

Get startTime.

Returns:
startTime as ArrayTime

Return the table to which this row belongs.

Return the table to which this row belongs.

bool asdm::FlagRow::isAdded ( ) const

Has this row been added to its table ?

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

Has this row been added to its table ?

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

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

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

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

===> Attribute numPairedAntenna, which is optional

         

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

Returns:
true if and only if the numPairedAntenna attribute exists.

===> Attribute numPairedAntenna, which is optional

         

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

Returns:
true if and only if the numPairedAntenna attribute exists.

===> Attribute numPolarizationType, which is optional

         

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

Returns:
true if and only if the numPolarizationType attribute exists.

===> Attribute numPolarizationType, which is optional

         

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

Returns:
true if and only if the numPolarizationType attribute exists.

===> Attribute numSpectralWindow, which is optional

         

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

Returns:
true if and only if the numSpectralWindow attribute exists.

===> Attribute numSpectralWindow, which is optional

         

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

Returns:
true if and only if the numSpectralWindow attribute exists.

===> Attribute pairedAntennaId, which is optional

         

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

Returns:
true if and only if the pairedAntennaId attribute exists.

===> Attribute pairedAntennaId, which is optional

         

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

Returns:
true if and only if the pairedAntennaId attribute exists.

===> Attribute polarizationType, which is optional

         

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

Returns:
true if and only if the polarizationType attribute exists.

===> Attribute polarizationType, which is optional

         

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

Returns:
true if and only if the polarizationType attribute exists.

===> Attribute spectralWindowId, which is optional

         

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

Returns:
true if and only if the spectralWindowId attribute exists.

===> Attribute spectralWindowId, which is optional

         

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

Returns:
true if and only if the spectralWindowId attribute exists.
void asdm::FlagRow::numAntennaFromText ( const string &  s) [private]
void asdm::FlagRow::numAntennaFromText ( const string &  s) [private]
void asdm::FlagRow::numPairedAntennaFromText ( const string &  s) [private]
void asdm::FlagRow::numPairedAntennaFromText ( const string &  s) [private]
void asdm::FlagRow::numPolarizationTypeFromText ( const string &  s) [private]
void asdm::FlagRow::numPolarizationTypeFromText ( const string &  s) [private]
void asdm::FlagRow::numSpectralWindowFromText ( const string &  s) [private]
void asdm::FlagRow::numSpectralWindowFromText ( const string &  s) [private]
void asdm::FlagRow::pairedAntennaIdFromText ( const string &  s) [private]
void asdm::FlagRow::pairedAntennaIdFromText ( const string &  s) [private]
void asdm::FlagRow::polarizationTypeFromText ( const string &  s) [private]
void asdm::FlagRow::polarizationTypeFromText ( const string &  s) [private]
void asdm::FlagRow::reasonFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::reasonFromBin ( EndianIStream eis) [private]
void asdm::FlagRow::reasonFromText ( const string &  s) [private]
void asdm::FlagRow::reasonFromText ( const string &  s) [private]
void asdm::FlagRow::setAntennaId ( vector< Tag antennaId)

Set antennaId with the specified vector<Tag> .

Parameters:
antennaIdThe vector<Tag> value to which antennaId is to be set.
void asdm::FlagRow::setAntennaId ( vector< Tag antennaId)

Set antennaId with the specified vector<Tag> .

Parameters:
antennaIdThe vector<Tag> value to which antennaId is to be set.
Links* void asdm::FlagRow::setAntennaId ( int  i,
Tag  antennaId 
)

Set antennaId[i] with the specified Tag.

Parameters:
iThe index in antennaId where to set the Tag value.
antennaIdThe Tag value to which antennaId[i] is to be set.
Exceptions:
IndexOutOfBoundsException
Links* void asdm::FlagRow::setAntennaId ( int  i,
Tag  antennaId 
)

Set antennaId[i] with the specified Tag.

Parameters:
iThe index in antennaId where to set the Tag value.
antennaIdThe Tag value to which antennaId[i] is to be set.
Exceptions:
IndexOutOfBoundsException

Set endTime with the specified ArrayTime.

Parameters:
endTimeThe ArrayTime value to which endTime is to be set.

Set endTime with the specified ArrayTime.

Parameters:
endTimeThe ArrayTime value to which endTime is to be set.
void asdm::FlagRow::setFlagId ( Tag  flagId) [private]

Set flagId with the specified Tag value.

Parameters:
flagIdThe Tag value to which flagId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FlagRow::setFlagId ( Tag  flagId) [private]

Set flagId with the specified Tag value.

Parameters:
flagIdThe Tag value to which flagId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FlagRow::setFromIDL ( asdmIDL::FlagRowIDL  x)

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

Parameters:
xThe IDL struct containing the values used to fill this row.
Exceptions:
ConversionException
void asdm::FlagRow::setFromIDL ( asdmIDL::FlagRowIDL  x)

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

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

Set numAntenna with the specified int.

Parameters:
numAntennaThe int value to which numAntenna is to be set.
void asdm::FlagRow::setNumAntenna ( int  numAntenna)

Set numAntenna with the specified int.

Parameters:
numAntennaThe int value to which numAntenna is to be set.
void asdm::FlagRow::setNumPairedAntenna ( int  numPairedAntenna)

Set numPairedAntenna with the specified int.

Parameters:
numPairedAntennaThe int value to which numPairedAntenna is to be set.
void asdm::FlagRow::setNumPairedAntenna ( int  numPairedAntenna)

Set numPairedAntenna with the specified int.

Parameters:
numPairedAntennaThe int value to which numPairedAntenna is to be set.
void asdm::FlagRow::setNumPolarizationType ( int  numPolarizationType)

Set numPolarizationType with the specified int.

Parameters:
numPolarizationTypeThe int value to which numPolarizationType is to be set.
void asdm::FlagRow::setNumPolarizationType ( int  numPolarizationType)

Set numPolarizationType with the specified int.

Parameters:
numPolarizationTypeThe int value to which numPolarizationType is to be set.
void asdm::FlagRow::setNumSpectralWindow ( int  numSpectralWindow)

Set numSpectralWindow with the specified int.

Parameters:
numSpectralWindowThe int value to which numSpectralWindow is to be set.
void asdm::FlagRow::setNumSpectralWindow ( int  numSpectralWindow)

Set numSpectralWindow with the specified int.

Parameters:
numSpectralWindowThe int value to which numSpectralWindow is to be set.
void asdm::FlagRow::setPairedAntennaId ( vector< Tag pairedAntennaId)

Set pairedAntennaId with the specified vector<Tag> .

Parameters:
pairedAntennaIdThe vector<Tag> value to which pairedAntennaId is to be set.
void asdm::FlagRow::setPairedAntennaId ( vector< Tag pairedAntennaId)

Set pairedAntennaId with the specified vector<Tag> .

Parameters:
pairedAntennaIdThe vector<Tag> value to which pairedAntennaId is to be set.
void asdm::FlagRow::setPairedAntennaId ( int  i,
Tag  pairedAntennaId 
)

Set pairedAntennaId[i] with the specified Tag.

Parameters:
iThe index in pairedAntennaId where to set the Tag value.
pairedAntennaIdThe Tag value to which pairedAntennaId[i] is to be set.
Exceptions:
OutOfBoundsException
void asdm::FlagRow::setPairedAntennaId ( int  i,
Tag  pairedAntennaId 
)

Set pairedAntennaId[i] with the specified Tag.

Parameters:
iThe index in pairedAntennaId where to set the Tag value.
pairedAntennaIdThe Tag value to which pairedAntennaId[i] is to be set.
Exceptions:
OutOfBoundsException
void asdm::FlagRow::setPolarizationType ( vector< PolarizationTypeMod::PolarizationType >  polarizationType)

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

Parameters:
polarizationTypeThe vector<PolarizationTypeMod::PolarizationType > value to which polarizationType is to be set.
void asdm::FlagRow::setPolarizationType ( vector< PolarizationTypeMod::PolarizationType >  polarizationType)

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

Parameters:
polarizationTypeThe vector<PolarizationTypeMod::PolarizationType > value to which polarizationType is to be set.
void asdm::FlagRow::setReason ( string  reason)

Set reason with the specified string.

Parameters:
reasonThe string value to which reason is to be set.
void asdm::FlagRow::setReason ( string  reason)

Set reason with the specified string.

Parameters:
reasonThe string value to which reason is to be set.
void asdm::FlagRow::setSpectralWindowId ( vector< Tag spectralWindowId)

Set spectralWindowId with the specified vector<Tag> .

Parameters:
spectralWindowIdThe vector<Tag> value to which spectralWindowId is to be set.
void asdm::FlagRow::setSpectralWindowId ( vector< Tag spectralWindowId)

Set spectralWindowId with the specified vector<Tag> .

Parameters:
spectralWindowIdThe vector<Tag> value to which spectralWindowId is to be set.
void asdm::FlagRow::setSpectralWindowId ( int  i,
Tag  spectralWindowId 
)

Set spectralWindowId[i] with the specified Tag.

Parameters:
iThe index in spectralWindowId where to set the Tag value.
spectralWindowIdThe Tag value to which spectralWindowId[i] is to be set.
Exceptions:
OutOfBoundsException
void asdm::FlagRow::setSpectralWindowId ( int  i,
Tag  spectralWindowId 
)

Set spectralWindowId[i] with the specified Tag.

Parameters:
iThe index in spectralWindowId where to set the Tag value.
spectralWindowIdThe Tag value to which spectralWindowId[i] is to be set.
Exceptions:
OutOfBoundsException

Set startTime with the specified ArrayTime.

Parameters:
startTimeThe ArrayTime value to which startTime is to be set.

Set startTime with the specified ArrayTime.

Parameters:
startTimeThe ArrayTime value to which startTime is to be set.
void asdm::FlagRow::spectralWindowIdFromText ( const string &  s) [private]
void asdm::FlagRow::spectralWindowIdFromText ( const string &  s) [private]
void asdm::FlagRow::startTimeFromText ( const string &  s) [private]
void asdm::FlagRow::startTimeFromText ( const string &  s) [private]
void asdm::FlagRow::toBin ( EndianOSStream eoss) [private]

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

Parameters:
eossthe EndianOSStream to be written to
void asdm::FlagRow::toBin ( EndianOSStream eoss) [private]

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

Parameters:
eossthe EndianOSStream to be written to
asdmIDL::FlagRowIDL* asdm::FlagRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a FlagRowIDL struct.
asdmIDL::FlagRowIDL* asdm::FlagRow::toIDL ( ) const

Return this row in the form of an IDL struct.

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

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

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

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.
std::string asdm::FlagRow::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

asdm::FlagTable [friend]

Definition at line 120 of file FlagRow.h.

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

Definition at line 121 of file FlagRow.h.


Member Data Documentation

Extrinsic Table asdm::FlagRow::Attributes

Definition at line 144 of file FlagRow.h.

Extrinsic Table asdm::FlagRow::Attributes

Definition at line 452 of file FlagRow.h.

===> Attribute endTime

         

Definition at line 940 of file FlagRow.h.

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

Definition at line 1088 of file FlagRow.h.

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

Definition at line 1108 of file FlagRow.h.

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

Definition at line 862 of file FlagRow.h.

===> Attribute numAntenna

         

Definition at line 962 of file FlagRow.h.

Definition at line 1001 of file FlagRow.h.

===> Attribute numPairedAntenna, which is optional

         

Definition at line 998 of file FlagRow.h.

Definition at line 975 of file FlagRow.h.

===> Attribute numPolarizationType, which is optional

         

Definition at line 972 of file FlagRow.h.

Definition at line 988 of file FlagRow.h.

===> Attribute numSpectralWindow, which is optional

         

Definition at line 985 of file FlagRow.h.

vector< Tag > asdm::FlagRow::pairedAntennaId [private]

Definition at line 1042 of file FlagRow.h.

===> Attribute pairedAntennaId, which is optional

         

Definition at line 1039 of file FlagRow.h.

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

Definition at line 1014 of file FlagRow.h.

===> Attribute polarizationType, which is optional

         

Definition at line 1011 of file FlagRow.h.

string asdm::FlagRow::reason [private]

===> Attribute reason

         

Definition at line 951 of file FlagRow.h.

vector< Tag > asdm::FlagRow::spectralWindowId [private]

Definition at line 1055 of file FlagRow.h.

===> Attribute spectralWindowId, which is optional

         

Definition at line 1052 of file FlagRow.h.

===> Attribute startTime

         

Definition at line 929 of file FlagRow.h.

The table to which this row belongs.

Definition at line 858 of file FlagRow.h.


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