casa
5.7.0-16
|
The CalDeviceRow class is a row of a CalDeviceTable. More...
#include <CalDeviceRow.h>
Public Member Functions | |
virtual | ~CalDeviceRow () |
friend class asdm::TableStreamReader<CalDeviceTable, CalDeviceRow>; More... | |
CalDeviceTable & | 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 | getNumCalload () const |
===> Attribute numCalload More... | |
void | setNumCalload (int numCalload) |
Set numCalload with the specified int. More... | |
std::vector < CalibrationDeviceMod::CalibrationDevice > | getCalLoadNames () const |
===> Attribute calLoadNames More... | |
void | setCalLoadNames (std::vector< CalibrationDeviceMod::CalibrationDevice > calLoadNames) |
Set calLoadNames with the specified std::vector<CalibrationDeviceMod::CalibrationDevice >. More... | |
bool | isNumReceptorExists () const |
===> Attribute numReceptor, which is optional More... | |
int | getNumReceptor () const |
Get numReceptor, which is optional. More... | |
void | setNumReceptor (int numReceptor) |
Set numReceptor with the specified int. More... | |
void | clearNumReceptor () |
Mark numReceptor, which is an optional field, as non-existent. More... | |
bool | isCalEffExists () const |
===> Attribute calEff, which is optional More... | |
std::vector< std::vector< float > > | getCalEff () const |
Get calEff, which is optional. More... | |
void | setCalEff (std::vector< std::vector< float > > calEff) |
Set calEff with the specified std::vector<std::vector<float > >. More... | |
void | clearCalEff () |
Mark calEff, which is an optional field, as non-existent. More... | |
bool | isNoiseCalExists () const |
===> Attribute noiseCal, which is optional More... | |
std::vector< double > | getNoiseCal () const |
Get noiseCal, which is optional. More... | |
void | setNoiseCal (std::vector< double > noiseCal) |
Set noiseCal with the specified std::vector<double >. More... | |
void | clearNoiseCal () |
Mark noiseCal, which is an optional field, as non-existent. More... | |
bool | isCoupledNoiseCalExists () const |
===> Attribute coupledNoiseCal, which is optional More... | |
std::vector< std::vector< float > > | getCoupledNoiseCal () const |
Get coupledNoiseCal, which is optional. More... | |
void | setCoupledNoiseCal (std::vector< std::vector< float > > coupledNoiseCal) |
Set coupledNoiseCal with the specified std::vector<std::vector<float > >. More... | |
void | clearCoupledNoiseCal () |
Mark coupledNoiseCal, which is an optional field, as non-existent. More... | |
bool | isTemperatureLoadExists () const |
===> Attribute temperatureLoad, which is optional More... | |
std::vector< Temperature > | getTemperatureLoad () const |
Get temperatureLoad, which is optional. More... | |
void | setTemperatureLoad (std::vector< Temperature > temperatureLoad) |
Set temperatureLoad with the specified std::vector<Temperature >. More... | |
void | clearTemperatureLoad () |
Mark temperatureLoad, 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 CalDevice table to a collection of row of Feed table. More... | |
bool | compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numCalload, std::vector< CalibrationDeviceMod::CalibrationDevice > calLoadNames) |
Compare each mandatory attribute except the autoincrementable one of this CalDeviceRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int numCalload, std::vector< CalibrationDeviceMod::CalibrationDevice > calLoadNames) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalDeviceRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalDeviceRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalDeviceRowIDL &x) const |
Define the content of a CalDeviceRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalDeviceRowIDL x) |
Fill the values of this row from the IDL struct CalDeviceRowIDL. 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... | |
CalDeviceRow (CalDeviceTable &table) | |
Create a CalDeviceRow. More... | |
CalDeviceRow (CalDeviceTable &table, CalDeviceRow *row) | |
Create a CalDeviceRow using a copy constructor mechanism. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | spectralWindowIdFromBin (EndianIStream &eis) |
void | timeIntervalFromBin (EndianIStream &eis) |
void | feedIdFromBin (EndianIStream &eis) |
void | numCalloadFromBin (EndianIStream &eis) |
void | calLoadNamesFromBin (EndianIStream &eis) |
void | numReceptorFromBin (EndianIStream &eis) |
void | calEffFromBin (EndianIStream &eis) |
void | noiseCalFromBin (EndianIStream &eis) |
void | coupledNoiseCalFromBin (EndianIStream &eis) |
void | temperatureLoadFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | spectralWindowIdFromText (const std::string &s) |
void | timeIntervalFromText (const std::string &s) |
void | feedIdFromText (const std::string &s) |
void | numCalloadFromText (const std::string &s) |
void | calLoadNamesFromText (const std::string &s) |
void | numReceptorFromText (const std::string &s) |
void | calEffFromText (const std::string &s) |
void | noiseCalFromText (const std::string &s) |
void | coupledNoiseCalFromText (const std::string &s) |
void | temperatureLoadFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CalDeviceTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numCalload |
===> Attribute numCalload More... | |
std::vector < CalibrationDeviceMod::CalibrationDevice > | calLoadNames |
===> Attribute calLoadNames More... | |
bool | numReceptorExists |
===> Attribute numReceptor, which is optional More... | |
int | numReceptor |
bool | calEffExists |
===> Attribute calEff, which is optional More... | |
std::vector< std::vector< float > > | calEff |
bool | noiseCalExists |
===> Attribute noiseCal, which is optional More... | |
std::vector< double > | noiseCal |
bool | coupledNoiseCalExists |
===> Attribute coupledNoiseCal, which is optional More... | |
std::vector< std::vector< float > > | coupledNoiseCal |
bool | temperatureLoadExists |
===> Attribute temperatureLoad, which is optional More... | |
std::vector< Temperature > | temperatureLoad |
int | feedId |
===> Attribute feedId More... | |
Tag | spectralWindowId |
===> Attribute spectralWindowId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalDeviceAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalDeviceAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalDeviceTable |
class | asdm::RowTransformer< CalDeviceRow > |
The CalDeviceRow class is a row of a CalDeviceTable.
Generated from model's revision "-1", branch ""
Definition at line 121 of file CalDeviceRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalDeviceTable, CalDeviceRow>;
|
private |
Create a CalDeviceRow.
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 CalDeviceRow using a copy constructor mechanism.
Given a CalDeviceRow row and a CalDeviceTable table, the method creates a new CalDeviceRow 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 |
void asdm::CalDeviceRow::clearCalEff | ( | ) |
Mark calEff, which is an optional field, as non-existent.
void asdm::CalDeviceRow::clearCoupledNoiseCal | ( | ) |
Mark coupledNoiseCal, which is an optional field, as non-existent.
void asdm::CalDeviceRow::clearNoiseCal | ( | ) |
Mark noiseCal, which is an optional field, as non-existent.
void asdm::CalDeviceRow::clearNumReceptor | ( | ) |
Mark numReceptor, which is an optional field, as non-existent.
void asdm::CalDeviceRow::clearTemperatureLoad | ( | ) |
Mark temperatureLoad, which is an optional field, as non-existent.
bool asdm::CalDeviceRow::compareNoAutoInc | ( | Tag | antennaId, |
Tag | spectralWindowId, | ||
ArrayTimeInterval | timeInterval, | ||
int | feedId, | ||
int | numCalload, | ||
std::vector< CalibrationDeviceMod::CalibrationDevice > | calLoadNames | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalDeviceRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
spectralWindowId | |
timeInterval | |
feedId | |
numCalload | |
calLoadNames |
bool asdm::CalDeviceRow::compareRequiredValue | ( | int | numCalload, |
std::vector< CalibrationDeviceMod::CalibrationDevice > | calLoadNames | ||
) |
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.
numCalload | |
calLoadNames |
|
private |
|
private |
bool asdm::CalDeviceRow::equalByRequiredValue | ( | CalDeviceRow * | 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 CalDeviceRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
Links* AntennaRow* asdm::CalDeviceRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
std::vector<std::vector<float > > asdm::CalDeviceRow::getCalEff | ( | ) | const |
Get calEff, which is optional.
IllegalAccessException | If calEff does not exist. |
std::vector<CalibrationDeviceMod::CalibrationDevice > asdm::CalDeviceRow::getCalLoadNames | ( | ) | const |
===> Attribute calLoadNames
Get calLoadNames.
std::vector<std::vector<float > > asdm::CalDeviceRow::getCoupledNoiseCal | ( | ) | const |
Get coupledNoiseCal, which is optional.
IllegalAccessException | If coupledNoiseCal does not exist. |
int asdm::CalDeviceRow::getFeedId | ( | ) | const |
===> Attribute feedId
Get feedId.
std::vector<FeedRow *> asdm::CalDeviceRow::getFeeds | ( | ) |
===> Slice link from a row of CalDevice table to a collection of row of Feed table.
Get the collection of row in the Feed table having feedId == this.feedId
std::vector<double > asdm::CalDeviceRow::getNoiseCal | ( | ) | const |
Get noiseCal, which is optional.
IllegalAccessException | If noiseCal does not exist. |
int asdm::CalDeviceRow::getNumCalload | ( | ) | const |
===> Attribute numCalload
Get numCalload.
int asdm::CalDeviceRow::getNumReceptor | ( | ) | const |
Get numReceptor, which is optional.
IllegalAccessException | If numReceptor does not exist. |
Tag asdm::CalDeviceRow::getSpectralWindowId | ( | ) | const |
SpectralWindowRow* asdm::CalDeviceRow::getSpectralWindowUsingSpectralWindowId | ( | ) |
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
CalDeviceTable& asdm::CalDeviceRow::getTable | ( | ) | const |
Return the table to which this row belongs.
std::vector<Temperature > asdm::CalDeviceRow::getTemperatureLoad | ( | ) | const |
Get temperatureLoad, which is optional.
IllegalAccessException | If temperatureLoad does not exist. |
bool asdm::CalDeviceRow::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::CalDeviceRow::isCalEffExists | ( | ) | const |
===> Attribute calEff, which is optional
The attribute calEff is optional. Return true if this attribute exists.
bool asdm::CalDeviceRow::isCoupledNoiseCalExists | ( | ) | const |
===> Attribute coupledNoiseCal, which is optional
The attribute coupledNoiseCal is optional. Return true if this attribute exists.
bool asdm::CalDeviceRow::isNoiseCalExists | ( | ) | const |
===> Attribute noiseCal, which is optional
The attribute noiseCal is optional. Return true if this attribute exists.
bool asdm::CalDeviceRow::isNumReceptorExists | ( | ) | const |
===> Attribute numReceptor, which is optional
The attribute numReceptor is optional. Return true if this attribute exists.
bool asdm::CalDeviceRow::isTemperatureLoadExists | ( | ) | const |
===> Attribute temperatureLoad, which is optional
The attribute temperatureLoad is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::CalDeviceRow::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::CalDeviceRow::setCalEff | ( | std::vector< std::vector< float > > | calEff | ) |
Set calEff with the specified std::vector<std::vector<float > >.
calEff | The std::vector<std::vector<float > > value to which calEff is to be set. |
void asdm::CalDeviceRow::setCalLoadNames | ( | std::vector< CalibrationDeviceMod::CalibrationDevice > | calLoadNames | ) |
Set calLoadNames with the specified std::vector<CalibrationDeviceMod::CalibrationDevice >.
calLoadNames | The std::vector<CalibrationDeviceMod::CalibrationDevice > value to which calLoadNames is to be set. |
void asdm::CalDeviceRow::setCoupledNoiseCal | ( | std::vector< std::vector< float > > | coupledNoiseCal | ) |
Set coupledNoiseCal with the specified std::vector<std::vector<float > >.
coupledNoiseCal | The std::vector<std::vector<float > > value to which coupledNoiseCal is to be set. |
void asdm::CalDeviceRow::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::CalDeviceRow::setFromIDL | ( | asdmIDL::CalDeviceRowIDL | x | ) |
Fill the values of this row from the IDL struct CalDeviceRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalDeviceRow::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::CalDeviceRow::setNoiseCal | ( | std::vector< double > | noiseCal | ) |
Set noiseCal with the specified std::vector<double >.
noiseCal | The std::vector<double > value to which noiseCal is to be set. |
void asdm::CalDeviceRow::setNumCalload | ( | int | numCalload | ) |
Set numCalload with the specified int.
numCalload | The int value to which numCalload is to be set. |
void asdm::CalDeviceRow::setNumReceptor | ( | int | numReceptor | ) |
Set numReceptor with the specified int.
numReceptor | The int value to which numReceptor is to be set. |
void asdm::CalDeviceRow::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::CalDeviceRow::setTemperatureLoad | ( | std::vector< Temperature > | temperatureLoad | ) |
Set temperatureLoad with the specified std::vector<Temperature >.
temperatureLoad | The std::vector<Temperature > value to which temperatureLoad is to be set. |
void asdm::CalDeviceRow::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::CalDeviceRowIDL* asdm::CalDeviceRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalDeviceRow::toIDL | ( | asdmIDL::CalDeviceRowIDL & | x | ) | const |
Define the content of a CalDeviceRowIDL struct from the values found in this row.
x | a reference to the CalDeviceRowIDL struct to be set. |
std::string asdm::CalDeviceRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 122 of file CalDeviceRow.h.
|
friend |
Definition at line 123 of file CalDeviceRow.h.
Extrinsic Table asdm::CalDeviceRow::Attributes |
Definition at line 146 of file CalDeviceRow.h.
Extrinsic Table asdm::CalDeviceRow::Attributes |
Definition at line 447 of file CalDeviceRow.h.
|
private |
Definition at line 818 of file CalDeviceRow.h.
|
private |
===> Attribute calEff, which is optional
Definition at line 815 of file CalDeviceRow.h.
|
private |
===> Attribute calLoadNames
Definition at line 792 of file CalDeviceRow.h.
|
private |
Definition at line 844 of file CalDeviceRow.h.
|
private |
===> Attribute coupledNoiseCal, which is optional
Definition at line 841 of file CalDeviceRow.h.
|
private |
===> Attribute feedId
Definition at line 883 of file CalDeviceRow.h.
|
private |
Definition at line 929 of file CalDeviceRow.h.
|
private |
Definition at line 948 of file CalDeviceRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 726 of file CalDeviceRow.h.
|
private |
Definition at line 831 of file CalDeviceRow.h.
|
private |
===> Attribute noiseCal, which is optional
Definition at line 828 of file CalDeviceRow.h.
|
private |
===> Attribute numCalload
Definition at line 781 of file CalDeviceRow.h.
|
private |
Definition at line 805 of file CalDeviceRow.h.
|
private |
===> Attribute numReceptor, which is optional
Definition at line 802 of file CalDeviceRow.h.
|
private |
===> Attribute spectralWindowId
Definition at line 894 of file CalDeviceRow.h.
|
private |
The table to which this row belongs.
Definition at line 722 of file CalDeviceRow.h.
|
private |
Definition at line 857 of file CalDeviceRow.h.
|
private |
===> Attribute temperatureLoad, which is optional
Definition at line 854 of file CalDeviceRow.h.