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

The AlmaRadiometerRow class is a row of a AlmaRadiometerTable. More...

#include <AlmaRadiometerRow.h>

List of all members.

Public Member Functions

virtual ~AlmaRadiometerRow ()
 friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
AlmaRadiometerTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
bool isNumAntennaExists () const
 ===> Attribute numAntenna, which is optional
int getNumAntenna () const
 Get numAntenna, which is optional.
void setNumAntenna (int numAntenna)
 Set numAntenna with the specified int.
void clearNumAntenna ()
 Mark numAntenna, which is an optional field, as non-existent.
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 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 equalByRequiredValue (AlmaRadiometerRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::AlmaRadiometerRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::AlmaRadiometerRowIDL &x) const
 Define the content of a AlmaRadiometerRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::AlmaRadiometerRowIDL x)
 Fill the values of this row from the IDL struct AlmaRadiometerRowIDL.
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 ~AlmaRadiometerRow ()
 friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
AlmaRadiometerTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
bool isNumAntennaExists () const
 ===> Attribute numAntenna, which is optional
int getNumAntenna () const
 Get numAntenna, which is optional.
void setNumAntenna (int numAntenna)
 Set numAntenna with the specified int.
void clearNumAntenna ()
 Mark numAntenna, which is an optional field, as non-existent.
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 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 equalByRequiredValue (AlmaRadiometerRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::AlmaRadiometerRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (asdmIDL::AlmaRadiometerRowIDL x)
 Fill the values of this row from the IDL struct AlmaRadiometerRowIDL.
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.
 AlmaRadiometerRow (AlmaRadiometerTable &table)
 Create a AlmaRadiometerRow.
 AlmaRadiometerRow (AlmaRadiometerTable &table, AlmaRadiometerRow &row)
 Create a AlmaRadiometerRow using a copy constructor mechanism.
void setAlmaRadiometerId (Tag almaRadiometerId)
 Set almaRadiometerId with the specified Tag value.
void almaRadiometerIdFromBin (EndianIStream &eis)
void numAntennaFromBin (EndianIStream &eis)
void spectralWindowIdFromBin (EndianIStream &eis)
void almaRadiometerIdFromText (const string &s)
void numAntennaFromText (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.
 AlmaRadiometerRow (AlmaRadiometerTable &table)
 Create a AlmaRadiometerRow.
 AlmaRadiometerRow (AlmaRadiometerTable &table, AlmaRadiometerRow &row)
 Create a AlmaRadiometerRow using a copy constructor mechanism.
void setAlmaRadiometerId (Tag almaRadiometerId)
 Set almaRadiometerId with the specified Tag value.
void almaRadiometerIdFromBin (EndianIStream &eis)
void numAntennaFromBin (EndianIStream &eis)
void spectralWindowIdFromBin (EndianIStream &eis)
void almaRadiometerIdFromText (const string &s)
void numAntennaFromText (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

AlmaRadiometerTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
bool numAntennaExists
 ===> Attribute numAntenna, which is optional
int numAntenna
vector< TagspectralWindowId
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
AlmaRadiometerAttributeFromBin
fromBinMethods
*text deserialization material
std::map< std::string,
AlmaRadiometerAttributeFromText
fromTextMethods

Friends

class asdm::AlmaRadiometerTable
class asdm::RowTransformer< AlmaRadiometerRow >

Detailed Description

The AlmaRadiometerRow class is a row of a AlmaRadiometerTable.

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

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

Definition at line 93 of file AlmaRadiometerRow.h.


Constructor & Destructor Documentation

friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;

Create a AlmaRadiometerRow.

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.

Create a AlmaRadiometerRow using a copy constructor mechanism.

Given a AlmaRadiometerRow row and a AlmaRadiometerTable table, the method creates a new AlmaRadiometerRow 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.

friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;

Create a AlmaRadiometerRow.

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.

Create a AlmaRadiometerRow using a copy constructor mechanism.

Given a AlmaRadiometerRow row and a AlmaRadiometerTable table, the method creates a new AlmaRadiometerRow 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 spectralWindowId.

Parameters:
idthe Tag to be appended to spectralWindowId

Append a Tag to spectralWindowId.

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

Append a vector of Tag to spectralWindowId.

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

Append a vector of Tag to spectralWindowId.

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

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

Mark numAntenna, 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.

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 AlmaRadiometerRow 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 AlmaRadiometerRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
void asdm::AlmaRadiometerRow::fromText ( const std::string &  attributeName,
const std::string &  t 
) [private]

Get numAntenna, which is optional.

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

Get numAntenna, which is optional.

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

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.

Return the table to which this row belongs.

Return the table to which this row belongs.

Has this row been added to its table ?

Returns:
true if and only if it has been added.

Has this row been added to its table ?

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

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

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

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

===> Attribute numAntenna, which is optional

         

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

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

===> Attribute numAntenna, which is optional

         

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

Returns:
true if and only if the numAntenna attribute exists.
void asdm::AlmaRadiometerRow::numAntennaFromText ( const string &  s) [private]
void asdm::AlmaRadiometerRow::numAntennaFromText ( const string &  s) [private]
void asdm::AlmaRadiometerRow::setAlmaRadiometerId ( Tag  almaRadiometerId) [private]

Set almaRadiometerId with the specified Tag value.

Parameters:
almaRadiometerIdThe Tag value to which almaRadiometerId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::AlmaRadiometerRow::setAlmaRadiometerId ( Tag  almaRadiometerId) [private]

Set almaRadiometerId with the specified Tag value.

Parameters:
almaRadiometerIdThe Tag value to which almaRadiometerId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::AlmaRadiometerRow::setFromIDL ( asdmIDL::AlmaRadiometerRowIDL  x)

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

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

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

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

Set numAntenna with the specified int.

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

Set numAntenna with the specified int.

Parameters:
numAntennaThe int value to which numAntenna is to be set.
void asdm::AlmaRadiometerRow::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::AlmaRadiometerRow::setSpectralWindowId ( vector< Tag spectralWindowId)

Set spectralWindowId with the specified vector<Tag> .

Parameters:
spectralWindowIdThe vector<Tag> value to which spectralWindowId is to be set.
Links* void asdm::AlmaRadiometerRow::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
Links* void asdm::AlmaRadiometerRow::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::AlmaRadiometerRow::spectralWindowIdFromText ( const string &  s) [private]
void asdm::AlmaRadiometerRow::spectralWindowIdFromText ( const string &  s) [private]
void asdm::AlmaRadiometerRow::toBin ( EndianOSStream eoss) [private]

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

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

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

Parameters:
eossthe EndianOSStream to be written to
asdmIDL::AlmaRadiometerRowIDL* asdm::AlmaRadiometerRow::toIDL ( ) const

Return this row in the form of an IDL struct.

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

Return this row in the form of an IDL struct.

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

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

Parameters:
xa reference to the AlmaRadiometerRowIDL struct to be set.
std::string asdm::AlmaRadiometerRow::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::AlmaRadiometerRow::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

Definition at line 94 of file AlmaRadiometerRow.h.

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

Definition at line 95 of file AlmaRadiometerRow.h.


Member Data Documentation

Definition at line 118 of file AlmaRadiometerRow.h.

Definition at line 183 of file AlmaRadiometerRow.h.

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

Definition at line 480 of file AlmaRadiometerRow.h.

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

Definition at line 491 of file AlmaRadiometerRow.h.

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

Definition at line 373 of file AlmaRadiometerRow.h.

Definition at line 442 of file AlmaRadiometerRow.h.

===> Attribute numAntenna, which is optional

         

Definition at line 439 of file AlmaRadiometerRow.h.

Definition at line 459 of file AlmaRadiometerRow.h.

The table to which this row belongs.

Definition at line 369 of file AlmaRadiometerRow.h.


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