casa
5.7.0-16
|
The TotalPowerRow class is a row of a TotalPowerTable. More...
#include <TotalPowerRow.h>
Public Member Functions | |
virtual | ~TotalPowerRow () |
friend class asdm::TableStreamReader<TotalPowerTable, TotalPowerRow>; More... | |
TotalPowerTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setTime (ArrayTime time) |
Set time with the specified ArrayTime. More... | |
int | getScanNumber () const |
===> Attribute scanNumber More... | |
void | setScanNumber (int scanNumber) |
Set scanNumber with the specified int. More... | |
int | getSubscanNumber () const |
===> Attribute subscanNumber More... | |
void | setSubscanNumber (int subscanNumber) |
Set subscanNumber with the specified int. More... | |
int | getIntegrationNumber () const |
===> Attribute integrationNumber More... | |
void | setIntegrationNumber (int integrationNumber) |
Set integrationNumber with the specified int. More... | |
std::vector< std::vector < Length > > | getUvw () const |
===> Attribute uvw More... | |
void | setUvw (std::vector< std::vector< Length > > uvw) |
Set uvw with the specified std::vector<std::vector<Length > >. More... | |
std::vector< std::vector < Interval > > | getExposure () const |
===> Attribute exposure More... | |
void | setExposure (std::vector< std::vector< Interval > > exposure) |
Set exposure with the specified std::vector<std::vector<Interval > >. More... | |
std::vector< std::vector < ArrayTime > > | getTimeCentroid () const |
===> Attribute timeCentroid More... | |
void | setTimeCentroid (std::vector< std::vector< ArrayTime > > timeCentroid) |
Set timeCentroid with the specified std::vector<std::vector<ArrayTime > >. More... | |
std::vector< std::vector < std::vector< float > > > | getFloatData () const |
===> Attribute floatData More... | |
void | setFloatData (std::vector< std::vector< std::vector< float > > > floatData) |
Set floatData with the specified std::vector<std::vector<std::vector<float > > >. More... | |
std::vector< int > | getFlagAnt () const |
===> Attribute flagAnt More... | |
void | setFlagAnt (std::vector< int > flagAnt) |
Set flagAnt with the specified std::vector<int >. More... | |
std::vector< std::vector< int > > | getFlagPol () const |
===> Attribute flagPol More... | |
void | setFlagPol (std::vector< std::vector< int > > flagPol) |
Set flagPol with the specified std::vector<std::vector<int > >. More... | |
Interval | getInterval () const |
===> Attribute interval More... | |
void | setInterval (Interval interval) |
Set interval with the specified Interval. More... | |
bool | isSubintegrationNumberExists () const |
===> Attribute subintegrationNumber, which is optional More... | |
int | getSubintegrationNumber () const |
Get subintegrationNumber, which is optional. More... | |
void | setSubintegrationNumber (int subintegrationNumber) |
Set subintegrationNumber with the specified int. More... | |
void | clearSubintegrationNumber () |
Mark subintegrationNumber, which is an optional field, as non-existent. More... | |
void | setConfigDescriptionId (Tag configDescriptionId) |
Set configDescriptionId with the specified Tag. More... | |
Tag | getExecBlockId () const |
===> Attribute execBlockId More... | |
void | setExecBlockId (Tag execBlockId) |
Set execBlockId with the specified Tag. More... | |
Tag | getFieldId () const |
===> Attribute fieldId More... | |
void | setFieldId (Tag fieldId) |
Set fieldId with the specified Tag. More... | |
std::vector< Tag > | getStateId () const |
===> Attribute stateId More... | |
void | setStateId (std::vector< Tag > stateId) |
Set stateId with the specified std::vector<Tag> . More... | |
Links *void | setStateId (int i, Tag stateId) |
Set stateId[i] with the specified Tag. More... | |
void | addStateId (Tag id) |
Append a Tag to stateId. More... | |
void | addStateId (const std::vector< Tag > &id) |
Append a vector of Tag to stateId. More... | |
const Tag | getStateId (int i) |
Returns the Tag stored in stateId at position i. More... | |
StateRow * | getStateUsingStateId (int i) |
Returns the StateRow linked to this row via the tag stored in stateId at position i. More... | |
std::vector< StateRow * > | getStatesUsingStateId () |
Returns the vector of StateRow* linked to this row via the Tags stored in stateId. More... | |
FieldRow * | getFieldUsingFieldId () |
fieldId pointer to the row in the Field table having Field.fieldId == fieldId More... | |
ConfigDescriptionRow * | getConfigDescriptionUsingConfigDescriptionId () |
configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId More... | |
ExecBlockRow * | getExecBlockUsingExecBlockId () |
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId More... | |
bool | compareNoAutoInc (ArrayTime time, Tag configDescriptionId, Tag fieldId, int scanNumber, int subscanNumber, int integrationNumber, std::vector< std::vector< Length > > uvw, std::vector< std::vector< Interval > > exposure, std::vector< std::vector< ArrayTime > > timeCentroid, std::vector< std::vector< std::vector< float > > > floatData, std::vector< int > flagAnt, std::vector< std::vector< int > > flagPol, Interval interval, std::vector< Tag > stateId, Tag execBlockId) |
Compare each mandatory attribute except the autoincrementable one of this TotalPowerRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int scanNumber, int subscanNumber, int integrationNumber, std::vector< std::vector< Length > > uvw, std::vector< std::vector< Interval > > exposure, std::vector< std::vector< ArrayTime > > timeCentroid, std::vector< std::vector< std::vector< float > > > floatData, std::vector< int > flagAnt, std::vector< std::vector< int > > flagPol, Interval interval, std::vector< Tag > stateId, Tag execBlockId) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (TotalPowerRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::TotalPowerRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::TotalPowerRowIDL &x) const |
Define the content of a TotalPowerRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::TotalPowerRowIDL x) |
Fill the values of this row from the IDL struct TotalPowerRowIDL. 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... | |
TotalPowerRow (TotalPowerTable &table) | |
Create a TotalPowerRow. More... | |
TotalPowerRow (TotalPowerTable &table, TotalPowerRow *row) | |
Create a TotalPowerRow using a copy constructor mechanism. More... | |
void | timeFromBin (EndianIStream &eis) |
void | configDescriptionIdFromBin (EndianIStream &eis) |
void | fieldIdFromBin (EndianIStream &eis) |
void | scanNumberFromBin (EndianIStream &eis) |
void | subscanNumberFromBin (EndianIStream &eis) |
void | integrationNumberFromBin (EndianIStream &eis) |
void | uvwFromBin (EndianIStream &eis) |
void | exposureFromBin (EndianIStream &eis) |
void | timeCentroidFromBin (EndianIStream &eis) |
void | floatDataFromBin (EndianIStream &eis) |
void | flagAntFromBin (EndianIStream &eis) |
void | flagPolFromBin (EndianIStream &eis) |
void | intervalFromBin (EndianIStream &eis) |
void | stateIdFromBin (EndianIStream &eis) |
void | execBlockIdFromBin (EndianIStream &eis) |
void | subintegrationNumberFromBin (EndianIStream &eis) |
void | timeFromText (const std::string &s) |
void | configDescriptionIdFromText (const std::string &s) |
void | fieldIdFromText (const std::string &s) |
void | scanNumberFromText (const std::string &s) |
void | subscanNumberFromText (const std::string &s) |
void | integrationNumberFromText (const std::string &s) |
void | uvwFromText (const std::string &s) |
void | exposureFromText (const std::string &s) |
void | timeCentroidFromText (const std::string &s) |
void | floatDataFromText (const std::string &s) |
void | flagAntFromText (const std::string &s) |
void | flagPolFromText (const std::string &s) |
void | intervalFromText (const std::string &s) |
void | stateIdFromText (const std::string &s) |
void | execBlockIdFromText (const std::string &s) |
void | subintegrationNumberFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
TotalPowerTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | scanNumber |
===> Attribute scanNumber More... | |
int | subscanNumber |
===> Attribute subscanNumber More... | |
int | integrationNumber |
===> Attribute integrationNumber More... | |
std::vector< std::vector < Length > > | uvw |
===> Attribute uvw More... | |
std::vector< std::vector < Interval > > | exposure |
===> Attribute exposure More... | |
std::vector< std::vector < ArrayTime > > | timeCentroid |
===> Attribute timeCentroid More... | |
std::vector< std::vector < std::vector< float > > > | floatData |
===> Attribute floatData More... | |
std::vector< int > | flagAnt |
===> Attribute flagAnt More... | |
std::vector< std::vector< int > > | flagPol |
===> Attribute flagPol More... | |
Interval | interval |
===> Attribute interval More... | |
bool | subintegrationNumberExists |
===> Attribute subintegrationNumber, which is optional More... | |
int | subintegrationNumber |
Tag | execBlockId |
===> Attribute execBlockId More... | |
Tag | fieldId |
===> Attribute fieldId More... | |
std::vector< Tag > | stateId |
===> Attribute stateId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, TotalPowerAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, TotalPowerAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::TotalPowerTable |
class | asdm::RowTransformer< TotalPowerRow > |
The TotalPowerRow class is a row of a TotalPowerTable.
Generated from model's revision "-1", branch ""
Definition at line 134 of file TotalPowerRow.h.
|
virtual |
friend class asdm::TableStreamReader<TotalPowerTable, TotalPowerRow>;
|
private |
Create a TotalPowerRow.
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 TotalPowerRow using a copy constructor mechanism.
Given a TotalPowerRow row and a TotalPowerTable table, the method creates a new TotalPowerRow 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::TotalPowerRow::addStateId | ( | Tag | id | ) |
void asdm::TotalPowerRow::addStateId | ( | const std::vector< Tag > & | id | ) |
void asdm::TotalPowerRow::clearSubintegrationNumber | ( | ) |
Mark subintegrationNumber, which is an optional field, as non-existent.
bool asdm::TotalPowerRow::compareNoAutoInc | ( | ArrayTime | time, |
Tag | configDescriptionId, | ||
Tag | fieldId, | ||
int | scanNumber, | ||
int | subscanNumber, | ||
int | integrationNumber, | ||
std::vector< std::vector< Length > > | uvw, | ||
std::vector< std::vector< Interval > > | exposure, | ||
std::vector< std::vector< ArrayTime > > | timeCentroid, | ||
std::vector< std::vector< std::vector< float > > > | floatData, | ||
std::vector< int > | flagAnt, | ||
std::vector< std::vector< int > > | flagPol, | ||
Interval | interval, | ||
std::vector< Tag > | stateId, | ||
Tag | execBlockId | ||
) |
Compare each mandatory attribute except the autoincrementable one of this TotalPowerRow with the corresponding parameters and return true if there is a match and false otherwise.
time | |
configDescriptionId | |
fieldId | |
scanNumber | |
subscanNumber | |
integrationNumber | |
uvw | |
exposure | |
timeCentroid | |
floatData | |
flagAnt | |
flagPol | |
interval | |
stateId | |
execBlockId |
bool asdm::TotalPowerRow::compareRequiredValue | ( | int | scanNumber, |
int | subscanNumber, | ||
int | integrationNumber, | ||
std::vector< std::vector< Length > > | uvw, | ||
std::vector< std::vector< Interval > > | exposure, | ||
std::vector< std::vector< ArrayTime > > | timeCentroid, | ||
std::vector< std::vector< std::vector< float > > > | floatData, | ||
std::vector< int > | flagAnt, | ||
std::vector< std::vector< int > > | flagPol, | ||
Interval | interval, | ||
std::vector< Tag > | stateId, | ||
Tag | execBlockId | ||
) |
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.
scanNumber | |
subscanNumber | |
integrationNumber | |
uvw | |
exposure | |
timeCentroid | |
floatData | |
flagAnt | |
flagPol | |
interval | |
stateId | |
execBlockId |
|
private |
|
private |
bool asdm::TotalPowerRow::equalByRequiredValue | ( | TotalPowerRow * | 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 TotalPowerRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
ConfigDescriptionRow* asdm::TotalPowerRow::getConfigDescriptionUsingConfigDescriptionId | ( | ) |
configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId
Tag asdm::TotalPowerRow::getExecBlockId | ( | ) | const |
ExecBlockRow* asdm::TotalPowerRow::getExecBlockUsingExecBlockId | ( | ) |
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId
std::vector<std::vector<Interval > > asdm::TotalPowerRow::getExposure | ( | ) | const |
===> Attribute exposure
Get exposure.
Tag asdm::TotalPowerRow::getFieldId | ( | ) | const |
FieldRow* asdm::TotalPowerRow::getFieldUsingFieldId | ( | ) |
fieldId pointer to the row in the Field table having Field.fieldId == fieldId
std::vector<int > asdm::TotalPowerRow::getFlagAnt | ( | ) | const |
===> Attribute flagAnt
Get flagAnt.
std::vector<std::vector<int > > asdm::TotalPowerRow::getFlagPol | ( | ) | const |
===> Attribute flagPol
Get flagPol.
std::vector<std::vector<std::vector<float > > > asdm::TotalPowerRow::getFloatData | ( | ) | const |
===> Attribute floatData
Get floatData.
int asdm::TotalPowerRow::getIntegrationNumber | ( | ) | const |
===> Attribute integrationNumber
Get integrationNumber.
Interval asdm::TotalPowerRow::getInterval | ( | ) | const |
int asdm::TotalPowerRow::getScanNumber | ( | ) | const |
===> Attribute scanNumber
Get scanNumber.
std::vector<Tag> asdm::TotalPowerRow::getStateId | ( | ) | const |
===> Attribute stateId
Get stateId.
const Tag asdm::TotalPowerRow::getStateId | ( | int | i | ) |
std::vector<StateRow *> asdm::TotalPowerRow::getStatesUsingStateId | ( | ) |
Returns the vector of StateRow* linked to this row via the Tags stored in stateId.
StateRow* asdm::TotalPowerRow::getStateUsingStateId | ( | int | i | ) |
int asdm::TotalPowerRow::getSubintegrationNumber | ( | ) | const |
Get subintegrationNumber, which is optional.
IllegalAccessException | If subintegrationNumber does not exist. |
int asdm::TotalPowerRow::getSubscanNumber | ( | ) | const |
===> Attribute subscanNumber
Get subscanNumber.
TotalPowerTable& asdm::TotalPowerRow::getTable | ( | ) | const |
Return the table to which this row belongs.
std::vector<std::vector<ArrayTime > > asdm::TotalPowerRow::getTimeCentroid | ( | ) | const |
===> Attribute timeCentroid
Get timeCentroid.
std::vector<std::vector<Length > > asdm::TotalPowerRow::getUvw | ( | ) | const |
===> Attribute uvw
Get uvw.
|
private |
|
private |
|
private |
|
private |
bool asdm::TotalPowerRow::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::TotalPowerRow::isSubintegrationNumberExists | ( | ) | const |
===> Attribute subintegrationNumber, which is optional
The attribute subintegrationNumber is optional. Return true if this attribute exists.
|
private |
|
private |
void asdm::TotalPowerRow::setConfigDescriptionId | ( | Tag | configDescriptionId | ) |
Set configDescriptionId with the specified Tag.
configDescriptionId | The Tag value to which configDescriptionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::TotalPowerRow::setExecBlockId | ( | Tag | execBlockId | ) |
void asdm::TotalPowerRow::setExposure | ( | std::vector< std::vector< Interval > > | exposure | ) |
Set exposure with the specified std::vector<std::vector<Interval > >.
exposure | The std::vector<std::vector<Interval > > value to which exposure is to be set. |
void asdm::TotalPowerRow::setFieldId | ( | Tag | fieldId | ) |
Set fieldId with the specified Tag.
fieldId | The Tag value to which fieldId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::TotalPowerRow::setFlagAnt | ( | std::vector< int > | flagAnt | ) |
Set flagAnt with the specified std::vector<int >.
flagAnt | The std::vector<int > value to which flagAnt is to be set. |
void asdm::TotalPowerRow::setFlagPol | ( | std::vector< std::vector< int > > | flagPol | ) |
Set flagPol with the specified std::vector<std::vector<int > >.
flagPol | The std::vector<std::vector<int > > value to which flagPol is to be set. |
void asdm::TotalPowerRow::setFloatData | ( | std::vector< std::vector< std::vector< float > > > | floatData | ) |
Set floatData with the specified std::vector<std::vector<std::vector<float > > >.
floatData | The std::vector<std::vector<std::vector<float > > > value to which floatData is to be set. |
void asdm::TotalPowerRow::setFromIDL | ( | asdmIDL::TotalPowerRowIDL | x | ) |
Fill the values of this row from the IDL struct TotalPowerRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::TotalPowerRow::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::TotalPowerRow::setIntegrationNumber | ( | int | integrationNumber | ) |
Set integrationNumber with the specified int.
integrationNumber | The int value to which integrationNumber is to be set. |
void asdm::TotalPowerRow::setInterval | ( | Interval | interval | ) |
void asdm::TotalPowerRow::setScanNumber | ( | int | scanNumber | ) |
Set scanNumber with the specified int.
scanNumber | The int value to which scanNumber is to be set. |
void asdm::TotalPowerRow::setStateId | ( | std::vector< Tag > | stateId | ) |
Set stateId with the specified std::vector<Tag> .
stateId | The std::vector<Tag> value to which stateId is to be set. |
Links* void asdm::TotalPowerRow::setStateId | ( | int | i, |
Tag | stateId | ||
) |
void asdm::TotalPowerRow::setSubintegrationNumber | ( | int | subintegrationNumber | ) |
Set subintegrationNumber with the specified int.
subintegrationNumber | The int value to which subintegrationNumber is to be set. |
void asdm::TotalPowerRow::setSubscanNumber | ( | int | subscanNumber | ) |
Set subscanNumber with the specified int.
subscanNumber | The int value to which subscanNumber is to be set. |
void asdm::TotalPowerRow::setTime | ( | ArrayTime | time | ) |
Set time with the specified ArrayTime.
time | The ArrayTime value to which time is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::TotalPowerRow::setTimeCentroid | ( | std::vector< std::vector< ArrayTime > > | timeCentroid | ) |
Set timeCentroid with the specified std::vector<std::vector<ArrayTime > >.
timeCentroid | The std::vector<std::vector<ArrayTime > > value to which timeCentroid is to be set. |
void asdm::TotalPowerRow::setUvw | ( | std::vector< std::vector< Length > > | uvw | ) |
Set uvw with the specified std::vector<std::vector<Length > >.
uvw | The std::vector<std::vector<Length > > value to which uvw is to be set. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::TotalPowerRowIDL* asdm::TotalPowerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::TotalPowerRow::toIDL | ( | asdmIDL::TotalPowerRowIDL & | x | ) | const |
Define the content of a TotalPowerRowIDL struct from the values found in this row.
x | a reference to the TotalPowerRowIDL struct to be set. |
std::string asdm::TotalPowerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
private |
|
private |
|
friend |
Definition at line 136 of file TotalPowerRow.h.
|
friend |
Definition at line 135 of file TotalPowerRow.h.
Extrinsic Table asdm::TotalPowerRow::Attributes |
Definition at line 159 of file TotalPowerRow.h.
Extrinsic Table asdm::TotalPowerRow::Attributes |
Definition at line 536 of file TotalPowerRow.h.
|
private |
===> Attribute execBlockId
Definition at line 1130 of file TotalPowerRow.h.
|
private |
===> Attribute exposure
Definition at line 1036 of file TotalPowerRow.h.
|
private |
===> Attribute fieldId
Definition at line 1141 of file TotalPowerRow.h.
|
private |
===> Attribute flagAnt
Definition at line 1069 of file TotalPowerRow.h.
|
private |
===> Attribute flagPol
Definition at line 1080 of file TotalPowerRow.h.
|
private |
===> Attribute floatData
Definition at line 1058 of file TotalPowerRow.h.
|
private |
Definition at line 1194 of file TotalPowerRow.h.
|
private |
Definition at line 1218 of file TotalPowerRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 937 of file TotalPowerRow.h.
|
private |
===> Attribute integrationNumber
Definition at line 1014 of file TotalPowerRow.h.
|
private |
===> Attribute interval
Definition at line 1091 of file TotalPowerRow.h.
|
private |
===> Attribute scanNumber
Definition at line 992 of file TotalPowerRow.h.
|
private |
===> Attribute stateId
Definition at line 1152 of file TotalPowerRow.h.
|
private |
Definition at line 1104 of file TotalPowerRow.h.
|
private |
===> Attribute subintegrationNumber, which is optional
Definition at line 1101 of file TotalPowerRow.h.
|
private |
===> Attribute subscanNumber
Definition at line 1003 of file TotalPowerRow.h.
|
private |
The table to which this row belongs.
Definition at line 933 of file TotalPowerRow.h.
|
private |
===> Attribute timeCentroid
Definition at line 1047 of file TotalPowerRow.h.
|
private |
===> Attribute uvw
Definition at line 1025 of file TotalPowerRow.h.