casa
5.7.0-16
|
The CalWVRRow class is a row of a CalWVRTable. More...
#include <CalWVRRow.h>
Public Member Functions | |
virtual | ~CalWVRRow () |
friend class asdm::TableStreamReader<CalWVRTable, CalWVRRow>; More... | |
CalWVRTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setStartValidTime (ArrayTime startValidTime) |
Set startValidTime with the specified ArrayTime. More... | |
ArrayTime | getEndValidTime () const |
===> Attribute endValidTime More... | |
void | setEndValidTime (ArrayTime endValidTime) |
Set endValidTime with the specified ArrayTime. More... | |
WVRMethodMod::WVRMethod | getWvrMethod () const |
===> Attribute wvrMethod More... | |
void | setWvrMethod (WVRMethodMod::WVRMethod wvrMethod) |
Set wvrMethod with the specified WVRMethodMod::WVRMethod. More... | |
std::string | getAntennaName () const |
===> Attribute antennaName More... | |
void | setAntennaName (std::string antennaName) |
Set antennaName with the specified std::string. More... | |
int | getNumInputAntennas () const |
===> Attribute numInputAntennas More... | |
void | setNumInputAntennas (int numInputAntennas) |
Set numInputAntennas with the specified int. More... | |
std::vector< std::string > | getInputAntennaNames () const |
===> Attribute inputAntennaNames More... | |
void | setInputAntennaNames (std::vector< std::string > inputAntennaNames) |
Set inputAntennaNames with the specified std::vector<std::string >. More... | |
int | getNumChan () const |
===> Attribute numChan More... | |
void | setNumChan (int numChan) |
Set numChan with the specified int. More... | |
std::vector< Frequency > | getChanFreq () const |
===> Attribute chanFreq More... | |
void | setChanFreq (std::vector< Frequency > chanFreq) |
Set chanFreq with the specified std::vector<Frequency >. More... | |
std::vector< Frequency > | getChanWidth () const |
===> Attribute chanWidth More... | |
void | setChanWidth (std::vector< Frequency > chanWidth) |
Set chanWidth with the specified std::vector<Frequency >. 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... | |
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< Frequency > | getPolyFreqLimits () const |
===> Attribute polyFreqLimits More... | |
void | setPolyFreqLimits (std::vector< Frequency > polyFreqLimits) |
Set polyFreqLimits with the specified std::vector<Frequency >. More... | |
std::vector< float > | getWetPath () const |
===> Attribute wetPath More... | |
void | setWetPath (std::vector< float > wetPath) |
Set wetPath with the specified std::vector<float >. More... | |
std::vector< float > | getDryPath () const |
===> Attribute dryPath More... | |
void | setDryPath (std::vector< float > dryPath) |
Set dryPath with the specified std::vector<float >. More... | |
Length | getWater () const |
===> Attribute water More... | |
void | setWater (Length water) |
Set water with the specified Length. More... | |
void | setCalDataId (Tag calDataId) |
Set calDataId with the specified Tag. More... | |
Tag | getCalReductionId () const |
===> Attribute calReductionId More... | |
void | setCalReductionId (Tag calReductionId) |
Set calReductionId with the specified Tag. More... | |
Links *CalDataRow * | getCalDataUsingCalDataId () |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId More... | |
CalReductionRow * | getCalReductionUsingCalReductionId () |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId More... | |
bool | compareNoAutoInc (std::string antennaName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, int numInputAntennas, std::vector< std::string > inputAntennaNames, int numChan, std::vector< Frequency > chanFreq, std::vector< Frequency > chanWidth, std::vector< std::vector< Temperature > > refTemp, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< Frequency > polyFreqLimits, std::vector< float > wetPath, std::vector< float > dryPath, Length water) |
Compare each mandatory attribute except the autoincrementable one of this CalWVRRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, int numInputAntennas, std::vector< std::string > inputAntennaNames, int numChan, std::vector< Frequency > chanFreq, std::vector< Frequency > chanWidth, std::vector< std::vector< Temperature > > refTemp, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< Frequency > polyFreqLimits, std::vector< float > wetPath, std::vector< float > dryPath, Length water) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalWVRRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalWVRRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalWVRRowIDL &x) const |
Define the content of a CalWVRRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalWVRRowIDL x) |
Fill the values of this row from the IDL struct CalWVRRowIDL. 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... | |
CalWVRRow (CalWVRTable &table) | |
Create a CalWVRRow. More... | |
CalWVRRow (CalWVRTable &table, CalWVRRow *row) | |
Create a CalWVRRow using a copy constructor mechanism. More... | |
void | antennaNameFromBin (EndianIStream &eis) |
void | calDataIdFromBin (EndianIStream &eis) |
void | calReductionIdFromBin (EndianIStream &eis) |
void | startValidTimeFromBin (EndianIStream &eis) |
void | endValidTimeFromBin (EndianIStream &eis) |
void | wvrMethodFromBin (EndianIStream &eis) |
void | numInputAntennasFromBin (EndianIStream &eis) |
void | inputAntennaNamesFromBin (EndianIStream &eis) |
void | numChanFromBin (EndianIStream &eis) |
void | chanFreqFromBin (EndianIStream &eis) |
void | chanWidthFromBin (EndianIStream &eis) |
void | refTempFromBin (EndianIStream &eis) |
void | numPolyFromBin (EndianIStream &eis) |
void | pathCoeffFromBin (EndianIStream &eis) |
void | polyFreqLimitsFromBin (EndianIStream &eis) |
void | wetPathFromBin (EndianIStream &eis) |
void | dryPathFromBin (EndianIStream &eis) |
void | waterFromBin (EndianIStream &eis) |
void | antennaNameFromText (const std::string &s) |
void | calDataIdFromText (const std::string &s) |
void | calReductionIdFromText (const std::string &s) |
void | startValidTimeFromText (const std::string &s) |
void | endValidTimeFromText (const std::string &s) |
void | wvrMethodFromText (const std::string &s) |
void | numInputAntennasFromText (const std::string &s) |
void | inputAntennaNamesFromText (const std::string &s) |
void | numChanFromText (const std::string &s) |
void | chanFreqFromText (const std::string &s) |
void | chanWidthFromText (const std::string &s) |
void | refTempFromText (const std::string &s) |
void | numPolyFromText (const std::string &s) |
void | pathCoeffFromText (const std::string &s) |
void | polyFreqLimitsFromText (const std::string &s) |
void | wetPathFromText (const std::string &s) |
void | dryPathFromText (const std::string &s) |
void | waterFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CalWVRTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
ArrayTime | endValidTime |
===> Attribute endValidTime More... | |
WVRMethodMod::WVRMethod | wvrMethod |
===> Attribute wvrMethod More... | |
std::string | antennaName |
===> Attribute antennaName More... | |
int | numInputAntennas |
===> Attribute numInputAntennas More... | |
std::vector< std::string > | inputAntennaNames |
===> Attribute inputAntennaNames More... | |
int | numChan |
===> Attribute numChan More... | |
std::vector< Frequency > | chanFreq |
===> Attribute chanFreq More... | |
std::vector< Frequency > | chanWidth |
===> Attribute chanWidth More... | |
std::vector< std::vector < Temperature > > | refTemp |
===> Attribute refTemp More... | |
int | numPoly |
===> Attribute numPoly More... | |
std::vector< std::vector < std::vector< float > > > | pathCoeff |
===> Attribute pathCoeff More... | |
std::vector< Frequency > | polyFreqLimits |
===> Attribute polyFreqLimits More... | |
std::vector< float > | wetPath |
===> Attribute wetPath More... | |
std::vector< float > | dryPath |
===> Attribute dryPath More... | |
Length | water |
===> Attribute water More... | |
Tag | calReductionId |
===> Attribute calReductionId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalWVRAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalWVRAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalWVRTable |
class | asdm::RowTransformer< CalWVRRow > |
The CalWVRRow class is a row of a CalWVRTable.
Generated from model's revision "-1", branch ""
Definition at line 142 of file CalWVRRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalWVRTable, CalWVRRow>;
|
private |
Create a CalWVRRow.
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 CalWVRRow using a copy constructor mechanism.
Given a CalWVRRow row and a CalWVRTable table, the method creates a new CalWVRRow 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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool asdm::CalWVRRow::compareNoAutoInc | ( | std::string | antennaName, |
Tag | calDataId, | ||
Tag | calReductionId, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
WVRMethodMod::WVRMethod | wvrMethod, | ||
int | numInputAntennas, | ||
std::vector< std::string > | inputAntennaNames, | ||
int | numChan, | ||
std::vector< Frequency > | chanFreq, | ||
std::vector< Frequency > | chanWidth, | ||
std::vector< std::vector< Temperature > > | refTemp, | ||
int | numPoly, | ||
std::vector< std::vector< std::vector< float > > > | pathCoeff, | ||
std::vector< Frequency > | polyFreqLimits, | ||
std::vector< float > | wetPath, | ||
std::vector< float > | dryPath, | ||
Length | water | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalWVRRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaName | |
calDataId | |
calReductionId | |
startValidTime | |
endValidTime | |
wvrMethod | |
numInputAntennas | |
inputAntennaNames | |
numChan | |
chanFreq | |
chanWidth | |
refTemp | |
numPoly | |
pathCoeff | |
polyFreqLimits | |
wetPath | |
dryPath | |
water |
bool asdm::CalWVRRow::compareRequiredValue | ( | ArrayTime | startValidTime, |
ArrayTime | endValidTime, | ||
WVRMethodMod::WVRMethod | wvrMethod, | ||
int | numInputAntennas, | ||
std::vector< std::string > | inputAntennaNames, | ||
int | numChan, | ||
std::vector< Frequency > | chanFreq, | ||
std::vector< Frequency > | chanWidth, | ||
std::vector< std::vector< Temperature > > | refTemp, | ||
int | numPoly, | ||
std::vector< std::vector< std::vector< float > > > | pathCoeff, | ||
std::vector< Frequency > | polyFreqLimits, | ||
std::vector< float > | wetPath, | ||
std::vector< float > | dryPath, | ||
Length | water | ||
) |
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.
startValidTime | |
endValidTime | |
wvrMethod | |
numInputAntennas | |
inputAntennaNames | |
numChan | |
chanFreq | |
chanWidth | |
refTemp | |
numPoly | |
pathCoeff | |
polyFreqLimits | |
wetPath | |
dryPath | |
water |
|
private |
|
private |
|
private |
|
private |
bool asdm::CalWVRRow::equalByRequiredValue | ( | CalWVRRow * | 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 CalWVRRow whose required attributes of the value part will be compared with those of this. |
std::string asdm::CalWVRRow::getAntennaName | ( | ) | const |
===> Attribute antennaName
Get antennaName.
Links* CalDataRow* asdm::CalWVRRow::getCalDataUsingCalDataId | ( | ) |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
Tag asdm::CalWVRRow::getCalReductionId | ( | ) | const |
CalReductionRow* asdm::CalWVRRow::getCalReductionUsingCalReductionId | ( | ) |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
std::vector<Frequency > asdm::CalWVRRow::getChanFreq | ( | ) | const |
===> Attribute chanFreq
Get chanFreq.
std::vector<Frequency > asdm::CalWVRRow::getChanWidth | ( | ) | const |
===> Attribute chanWidth
Get chanWidth.
std::vector<float > asdm::CalWVRRow::getDryPath | ( | ) | const |
===> Attribute dryPath
Get dryPath.
ArrayTime asdm::CalWVRRow::getEndValidTime | ( | ) | const |
std::vector<std::string > asdm::CalWVRRow::getInputAntennaNames | ( | ) | const |
===> Attribute inputAntennaNames
Get inputAntennaNames.
int asdm::CalWVRRow::getNumChan | ( | ) | const |
===> Attribute numChan
Get numChan.
int asdm::CalWVRRow::getNumInputAntennas | ( | ) | const |
===> Attribute numInputAntennas
Get numInputAntennas.
int asdm::CalWVRRow::getNumPoly | ( | ) | const |
===> Attribute numPoly
Get numPoly.
std::vector<std::vector<std::vector<float > > > asdm::CalWVRRow::getPathCoeff | ( | ) | const |
===> Attribute pathCoeff
Get pathCoeff.
std::vector<Frequency > asdm::CalWVRRow::getPolyFreqLimits | ( | ) | const |
===> Attribute polyFreqLimits
Get polyFreqLimits.
std::vector<std::vector<Temperature > > asdm::CalWVRRow::getRefTemp | ( | ) | const |
===> Attribute refTemp
Get refTemp.
CalWVRTable& asdm::CalWVRRow::getTable | ( | ) | const |
Return the table to which this row belongs.
std::vector<float > asdm::CalWVRRow::getWetPath | ( | ) | const |
===> Attribute wetPath
Get wetPath.
WVRMethodMod::WVRMethod asdm::CalWVRRow::getWvrMethod | ( | ) | const |
===> Attribute wvrMethod
Get wvrMethod.
|
private |
|
private |
bool asdm::CalWVRRow::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::CalWVRRow::setAntennaName | ( | std::string | antennaName | ) |
Set antennaName with the specified std::string.
antennaName | The std::string value to which antennaName is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalWVRRow::setCalDataId | ( | Tag | calDataId | ) |
Set calDataId with the specified Tag.
calDataId | The Tag value to which calDataId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalWVRRow::setCalReductionId | ( | Tag | calReductionId | ) |
Set calReductionId with the specified Tag.
calReductionId | The Tag value to which calReductionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalWVRRow::setChanFreq | ( | std::vector< Frequency > | chanFreq | ) |
Set chanFreq with the specified std::vector<Frequency >.
chanFreq | The std::vector<Frequency > value to which chanFreq is to be set. |
void asdm::CalWVRRow::setChanWidth | ( | std::vector< Frequency > | chanWidth | ) |
Set chanWidth with the specified std::vector<Frequency >.
chanWidth | The std::vector<Frequency > value to which chanWidth is to be set. |
void asdm::CalWVRRow::setDryPath | ( | std::vector< float > | dryPath | ) |
Set dryPath with the specified std::vector<float >.
dryPath | The std::vector<float > value to which dryPath is to be set. |
void asdm::CalWVRRow::setEndValidTime | ( | ArrayTime | endValidTime | ) |
void asdm::CalWVRRow::setFromIDL | ( | asdmIDL::CalWVRRowIDL | x | ) |
Fill the values of this row from the IDL struct CalWVRRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalWVRRow::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::CalWVRRow::setInputAntennaNames | ( | std::vector< std::string > | inputAntennaNames | ) |
Set inputAntennaNames with the specified std::vector<std::string >.
inputAntennaNames | The std::vector<std::string > value to which inputAntennaNames is to be set. |
void asdm::CalWVRRow::setNumChan | ( | int | numChan | ) |
Set numChan with the specified int.
numChan | The int value to which numChan is to be set. |
void asdm::CalWVRRow::setNumInputAntennas | ( | int | numInputAntennas | ) |
Set numInputAntennas with the specified int.
numInputAntennas | The int value to which numInputAntennas is to be set. |
void asdm::CalWVRRow::setNumPoly | ( | int | numPoly | ) |
Set numPoly with the specified int.
numPoly | The int value to which numPoly is to be set. |
void asdm::CalWVRRow::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::CalWVRRow::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::CalWVRRow::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::CalWVRRow::setStartValidTime | ( | ArrayTime | startValidTime | ) |
void asdm::CalWVRRow::setWater | ( | Length | water | ) |
void asdm::CalWVRRow::setWetPath | ( | std::vector< float > | wetPath | ) |
Set wetPath with the specified std::vector<float >.
wetPath | The std::vector<float > value to which wetPath is to be set. |
void asdm::CalWVRRow::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 |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::CalWVRRowIDL* asdm::CalWVRRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalWVRRow::toIDL | ( | asdmIDL::CalWVRRowIDL & | x | ) | const |
Define the content of a CalWVRRowIDL struct from the values found in this row.
x | a reference to the CalWVRRowIDL struct to be set. |
std::string asdm::CalWVRRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
friend |
Definition at line 143 of file CalWVRRow.h.
|
friend |
Definition at line 144 of file CalWVRRow.h.
|
private |
===> Attribute antennaName
Definition at line 1017 of file CalWVRRow.h.
Extrinsic Table asdm::CalWVRRow::Attributes |
Definition at line 167 of file CalWVRRow.h.
Extrinsic Table asdm::CalWVRRow::Attributes |
Definition at line 653 of file CalWVRRow.h.
|
private |
===> Attribute calReductionId
Definition at line 1175 of file CalWVRRow.h.
|
private |
===> Attribute chanFreq
Definition at line 1061 of file CalWVRRow.h.
|
private |
===> Attribute chanWidth
Definition at line 1072 of file CalWVRRow.h.
|
private |
===> Attribute dryPath
Definition at line 1138 of file CalWVRRow.h.
|
private |
===> Attribute endValidTime
Definition at line 995 of file CalWVRRow.h.
|
private |
Definition at line 1204 of file CalWVRRow.h.
|
private |
Definition at line 1230 of file CalWVRRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 940 of file CalWVRRow.h.
|
private |
===> Attribute inputAntennaNames
Definition at line 1039 of file CalWVRRow.h.
|
private |
===> Attribute numChan
Definition at line 1050 of file CalWVRRow.h.
|
private |
===> Attribute numInputAntennas
Definition at line 1028 of file CalWVRRow.h.
|
private |
===> Attribute numPoly
Definition at line 1094 of file CalWVRRow.h.
|
private |
===> Attribute pathCoeff
Definition at line 1105 of file CalWVRRow.h.
|
private |
===> Attribute polyFreqLimits
Definition at line 1116 of file CalWVRRow.h.
|
private |
===> Attribute refTemp
Definition at line 1083 of file CalWVRRow.h.
|
private |
The table to which this row belongs.
Definition at line 936 of file CalWVRRow.h.
|
private |
===> Attribute water
Definition at line 1149 of file CalWVRRow.h.
|
private |
===> Attribute wetPath
Definition at line 1127 of file CalWVRRow.h.
|
private |
===> Attribute wvrMethod
Definition at line 1006 of file CalWVRRow.h.