casa
5.7.0-16
|
The ReceiverRow class is a row of a ReceiverTable. More...
#include <ReceiverRow.h>
Public Member Functions | |
virtual | ~ReceiverRow () |
friend class asdm::TableStreamReader<ReceiverTable, ReceiverRow>; More... | |
ReceiverTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
ArrayTimeInterval | getTimeInterval () const |
===> Attribute timeInterval More... | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. More... | |
std::string | getName () const |
===> Attribute name More... | |
void | setName (std::string name) |
Set name with the specified std::string. More... | |
int | getNumLO () const |
===> Attribute numLO More... | |
void | setNumLO (int numLO) |
Set numLO with the specified int. More... | |
ReceiverBandMod::ReceiverBand | getFrequencyBand () const |
===> Attribute frequencyBand More... | |
void | setFrequencyBand (ReceiverBandMod::ReceiverBand frequencyBand) |
Set frequencyBand with the specified ReceiverBandMod::ReceiverBand. More... | |
std::vector< Frequency > | getFreqLO () const |
===> Attribute freqLO More... | |
void | setFreqLO (std::vector< Frequency > freqLO) |
Set freqLO with the specified std::vector<Frequency >. More... | |
ReceiverSidebandMod::ReceiverSideband | getReceiverSideband () const |
===> Attribute receiverSideband More... | |
void | setReceiverSideband (ReceiverSidebandMod::ReceiverSideband receiverSideband) |
Set receiverSideband with the specified ReceiverSidebandMod::ReceiverSideband. More... | |
std::vector < NetSidebandMod::NetSideband > | getSidebandLO () const |
===> Attribute sidebandLO More... | |
void | setSidebandLO (std::vector< NetSidebandMod::NetSideband > sidebandLO) |
Set sidebandLO with the specified std::vector<NetSidebandMod::NetSideband >. More... | |
void | setSpectralWindowId (Tag spectralWindowId) |
Set spectralWindowId with the specified Tag. More... | |
Links *SpectralWindowRow * | getSpectralWindowUsingSpectralWindowId () |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId More... | |
bool | compareNoAutoInc (Tag spectralWindowId, ArrayTimeInterval timeInterval, std::string name, int numLO, ReceiverBandMod::ReceiverBand frequencyBand, std::vector< Frequency > freqLO, ReceiverSidebandMod::ReceiverSideband receiverSideband, std::vector< NetSidebandMod::NetSideband > sidebandLO) |
Compare each mandatory attribute except the autoincrementable one of this ReceiverRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (std::string name, int numLO, ReceiverBandMod::ReceiverBand frequencyBand, std::vector< Frequency > freqLO, ReceiverSidebandMod::ReceiverSideband receiverSideband, std::vector< NetSidebandMod::NetSideband > sidebandLO) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (ReceiverRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::ReceiverRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::ReceiverRowIDL &x) const |
Define the content of a ReceiverRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::ReceiverRowIDL x) |
Fill the values of this row from the IDL struct ReceiverRowIDL. 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... | |
ReceiverRow (ReceiverTable &table) | |
Create a ReceiverRow. More... | |
ReceiverRow (ReceiverTable &table, ReceiverRow *row) | |
Create a ReceiverRow using a copy constructor mechanism. More... | |
void | setReceiverId (int receiverId) |
Set receiverId with the specified int value. More... | |
void | receiverIdFromBin (EndianIStream &eis) |
void | spectralWindowIdFromBin (EndianIStream &eis) |
void | timeIntervalFromBin (EndianIStream &eis) |
void | nameFromBin (EndianIStream &eis) |
void | numLOFromBin (EndianIStream &eis) |
void | frequencyBandFromBin (EndianIStream &eis) |
void | freqLOFromBin (EndianIStream &eis) |
void | receiverSidebandFromBin (EndianIStream &eis) |
void | sidebandLOFromBin (EndianIStream &eis) |
void | receiverIdFromText (const std::string &s) |
void | spectralWindowIdFromText (const std::string &s) |
void | timeIntervalFromText (const std::string &s) |
void | nameFromText (const std::string &s) |
void | numLOFromText (const std::string &s) |
void | frequencyBandFromText (const std::string &s) |
void | freqLOFromText (const std::string &s) |
void | receiverSidebandFromText (const std::string &s) |
void | sidebandLOFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
ReceiverTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
ArrayTimeInterval | timeInterval |
===> Attribute timeInterval More... | |
std::string | name |
===> Attribute name More... | |
int | numLO |
===> Attribute numLO More... | |
ReceiverBandMod::ReceiverBand | frequencyBand |
===> Attribute frequencyBand More... | |
std::vector< Frequency > | freqLO |
===> Attribute freqLO More... | |
ReceiverSidebandMod::ReceiverSideband | receiverSideband |
===> Attribute receiverSideband More... | |
std::vector < NetSidebandMod::NetSideband > | sidebandLO |
===> Attribute sidebandLO More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, ReceiverAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, ReceiverAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::ReceiverTable |
class | asdm::RowTransformer< ReceiverRow > |
The ReceiverRow class is a row of a ReceiverTable.
Generated from model's revision "-1", branch ""
Definition at line 119 of file ReceiverRow.h.
|
virtual |
friend class asdm::TableStreamReader<ReceiverTable, ReceiverRow>;
|
private |
Create a ReceiverRow.
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 ReceiverRow using a copy constructor mechanism.
Given a ReceiverRow row and a ReceiverTable table, the method creates a new ReceiverRow 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. |
bool asdm::ReceiverRow::compareNoAutoInc | ( | Tag | spectralWindowId, |
ArrayTimeInterval | timeInterval, | ||
std::string | name, | ||
int | numLO, | ||
ReceiverBandMod::ReceiverBand | frequencyBand, | ||
std::vector< Frequency > | freqLO, | ||
ReceiverSidebandMod::ReceiverSideband | receiverSideband, | ||
std::vector< NetSidebandMod::NetSideband > | sidebandLO | ||
) |
Compare each mandatory attribute except the autoincrementable one of this ReceiverRow with the corresponding parameters and return true if there is a match and false otherwise.
spectralWindowId | |
timeInterval | |
name | |
numLO | |
frequencyBand | |
freqLO | |
receiverSideband | |
sidebandLO |
bool asdm::ReceiverRow::compareRequiredValue | ( | std::string | name, |
int | numLO, | ||
ReceiverBandMod::ReceiverBand | frequencyBand, | ||
std::vector< Frequency > | freqLO, | ||
ReceiverSidebandMod::ReceiverSideband | receiverSideband, | ||
std::vector< NetSidebandMod::NetSideband > | sidebandLO | ||
) |
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.
name | |
numLO | |
frequencyBand | |
freqLO | |
receiverSideband | |
sidebandLO |
bool asdm::ReceiverRow::equalByRequiredValue | ( | ReceiverRow * | 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 ReceiverRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
std::vector<Frequency > asdm::ReceiverRow::getFreqLO | ( | ) | const |
===> Attribute freqLO
Get freqLO.
ReceiverBandMod::ReceiverBand asdm::ReceiverRow::getFrequencyBand | ( | ) | const |
===> Attribute frequencyBand
Get frequencyBand.
std::string asdm::ReceiverRow::getName | ( | ) | const |
===> Attribute name
Get name.
int asdm::ReceiverRow::getNumLO | ( | ) | const |
===> Attribute numLO
Get numLO.
ReceiverSidebandMod::ReceiverSideband asdm::ReceiverRow::getReceiverSideband | ( | ) | const |
===> Attribute receiverSideband
Get receiverSideband.
std::vector<NetSidebandMod::NetSideband > asdm::ReceiverRow::getSidebandLO | ( | ) | const |
===> Attribute sidebandLO
Get sidebandLO.
Links* SpectralWindowRow* asdm::ReceiverRow::getSpectralWindowUsingSpectralWindowId | ( | ) |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
ReceiverTable& asdm::ReceiverRow::getTable | ( | ) | const |
Return the table to which this row belongs.
ArrayTimeInterval asdm::ReceiverRow::getTimeInterval | ( | ) | const |
bool asdm::ReceiverRow::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.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::ReceiverRow::setFreqLO | ( | std::vector< Frequency > | freqLO | ) |
Set freqLO with the specified std::vector<Frequency >.
freqLO | The std::vector<Frequency > value to which freqLO is to be set. |
void asdm::ReceiverRow::setFrequencyBand | ( | ReceiverBandMod::ReceiverBand | frequencyBand | ) |
Set frequencyBand with the specified ReceiverBandMod::ReceiverBand.
frequencyBand | The ReceiverBandMod::ReceiverBand value to which frequencyBand is to be set. |
void asdm::ReceiverRow::setFromIDL | ( | asdmIDL::ReceiverRowIDL | x | ) |
Fill the values of this row from the IDL struct ReceiverRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::ReceiverRow::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::ReceiverRow::setName | ( | std::string | name | ) |
Set name with the specified std::string.
name | The std::string value to which name is to be set. |
void asdm::ReceiverRow::setNumLO | ( | int | numLO | ) |
Set numLO with the specified int.
numLO | The int value to which numLO is to be set. |
|
private |
Set receiverId with the specified int value.
receiverId | The int value to which receiverId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::ReceiverRow::setReceiverSideband | ( | ReceiverSidebandMod::ReceiverSideband | receiverSideband | ) |
Set receiverSideband with the specified ReceiverSidebandMod::ReceiverSideband.
receiverSideband | The ReceiverSidebandMod::ReceiverSideband value to which receiverSideband is to be set. |
void asdm::ReceiverRow::setSidebandLO | ( | std::vector< NetSidebandMod::NetSideband > | sidebandLO | ) |
Set sidebandLO with the specified std::vector<NetSidebandMod::NetSideband >.
sidebandLO | The std::vector<NetSidebandMod::NetSideband > value to which sidebandLO is to be set. |
void asdm::ReceiverRow::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::ReceiverRow::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 |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::ReceiverRowIDL* asdm::ReceiverRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::ReceiverRow::toIDL | ( | asdmIDL::ReceiverRowIDL & | x | ) | const |
Define the content of a ReceiverRowIDL struct from the values found in this row.
x | a reference to the ReceiverRowIDL struct to be set. |
std::string asdm::ReceiverRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 120 of file ReceiverRow.h.
|
friend |
Definition at line 121 of file ReceiverRow.h.
Extrinsic Table asdm::ReceiverRow::Attributes |
Definition at line 144 of file ReceiverRow.h.
Extrinsic Table asdm::ReceiverRow::Attributes |
Definition at line 380 of file ReceiverRow.h.
|
private |
===> Attribute freqLO
Definition at line 684 of file ReceiverRow.h.
|
private |
===> Attribute frequencyBand
Definition at line 673 of file ReceiverRow.h.
|
private |
Definition at line 743 of file ReceiverRow.h.
|
private |
Definition at line 760 of file ReceiverRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 573 of file ReceiverRow.h.
|
private |
===> Attribute name
Definition at line 651 of file ReceiverRow.h.
|
private |
===> Attribute numLO
Definition at line 662 of file ReceiverRow.h.
|
private |
===> Attribute receiverSideband
Definition at line 695 of file ReceiverRow.h.
|
private |
===> Attribute sidebandLO
Definition at line 706 of file ReceiverRow.h.
|
private |
The table to which this row belongs.
Definition at line 569 of file ReceiverRow.h.
|
private |
===> Attribute timeInterval
Definition at line 640 of file ReceiverRow.h.