casa
$Rev:20696$
|
The AlmaRadiometerRow class is a row of a AlmaRadiometerTable. More...
#include <AlmaRadiometerRow.h>
Public Member Functions | |
virtual | ~AlmaRadiometerRow () |
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>; | |
AlmaRadiometerTable & | getTable () 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< Tag > | getSpectralWindowId () 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. | |
SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId (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>; | |
AlmaRadiometerTable & | getTable () 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< Tag > | getSpectralWindowId () 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. | |
SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId (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 | |
AlmaRadiometerTable & | table |
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< Tag > | spectralWindowId |
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 > |
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.
virtual asdm::AlmaRadiometerRow::~AlmaRadiometerRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
asdm::AlmaRadiometerRow::AlmaRadiometerRow | ( | AlmaRadiometerTable & | table | ) | [private] |
Create a AlmaRadiometerRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
asdm::AlmaRadiometerRow::AlmaRadiometerRow | ( | AlmaRadiometerTable & | table, |
AlmaRadiometerRow & | row | ||
) | [private] |
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.
table | The table to which this row belongs. |
row | The row which is to be copied. |
virtual asdm::AlmaRadiometerRow::~AlmaRadiometerRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
asdm::AlmaRadiometerRow::AlmaRadiometerRow | ( | AlmaRadiometerTable & | table | ) | [private] |
Create a AlmaRadiometerRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
asdm::AlmaRadiometerRow::AlmaRadiometerRow | ( | AlmaRadiometerTable & | table, |
AlmaRadiometerRow & | row | ||
) | [private] |
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.
table | The table to which this row belongs. |
row | The row which is to be copied. |
void asdm::AlmaRadiometerRow::addSpectralWindowId | ( | Tag | id | ) |
void asdm::AlmaRadiometerRow::addSpectralWindowId | ( | Tag | id | ) |
void asdm::AlmaRadiometerRow::addSpectralWindowId | ( | const vector< Tag > & | id | ) |
void asdm::AlmaRadiometerRow::addSpectralWindowId | ( | const vector< Tag > & | id | ) |
void asdm::AlmaRadiometerRow::almaRadiometerIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::AlmaRadiometerRow::almaRadiometerIdFromBin | ( | EndianIStream & | eis | ) | [private] |
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.
x | a pointer on the AlmaRadiometerRow whose required attributes of the value part will be compared with those of this. |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | a pointer on the AlmaRadiometerRow whose required attributes of the value part will be compared with those of this. |
void asdm::AlmaRadiometerRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
int asdm::AlmaRadiometerRow::getNumAntenna | ( | ) | const |
Get numAntenna, which is optional.
IllegalAccessException | If numAntenna does not exist. |
int asdm::AlmaRadiometerRow::getNumAntenna | ( | ) | const |
Get numAntenna, which is optional.
IllegalAccessException | If numAntenna does not exist. |
vector<Tag> asdm::AlmaRadiometerRow::getSpectralWindowId | ( | ) | const |
Get spectralWindowId, which is optional.
IllegalAccessException | If spectralWindowId does not exist. |
vector<Tag> asdm::AlmaRadiometerRow::getSpectralWindowId | ( | ) | const |
Get spectralWindowId, which is optional.
IllegalAccessException | If spectralWindowId does not exist. |
const Tag asdm::AlmaRadiometerRow::getSpectralWindowId | ( | int | i | ) |
const Tag asdm::AlmaRadiometerRow::getSpectralWindowId | ( | int | i | ) |
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.
i | the position in spectralWindowId. |
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.
i | the position in spectralWindowId. |
Return the table to which this row belongs.
Return the table to which this row belongs.
bool asdm::AlmaRadiometerRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::AlmaRadiometerRow::isAdded | ( | ) | const |
Has this row been added to its table ?
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.
bool asdm::AlmaRadiometerRow::isNumAntennaExists | ( | ) | const |
===> Attribute numAntenna, which is optional
The attribute numAntenna is optional. Return true if this attribute exists.
bool asdm::AlmaRadiometerRow::isNumAntennaExists | ( | ) | const |
===> Attribute numAntenna, which is optional
The attribute numAntenna is optional. Return true if this attribute exists.
void asdm::AlmaRadiometerRow::numAntennaFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::AlmaRadiometerRow::numAntennaFromBin | ( | EndianIStream & | eis | ) | [private] |
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.
almaRadiometerId | The Tag value to which almaRadiometerId is to be set. |
IllegalAccessException | If 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.
almaRadiometerId | The Tag value to which almaRadiometerId is to be set. |
IllegalAccessException | If 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.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::AlmaRadiometerRow::setFromIDL | ( | asdmIDL::AlmaRadiometerRowIDL | x | ) |
Fill the values of this row from the IDL struct AlmaRadiometerRowIDL.
x | The IDL struct containing the values used to fill this row. |
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.
rowDoc | the XML string being used to set the values of this row. |
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.
rowDoc | the XML string being used to set the values of this row. |
ConversionException |
void asdm::AlmaRadiometerRow::setNumAntenna | ( | int | numAntenna | ) |
Set numAntenna with the specified int.
numAntenna | The int value to which numAntenna is to be set. |
void asdm::AlmaRadiometerRow::setNumAntenna | ( | int | numAntenna | ) |
Set numAntenna with the specified int.
numAntenna | The int value to which numAntenna is to be set. |
void asdm::AlmaRadiometerRow::setSpectralWindowId | ( | vector< Tag > | spectralWindowId | ) |
Set spectralWindowId with the specified vector<Tag> .
spectralWindowId | The vector<Tag> value to which spectralWindowId is to be set. |
void asdm::AlmaRadiometerRow::setSpectralWindowId | ( | vector< Tag > | spectralWindowId | ) |
Set spectralWindowId with the specified vector<Tag> .
spectralWindowId | The 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.
i | The index in spectralWindowId where to set the Tag value. |
spectralWindowId | The Tag value to which spectralWindowId[i] is to be set. |
OutOfBoundsException |
Links* void asdm::AlmaRadiometerRow::setSpectralWindowId | ( | int | i, |
Tag | spectralWindowId | ||
) |
Set spectralWindowId[i] with the specified Tag.
i | The index in spectralWindowId where to set the Tag value. |
spectralWindowId | The Tag value to which spectralWindowId[i] is to be set. |
OutOfBoundsException |
void asdm::AlmaRadiometerRow::spectralWindowIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::AlmaRadiometerRow::spectralWindowIdFromBin | ( | EndianIStream & | eis | ) | [private] |
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.
eoss | the EndianOSStream to be written to |
void asdm::AlmaRadiometerRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::AlmaRadiometerRowIDL* asdm::AlmaRadiometerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::AlmaRadiometerRowIDL* asdm::AlmaRadiometerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::AlmaRadiometerRow::toIDL | ( | asdmIDL::AlmaRadiometerRowIDL & | x | ) | const |
Define the content of a AlmaRadiometerRowIDL struct from the values found in this row.
x | a reference to the AlmaRadiometerRowIDL struct to be set. |
std::string asdm::AlmaRadiometerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::AlmaRadiometerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
asdm::AlmaRadiometerTable [friend] |
Definition at line 94 of file AlmaRadiometerRow.h.
friend class asdm::RowTransformer< AlmaRadiometerRow > [friend] |
Definition at line 95 of file AlmaRadiometerRow.h.
Extrinsic Table asdm::AlmaRadiometerRow::Attributes |
Definition at line 118 of file AlmaRadiometerRow.h.
Extrinsic Table asdm::AlmaRadiometerRow::Attributes |
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.
bool asdm::AlmaRadiometerRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 373 of file AlmaRadiometerRow.h.
int asdm::AlmaRadiometerRow::numAntenna [private] |
Definition at line 442 of file AlmaRadiometerRow.h.
bool asdm::AlmaRadiometerRow::numAntennaExists [private] |
vector< Tag > asdm::AlmaRadiometerRow::spectralWindowId [private] |
Definition at line 459 of file AlmaRadiometerRow.h.
AlmaRadiometerTable & asdm::AlmaRadiometerRow::table [private] |
The table to which this row belongs.
Definition at line 369 of file AlmaRadiometerRow.h.