casa
5.7.0-16
|
The WVMCalRow class is a row of a WVMCalTable. More...
#include <WVMCalRow.h>
Public Member Functions | |
virtual | ~WVMCalRow () |
friend class asdm::TableStreamReader<WVMCalTable, WVMCalRow>; More... | |
WVMCalTable & | 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... | |
WVRMethodMod::WVRMethod | getWvrMethod () const |
===> Attribute wvrMethod More... | |
void | setWvrMethod (WVRMethodMod::WVRMethod wvrMethod) |
Set wvrMethod with the specified WVRMethodMod::WVRMethod. More... | |
std::vector< Frequency > | getPolyFreqLimits () const |
===> Attribute polyFreqLimits More... | |
void | setPolyFreqLimits (std::vector< Frequency > polyFreqLimits) |
Set polyFreqLimits with the specified std::vector<Frequency >. More... | |
int | getNumInputAntenna () const |
===> Attribute numInputAntenna More... | |
void | setNumInputAntenna (int numInputAntenna) |
Set numInputAntenna with the specified int. More... | |
int | getNumChan () const |
===> Attribute numChan More... | |
void | setNumChan (int numChan) |
Set numChan with the specified int. More... | |
int | getNumPoly () const |
===> Attribute numPoly More... | |
void | setNumPoly (int numPoly) |
Set numPoly with the specified int. More... | |
std::vector< std::vector < std::vector< float > > > | getPathCoeff () const |
===> Attribute pathCoeff More... | |
void | setPathCoeff (std::vector< std::vector< std::vector< float > > > pathCoeff) |
Set pathCoeff with the specified std::vector<std::vector<std::vector<float > > >. More... | |
std::vector< std::vector < Temperature > > | getRefTemp () const |
===> Attribute refTemp More... | |
void | setRefTemp (std::vector< std::vector< Temperature > > refTemp) |
Set refTemp with the specified std::vector<std::vector<Temperature > >. More... | |
void | setAntennaId (Tag antennaId) |
Set antennaId with the specified Tag. More... | |
std::vector< Tag > | getInputAntennaId () const |
===> Attribute inputAntennaId More... | |
void | setInputAntennaId (std::vector< Tag > inputAntennaId) |
Set inputAntennaId with the specified std::vector<Tag> . More... | |
Tag | getSpectralWindowId () const |
===> Attribute spectralWindowId 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... | |
AntennaRow * | getAntennaUsingAntennaId () |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More... | |
void | setInputAntennaId (int i, Tag inputAntennaId) |
Set inputAntennaId[i] with the specified Tag. More... | |
void | addInputAntennaId (Tag id) |
Append a Tag to inputAntennaId. More... | |
void | addInputAntennaId (const std::vector< Tag > &id) |
Append a vector of Tag to inputAntennaId. More... | |
const Tag | getInputAntennaId (int i) |
Returns the Tag stored in inputAntennaId at position i. More... | |
AntennaRow * | getAntennaUsingInputAntennaId (int i) |
Returns the AntennaRow linked to this row via the tag stored in inputAntennaId at position i. More... | |
std::vector< AntennaRow * > | getAntennasUsingInputAntennaId () |
Returns the vector of AntennaRow* linked to this row via the Tags stored in inputAntennaId. More... | |
bool | compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, WVRMethodMod::WVRMethod wvrMethod, std::vector< Frequency > polyFreqLimits, int numInputAntenna, int numChan, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< std::vector< Temperature > > refTemp, std::vector< Tag > inputAntennaId) |
Compare each mandatory attribute except the autoincrementable one of this WVMCalRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (WVRMethodMod::WVRMethod wvrMethod, std::vector< Frequency > polyFreqLimits, int numInputAntenna, int numChan, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< std::vector< Temperature > > refTemp, std::vector< Tag > inputAntennaId) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (WVMCalRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::WVMCalRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::WVMCalRowIDL &x) const |
Define the content of a WVMCalRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::WVMCalRowIDL x) |
Fill the values of this row from the IDL struct WVMCalRowIDL. 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... | |
WVMCalRow (WVMCalTable &table) | |
Create a WVMCalRow. More... | |
WVMCalRow (WVMCalTable &table, WVMCalRow *row) | |
Create a WVMCalRow using a copy constructor mechanism. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | spectralWindowIdFromBin (EndianIStream &eis) |
void | timeIntervalFromBin (EndianIStream &eis) |
void | wvrMethodFromBin (EndianIStream &eis) |
void | polyFreqLimitsFromBin (EndianIStream &eis) |
void | numInputAntennaFromBin (EndianIStream &eis) |
void | numChanFromBin (EndianIStream &eis) |
void | numPolyFromBin (EndianIStream &eis) |
void | pathCoeffFromBin (EndianIStream &eis) |
void | refTempFromBin (EndianIStream &eis) |
void | inputAntennaIdFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | spectralWindowIdFromText (const std::string &s) |
void | timeIntervalFromText (const std::string &s) |
void | wvrMethodFromText (const std::string &s) |
void | polyFreqLimitsFromText (const std::string &s) |
void | numInputAntennaFromText (const std::string &s) |
void | numChanFromText (const std::string &s) |
void | numPolyFromText (const std::string &s) |
void | pathCoeffFromText (const std::string &s) |
void | refTempFromText (const std::string &s) |
void | inputAntennaIdFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
WVMCalTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
WVRMethodMod::WVRMethod | wvrMethod |
===> Attribute wvrMethod More... | |
std::vector< Frequency > | polyFreqLimits |
===> Attribute polyFreqLimits More... | |
int | numInputAntenna |
===> Attribute numInputAntenna More... | |
int | numChan |
===> Attribute numChan More... | |
int | numPoly |
===> Attribute numPoly More... | |
std::vector< std::vector < std::vector< float > > > | pathCoeff |
===> Attribute pathCoeff More... | |
std::vector< std::vector < Temperature > > | refTemp |
===> Attribute refTemp More... | |
std::vector< Tag > | inputAntennaId |
===> Attribute inputAntennaId More... | |
Tag | spectralWindowId |
===> Attribute spectralWindowId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, WVMCalAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, WVMCalAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::WVMCalTable |
class | asdm::RowTransformer< WVMCalRow > |
The WVMCalRow class is a row of a WVMCalTable.
Generated from model's revision "-1", branch ""
Definition at line 125 of file WVMCalRow.h.
|
virtual |
friend class asdm::TableStreamReader<WVMCalTable, WVMCalRow>;
|
private |
Create a WVMCalRow.
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 WVMCalRow using a copy constructor mechanism.
Given a WVMCalRow row and a WVMCalTable table, the method creates a new WVMCalRow 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::WVMCalRow::addInputAntennaId | ( | Tag | id | ) |
void asdm::WVMCalRow::addInputAntennaId | ( | const std::vector< Tag > & | id | ) |
|
private |
|
private |
bool asdm::WVMCalRow::compareNoAutoInc | ( | Tag | antennaId, |
Tag | spectralWindowId, | ||
ArrayTimeInterval | timeInterval, | ||
WVRMethodMod::WVRMethod | wvrMethod, | ||
std::vector< Frequency > | polyFreqLimits, | ||
int | numInputAntenna, | ||
int | numChan, | ||
int | numPoly, | ||
std::vector< std::vector< std::vector< float > > > | pathCoeff, | ||
std::vector< std::vector< Temperature > > | refTemp, | ||
std::vector< Tag > | inputAntennaId | ||
) |
Compare each mandatory attribute except the autoincrementable one of this WVMCalRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
spectralWindowId | |
timeInterval | |
wvrMethod | |
polyFreqLimits | |
numInputAntenna | |
numChan | |
numPoly | |
pathCoeff | |
refTemp | |
inputAntennaId |
bool asdm::WVMCalRow::compareRequiredValue | ( | WVRMethodMod::WVRMethod | wvrMethod, |
std::vector< Frequency > | polyFreqLimits, | ||
int | numInputAntenna, | ||
int | numChan, | ||
int | numPoly, | ||
std::vector< std::vector< std::vector< float > > > | pathCoeff, | ||
std::vector< std::vector< Temperature > > | refTemp, | ||
std::vector< Tag > | inputAntennaId | ||
) |
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.
wvrMethod | |
polyFreqLimits | |
numInputAntenna | |
numChan | |
numPoly | |
pathCoeff | |
refTemp | |
inputAntennaId |
bool asdm::WVMCalRow::equalByRequiredValue | ( | WVMCalRow * | 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 WVMCalRow whose required attributes of the value part will be compared with those of this. |
std::vector<AntennaRow *> asdm::WVMCalRow::getAntennasUsingInputAntennaId | ( | ) |
Returns the vector of AntennaRow* linked to this row via the Tags stored in inputAntennaId.
AntennaRow* asdm::WVMCalRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
AntennaRow* asdm::WVMCalRow::getAntennaUsingInputAntennaId | ( | int | i | ) |
Returns the AntennaRow linked to this row via the tag stored in inputAntennaId at position i.
i | the position in inputAntennaId. |
std::vector<Tag> asdm::WVMCalRow::getInputAntennaId | ( | ) | const |
===> Attribute inputAntennaId
Get inputAntennaId.
const Tag asdm::WVMCalRow::getInputAntennaId | ( | int | i | ) |
int asdm::WVMCalRow::getNumChan | ( | ) | const |
===> Attribute numChan
Get numChan.
int asdm::WVMCalRow::getNumInputAntenna | ( | ) | const |
===> Attribute numInputAntenna
Get numInputAntenna.
int asdm::WVMCalRow::getNumPoly | ( | ) | const |
===> Attribute numPoly
Get numPoly.
std::vector<std::vector<std::vector<float > > > asdm::WVMCalRow::getPathCoeff | ( | ) | const |
===> Attribute pathCoeff
Get pathCoeff.
std::vector<Frequency > asdm::WVMCalRow::getPolyFreqLimits | ( | ) | const |
===> Attribute polyFreqLimits
Get polyFreqLimits.
std::vector<std::vector<Temperature > > asdm::WVMCalRow::getRefTemp | ( | ) | const |
===> Attribute refTemp
Get refTemp.
Tag asdm::WVMCalRow::getSpectralWindowId | ( | ) | const |
Links* SpectralWindowRow* asdm::WVMCalRow::getSpectralWindowUsingSpectralWindowId | ( | ) |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
WVMCalTable& asdm::WVMCalRow::getTable | ( | ) | const |
Return the table to which this row belongs.
WVRMethodMod::WVRMethod asdm::WVMCalRow::getWvrMethod | ( | ) | const |
===> Attribute wvrMethod
Get wvrMethod.
|
private |
|
private |
bool asdm::WVMCalRow::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 |
|
private |
|
private |
|
private |
|
private |
void asdm::WVMCalRow::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::WVMCalRow::setFromIDL | ( | asdmIDL::WVMCalRowIDL | x | ) |
Fill the values of this row from the IDL struct WVMCalRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::WVMCalRow::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::WVMCalRow::setInputAntennaId | ( | std::vector< Tag > | inputAntennaId | ) |
Set inputAntennaId with the specified std::vector<Tag> .
inputAntennaId | The std::vector<Tag> value to which inputAntennaId is to be set. |
void asdm::WVMCalRow::setInputAntennaId | ( | int | i, |
Tag | inputAntennaId | ||
) |
void asdm::WVMCalRow::setNumChan | ( | int | numChan | ) |
Set numChan with the specified int.
numChan | The int value to which numChan is to be set. |
void asdm::WVMCalRow::setNumInputAntenna | ( | int | numInputAntenna | ) |
Set numInputAntenna with the specified int.
numInputAntenna | The int value to which numInputAntenna is to be set. |
void asdm::WVMCalRow::setNumPoly | ( | int | numPoly | ) |
Set numPoly with the specified int.
numPoly | The int value to which numPoly is to be set. |
void asdm::WVMCalRow::setPathCoeff | ( | std::vector< std::vector< std::vector< float > > > | pathCoeff | ) |
Set pathCoeff with the specified std::vector<std::vector<std::vector<float > > >.
pathCoeff | The std::vector<std::vector<std::vector<float > > > value to which pathCoeff is to be set. |
void asdm::WVMCalRow::setPolyFreqLimits | ( | std::vector< Frequency > | polyFreqLimits | ) |
Set polyFreqLimits with the specified std::vector<Frequency >.
polyFreqLimits | The std::vector<Frequency > value to which polyFreqLimits is to be set. |
void asdm::WVMCalRow::setRefTemp | ( | std::vector< std::vector< Temperature > > | refTemp | ) |
Set refTemp with the specified std::vector<std::vector<Temperature > >.
refTemp | The std::vector<std::vector<Temperature > > value to which refTemp is to be set. |
void asdm::WVMCalRow::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::WVMCalRow::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. |
void asdm::WVMCalRow::setWvrMethod | ( | WVRMethodMod::WVRMethod | wvrMethod | ) |
Set wvrMethod with the specified WVRMethodMod::WVRMethod.
wvrMethod | The WVRMethodMod::WVRMethod value to which wvrMethod is to be set. |
|
private |
|
private |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::WVMCalRowIDL* asdm::WVMCalRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::WVMCalRow::toIDL | ( | asdmIDL::WVMCalRowIDL & | x | ) | const |
Define the content of a WVMCalRowIDL struct from the values found in this row.
x | a reference to the WVMCalRowIDL struct to be set. |
std::string asdm::WVMCalRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
private |
|
private |
|
friend |
Definition at line 127 of file WVMCalRow.h.
|
friend |
Definition at line 126 of file WVMCalRow.h.
Extrinsic Table asdm::WVMCalRow::Attributes |
Definition at line 150 of file WVMCalRow.h.
Extrinsic Table asdm::WVMCalRow::Attributes |
Definition at line 396 of file WVMCalRow.h.
|
private |
Definition at line 924 of file WVMCalRow.h.
|
private |
Definition at line 943 of file WVMCalRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 731 of file WVMCalRow.h.
|
private |
===> Attribute inputAntennaId
Definition at line 878 of file WVMCalRow.h.
|
private |
===> Attribute numChan
Definition at line 819 of file WVMCalRow.h.
|
private |
===> Attribute numInputAntenna
Definition at line 808 of file WVMCalRow.h.
|
private |
===> Attribute numPoly
Definition at line 830 of file WVMCalRow.h.
|
private |
===> Attribute pathCoeff
Definition at line 841 of file WVMCalRow.h.
|
private |
===> Attribute polyFreqLimits
Definition at line 797 of file WVMCalRow.h.
|
private |
===> Attribute refTemp
Definition at line 852 of file WVMCalRow.h.
|
private |
===> Attribute spectralWindowId
Definition at line 889 of file WVMCalRow.h.
|
private |
The table to which this row belongs.
Definition at line 727 of file WVMCalRow.h.
|
private |
===> Attribute wvrMethod
Definition at line 786 of file WVMCalRow.h.