casa
5.7.0-16
|
The SysPowerRow class is a row of a SysPowerTable. More...
#include <SysPowerRow.h>
Public Member Functions | |
virtual | ~SysPowerRow () |
friend class asdm::TableStreamReader<SysPowerTable, SysPowerRow>; More... | |
SysPowerTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. More... | |
int | getNumReceptor () const |
===> Attribute numReceptor More... | |
void | setNumReceptor (int numReceptor) |
Set numReceptor with the specified int. More... | |
bool | isSwitchedPowerDifferenceExists () const |
===> Attribute switchedPowerDifference, which is optional More... | |
std::vector< float > | getSwitchedPowerDifference () const |
Get switchedPowerDifference, which is optional. More... | |
void | setSwitchedPowerDifference (std::vector< float > switchedPowerDifference) |
Set switchedPowerDifference with the specified std::vector<float >. More... | |
void | clearSwitchedPowerDifference () |
Mark switchedPowerDifference, which is an optional field, as non-existent. More... | |
bool | isSwitchedPowerSumExists () const |
===> Attribute switchedPowerSum, which is optional More... | |
std::vector< float > | getSwitchedPowerSum () const |
Get switchedPowerSum, which is optional. More... | |
void | setSwitchedPowerSum (std::vector< float > switchedPowerSum) |
Set switchedPowerSum with the specified std::vector<float >. More... | |
void | clearSwitchedPowerSum () |
Mark switchedPowerSum, which is an optional field, as non-existent. More... | |
bool | isRequantizerGainExists () const |
===> Attribute requantizerGain, which is optional More... | |
std::vector< float > | getRequantizerGain () const |
Get requantizerGain, which is optional. More... | |
void | setRequantizerGain (std::vector< float > requantizerGain) |
Set requantizerGain with the specified std::vector<float >. More... | |
void | clearRequantizerGain () |
Mark requantizerGain, which is an optional field, as non-existent. More... | |
void | setAntennaId (Tag antennaId) |
Set antennaId with the specified Tag. More... | |
int | getFeedId () const |
===> Attribute feedId More... | |
void | setFeedId (int feedId) |
Set feedId with the specified int. More... | |
Tag | getSpectralWindowId () const |
===> Attribute spectralWindowId More... | |
void | setSpectralWindowId (Tag spectralWindowId) |
Set spectralWindowId with the specified Tag. More... | |
Links *AntennaRow * | getAntennaUsingAntennaId () |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More... | |
SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId () |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId More... | |
std::vector< FeedRow * > | getFeeds () |
===> Slice link from a row of SysPower table to a collection of row of Feed table. More... | |
bool | compareNoAutoInc (Tag antennaId, Tag spectralWindowId, int feedId, ArrayTimeInterval timeInterval, int numReceptor) |
Compare each mandatory attribute except the autoincrementable one of this SysPowerRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int numReceptor) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (SysPowerRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::SysPowerRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::SysPowerRowIDL &x) const |
Define the content of a SysPowerRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::SysPowerRowIDL x) |
Fill the values of this row from the IDL struct SysPowerRowIDL. 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... | |
SysPowerRow (SysPowerTable &table) | |
Create a SysPowerRow. More... | |
SysPowerRow (SysPowerTable &table, SysPowerRow *row) | |
Create a SysPowerRow using a copy constructor mechanism. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | spectralWindowIdFromBin (EndianIStream &eis) |
void | feedIdFromBin (EndianIStream &eis) |
void | timeIntervalFromBin (EndianIStream &eis) |
void | numReceptorFromBin (EndianIStream &eis) |
void | switchedPowerDifferenceFromBin (EndianIStream &eis) |
void | switchedPowerSumFromBin (EndianIStream &eis) |
void | requantizerGainFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | spectralWindowIdFromText (const std::string &s) |
void | feedIdFromText (const std::string &s) |
void | timeIntervalFromText (const std::string &s) |
void | numReceptorFromText (const std::string &s) |
void | switchedPowerDifferenceFromText (const std::string &s) |
void | switchedPowerSumFromText (const std::string &s) |
void | requantizerGainFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
SysPowerTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numReceptor |
===> Attribute numReceptor More... | |
bool | switchedPowerDifferenceExists |
===> Attribute switchedPowerDifference, which is optional More... | |
std::vector< float > | switchedPowerDifference |
bool | switchedPowerSumExists |
===> Attribute switchedPowerSum, which is optional More... | |
std::vector< float > | switchedPowerSum |
bool | requantizerGainExists |
===> Attribute requantizerGain, which is optional More... | |
std::vector< float > | requantizerGain |
int | feedId |
===> Attribute feedId More... | |
Tag | spectralWindowId |
===> Attribute spectralWindowId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, SysPowerAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, SysPowerAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::SysPowerTable |
class | asdm::RowTransformer< SysPowerRow > |
The SysPowerRow class is a row of a SysPowerTable.
Generated from model's revision "-1", branch ""
Definition at line 109 of file SysPowerRow.h.
|
virtual |
friend class asdm::TableStreamReader<SysPowerTable, SysPowerRow>;
|
private |
Create a SysPowerRow.
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 SysPowerRow using a copy constructor mechanism.
Given a SysPowerRow row and a SysPowerTable table, the method creates a new SysPowerRow 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. |
|
private |
|
private |
void asdm::SysPowerRow::clearRequantizerGain | ( | ) |
Mark requantizerGain, which is an optional field, as non-existent.
void asdm::SysPowerRow::clearSwitchedPowerDifference | ( | ) |
Mark switchedPowerDifference, which is an optional field, as non-existent.
void asdm::SysPowerRow::clearSwitchedPowerSum | ( | ) |
Mark switchedPowerSum, which is an optional field, as non-existent.
bool asdm::SysPowerRow::compareNoAutoInc | ( | Tag | antennaId, |
Tag | spectralWindowId, | ||
int | feedId, | ||
ArrayTimeInterval | timeInterval, | ||
int | numReceptor | ||
) |
Compare each mandatory attribute except the autoincrementable one of this SysPowerRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
spectralWindowId | |
feedId | |
timeInterval | |
numReceptor |
bool asdm::SysPowerRow::compareRequiredValue | ( | int | numReceptor | ) |
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.
numReceptor |
bool asdm::SysPowerRow::equalByRequiredValue | ( | SysPowerRow * | 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 SysPowerRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
Links* AntennaRow* asdm::SysPowerRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
int asdm::SysPowerRow::getFeedId | ( | ) | const |
===> Attribute feedId
Get feedId.
std::vector<FeedRow *> asdm::SysPowerRow::getFeeds | ( | ) |
===> Slice link from a row of SysPower table to a collection of row of Feed table.
Get the collection of row in the Feed table having feedId == this.feedId
int asdm::SysPowerRow::getNumReceptor | ( | ) | const |
===> Attribute numReceptor
Get numReceptor.
std::vector<float > asdm::SysPowerRow::getRequantizerGain | ( | ) | const |
Get requantizerGain, which is optional.
IllegalAccessException | If requantizerGain does not exist. |
Tag asdm::SysPowerRow::getSpectralWindowId | ( | ) | const |
SpectralWindowRow* asdm::SysPowerRow::getSpectralWindowUsingSpectralWindowId | ( | ) |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
std::vector<float > asdm::SysPowerRow::getSwitchedPowerDifference | ( | ) | const |
Get switchedPowerDifference, which is optional.
IllegalAccessException | If switchedPowerDifference does not exist. |
std::vector<float > asdm::SysPowerRow::getSwitchedPowerSum | ( | ) | const |
Get switchedPowerSum, which is optional.
IllegalAccessException | If switchedPowerSum does not exist. |
SysPowerTable& asdm::SysPowerRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::SysPowerRow::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::SysPowerRow::isRequantizerGainExists | ( | ) | const |
===> Attribute requantizerGain, which is optional
The attribute requantizerGain is optional. Return true if this attribute exists.
bool asdm::SysPowerRow::isSwitchedPowerDifferenceExists | ( | ) | const |
===> Attribute switchedPowerDifference, which is optional
The attribute switchedPowerDifference is optional. Return true if this attribute exists.
bool asdm::SysPowerRow::isSwitchedPowerSumExists | ( | ) | const |
===> Attribute switchedPowerSum, which is optional
The attribute switchedPowerSum is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
void asdm::SysPowerRow::setAntennaId | ( | Tag | antennaId | ) |
Set antennaId with the specified Tag.
antennaId | The Tag value to which antennaId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SysPowerRow::setFeedId | ( | int | feedId | ) |
Set feedId with the specified int.
feedId | The int value to which feedId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SysPowerRow::setFromIDL | ( | asdmIDL::SysPowerRowIDL | x | ) |
Fill the values of this row from the IDL struct SysPowerRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::SysPowerRow::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::SysPowerRow::setNumReceptor | ( | int | numReceptor | ) |
Set numReceptor with the specified int.
numReceptor | The int value to which numReceptor is to be set. |
void asdm::SysPowerRow::setRequantizerGain | ( | std::vector< float > | requantizerGain | ) |
Set requantizerGain with the specified std::vector<float >.
requantizerGain | The std::vector<float > value to which requantizerGain is to be set. |
void asdm::SysPowerRow::setSpectralWindowId | ( | Tag | spectralWindowId | ) |
Set spectralWindowId with the specified Tag.
spectralWindowId | The Tag value to which spectralWindowId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SysPowerRow::setSwitchedPowerDifference | ( | std::vector< float > | switchedPowerDifference | ) |
Set switchedPowerDifference with the specified std::vector<float >.
switchedPowerDifference | The std::vector<float > value to which switchedPowerDifference is to be set. |
void asdm::SysPowerRow::setSwitchedPowerSum | ( | std::vector< float > | switchedPowerSum | ) |
Set switchedPowerSum with the specified std::vector<float >.
switchedPowerSum | The std::vector<float > value to which switchedPowerSum is to be set. |
void asdm::SysPowerRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
|
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::SysPowerRowIDL* asdm::SysPowerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::SysPowerRow::toIDL | ( | asdmIDL::SysPowerRowIDL & | x | ) | const |
Define the content of a SysPowerRowIDL struct from the values found in this row.
x | a reference to the SysPowerRowIDL struct to be set. |
std::string asdm::SysPowerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 111 of file SysPowerRow.h.
|
friend |
Definition at line 110 of file SysPowerRow.h.
Extrinsic Table asdm::SysPowerRow::Attributes |
Definition at line 134 of file SysPowerRow.h.
Extrinsic Table asdm::SysPowerRow::Attributes |
Definition at line 323 of file SysPowerRow.h.
|
private |
===> Attribute feedId
Definition at line 715 of file SysPowerRow.h.
|
private |
Definition at line 761 of file SysPowerRow.h.
|
private |
Definition at line 777 of file SysPowerRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 595 of file SysPowerRow.h.
|
private |
===> Attribute numReceptor
Definition at line 650 of file SysPowerRow.h.
|
private |
Definition at line 689 of file SysPowerRow.h.
|
private |
===> Attribute requantizerGain, which is optional
Definition at line 686 of file SysPowerRow.h.
|
private |
===> Attribute spectralWindowId
Definition at line 726 of file SysPowerRow.h.
|
private |
Definition at line 663 of file SysPowerRow.h.
|
private |
===> Attribute switchedPowerDifference, which is optional
Definition at line 660 of file SysPowerRow.h.
|
private |
Definition at line 676 of file SysPowerRow.h.
|
private |
===> Attribute switchedPowerSum, which is optional
Definition at line 673 of file SysPowerRow.h.
|
private |
The table to which this row belongs.
Definition at line 591 of file SysPowerRow.h.