casa
5.7.0-16
|
The AlmaRadiometerRow class is a row of a AlmaRadiometerTable. More...
#include <AlmaRadiometerRow.h>
Public Member Functions | |
virtual | ~AlmaRadiometerRow () |
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>; More... | |
AlmaRadiometerTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
bool | isNumAntennaExists () const |
===> Attribute numAntenna, which is optional More... | |
int | getNumAntenna () const |
Get numAntenna, which is optional. More... | |
void | setNumAntenna (int numAntenna) |
Set numAntenna with the specified int. More... | |
void | clearNumAntenna () |
Mark numAntenna, which is an optional field, as non-existent. More... | |
std::vector< Tag > | getSpectralWindowId () const |
Get spectralWindowId, which is optional. More... | |
void | setSpectralWindowId (std::vector< Tag > spectralWindowId) |
Set spectralWindowId with the specified std::vector<Tag> . More... | |
void | clearSpectralWindowId () |
Mark spectralWindowId, which is an optional field, as non-existent. More... | |
Links *void | setSpectralWindowId (int i, Tag spectralWindowId) |
Set spectralWindowId[i] with the specified Tag. More... | |
void | addSpectralWindowId (Tag id) |
Append a Tag to spectralWindowId. More... | |
void | addSpectralWindowId (const std::vector< Tag > &id) |
Append a vector of Tag to spectralWindowId. More... | |
const Tag | getSpectralWindowId (int i) |
Returns the Tag stored in spectralWindowId at position i. More... | |
SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId (int i) |
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i. More... | |
std::vector< SpectralWindowRow * > | getSpectralWindowsUsingSpectralWindowId () |
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId. More... | |
bool | equalByRequiredValue (AlmaRadiometerRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::AlmaRadiometerRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::AlmaRadiometerRowIDL &x) const |
Define the content of a AlmaRadiometerRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::AlmaRadiometerRowIDL x) |
Fill the values of this row from the IDL struct AlmaRadiometerRowIDL. More... | |
std::string | toXML () const |
Return this row in the form of an XML string. More... | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. More... | |
Public Attributes | |
Intrinsic Table | Attributes |
Extrinsic Table | Attributes |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
AlmaRadiometerRow (AlmaRadiometerTable &table) | |
Create a AlmaRadiometerRow. More... | |
AlmaRadiometerRow (AlmaRadiometerTable &table, AlmaRadiometerRow *row) | |
Create a AlmaRadiometerRow using a copy constructor mechanism. More... | |
void | setAlmaRadiometerId (Tag almaRadiometerId) |
Set almaRadiometerId with the specified Tag value. More... | |
void | almaRadiometerIdFromBin (EndianIStream &eis) |
void | numAntennaFromBin (EndianIStream &eis) |
void | spectralWindowIdFromBin (EndianIStream &eis) |
void | almaRadiometerIdFromText (const std::string &s) |
void | numAntennaFromText (const std::string &s) |
void | spectralWindowIdFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
AlmaRadiometerTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
bool | numAntennaExists |
===> Attribute numAntenna, which is optional More... | |
int | numAntenna |
std::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", branch ""
Definition at line 93 of file AlmaRadiometerRow.h.
|
virtual |
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
|
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. |
|
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 | ( | const std::vector< Tag > & | id | ) |
|
private |
|
private |
void asdm::AlmaRadiometerRow::clearNumAntenna | ( | ) |
Mark numAntenna, which is an optional field, as non-existent.
void asdm::AlmaRadiometerRow::clearSpectralWindowId | ( | ) |
Mark spectralWindowId, which is an optional field, as non-existent.
bool asdm::AlmaRadiometerRow::equalByRequiredValue | ( | AlmaRadiometerRow * | x | ) |
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. |
int asdm::AlmaRadiometerRow::getNumAntenna | ( | ) | const |
Get numAntenna, which is optional.
IllegalAccessException | If numAntenna does not exist. |
std::vector<Tag> asdm::AlmaRadiometerRow::getSpectralWindowId | ( | ) | const |
Get spectralWindowId, which is optional.
IllegalAccessException | If spectralWindowId does not exist. |
const Tag asdm::AlmaRadiometerRow::getSpectralWindowId | ( | int | i | ) |
std::vector<SpectralWindowRow *> asdm::AlmaRadiometerRow::getSpectralWindowsUsingSpectralWindowId | ( | ) |
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId.
SpectralWindowRow* asdm::AlmaRadiometerRow::getSpectralWindowUsingSpectralWindowId | ( | int | i | ) |
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i.
i | the position in spectralWindowId. |
AlmaRadiometerTable& asdm::AlmaRadiometerRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::AlmaRadiometerRow::isAdded | ( | ) | const |
Has this row been added to its table ?
|
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.
|
private |
|
private |
|
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::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::setSpectralWindowId | ( | std::vector< Tag > | spectralWindowId | ) |
Set spectralWindowId with the specified std::vector<Tag> .
spectralWindowId | The std::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 |
|
private |
|
private |
|
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.
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.
|
friend |
Definition at line 94 of file AlmaRadiometerRow.h.
|
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.
|
private |
Definition at line 480 of file AlmaRadiometerRow.h.
|
private |
Definition at line 491 of file AlmaRadiometerRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 373 of file AlmaRadiometerRow.h.
|
private |
Definition at line 442 of file AlmaRadiometerRow.h.
|
private |
===> Attribute numAntenna, which is optional
Definition at line 439 of file AlmaRadiometerRow.h.
|
private |
Definition at line 459 of file AlmaRadiometerRow.h.
|
private |
The table to which this row belongs.
Definition at line 369 of file AlmaRadiometerRow.h.