casa
5.7.0-16
|
The CalGainRow class is a row of a CalGainTable. More...
#include <CalGainRow.h>
Public Member Functions | |
virtual | ~CalGainRow () |
friend class asdm::TableStreamReader<CalGainTable, CalGainRow>; More... | |
CalGainTable & | 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... | |
float | getGain () const |
===> Attribute gain More... | |
void | setGain (float gain) |
Set gain with the specified float. More... | |
bool | getGainValid () const |
===> Attribute gainValid More... | |
void | setGainValid (bool gainValid) |
Set gainValid with the specified bool. More... | |
float | getFit () const |
===> Attribute fit More... | |
void | setFit (float fit) |
Set fit with the specified float. More... | |
float | getFitWeight () const |
===> Attribute fitWeight More... | |
void | setFitWeight (float fitWeight) |
Set fitWeight with the specified float. More... | |
bool | getTotalGainValid () const |
===> Attribute totalGainValid More... | |
void | setTotalGainValid (bool totalGainValid) |
Set totalGainValid with the specified bool. More... | |
float | getTotalFit () const |
===> Attribute totalFit More... | |
void | setTotalFit (float totalFit) |
Set totalFit with the specified float. More... | |
float | getTotalFitWeight () const |
===> Attribute totalFitWeight More... | |
void | setTotalFitWeight (float totalFitWeight) |
Set totalFitWeight with the specified float. 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 *CalReductionRow * | getCalReductionUsingCalReductionId () |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId More... | |
CalDataRow * | getCalDataUsingCalDataId () |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId More... | |
bool | compareNoAutoInc (Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, float gain, bool gainValid, float fit, float fitWeight, bool totalGainValid, float totalFit, float totalFitWeight) |
Compare each mandatory attribute except the autoincrementable one of this CalGainRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, float gain, bool gainValid, float fit, float fitWeight, bool totalGainValid, float totalFit, float totalFitWeight) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalGainRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalGainRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalGainRowIDL &x) const |
Define the content of a CalGainRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalGainRowIDL x) |
Fill the values of this row from the IDL struct CalGainRowIDL. 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... | |
CalGainRow (CalGainTable &table) | |
Create a CalGainRow. More... | |
CalGainRow (CalGainTable &table, CalGainRow *row) | |
Create a CalGainRow using a copy constructor mechanism. More... | |
void | calDataIdFromBin (EndianIStream &eis) |
void | calReductionIdFromBin (EndianIStream &eis) |
void | startValidTimeFromBin (EndianIStream &eis) |
void | endValidTimeFromBin (EndianIStream &eis) |
void | gainFromBin (EndianIStream &eis) |
void | gainValidFromBin (EndianIStream &eis) |
void | fitFromBin (EndianIStream &eis) |
void | fitWeightFromBin (EndianIStream &eis) |
void | totalGainValidFromBin (EndianIStream &eis) |
void | totalFitFromBin (EndianIStream &eis) |
void | totalFitWeightFromBin (EndianIStream &eis) |
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 | gainFromText (const std::string &s) |
void | gainValidFromText (const std::string &s) |
void | fitFromText (const std::string &s) |
void | fitWeightFromText (const std::string &s) |
void | totalGainValidFromText (const std::string &s) |
void | totalFitFromText (const std::string &s) |
void | totalFitWeightFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CalGainTable & | 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... | |
float | gain |
===> Attribute gain More... | |
bool | gainValid |
===> Attribute gainValid More... | |
float | fit |
===> Attribute fit More... | |
float | fitWeight |
===> Attribute fitWeight More... | |
bool | totalGainValid |
===> Attribute totalGainValid More... | |
float | totalFit |
===> Attribute totalFit More... | |
float | totalFitWeight |
===> Attribute totalFitWeight More... | |
Tag | calReductionId |
===> Attribute calReductionId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalGainAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalGainAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalGainTable |
class | asdm::RowTransformer< CalGainRow > |
The CalGainRow class is a row of a CalGainTable.
Generated from model's revision "-1", branch ""
Definition at line 114 of file CalGainRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalGainTable, CalGainRow>;
|
private |
Create a CalGainRow.
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 CalGainRow using a copy constructor mechanism.
Given a CalGainRow row and a CalGainTable table, the method creates a new CalGainRow 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 |
bool asdm::CalGainRow::compareNoAutoInc | ( | Tag | calDataId, |
Tag | calReductionId, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
float | gain, | ||
bool | gainValid, | ||
float | fit, | ||
float | fitWeight, | ||
bool | totalGainValid, | ||
float | totalFit, | ||
float | totalFitWeight | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalGainRow with the corresponding parameters and return true if there is a match and false otherwise.
calDataId | |
calReductionId | |
startValidTime | |
endValidTime | |
gain | |
gainValid | |
fit | |
fitWeight | |
totalGainValid | |
totalFit | |
totalFitWeight |
bool asdm::CalGainRow::compareRequiredValue | ( | ArrayTime | startValidTime, |
ArrayTime | endValidTime, | ||
float | gain, | ||
bool | gainValid, | ||
float | fit, | ||
float | fitWeight, | ||
bool | totalGainValid, | ||
float | totalFit, | ||
float | totalFitWeight | ||
) |
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 | |
gain | |
gainValid | |
fit | |
fitWeight | |
totalGainValid | |
totalFit | |
totalFitWeight |
|
private |
|
private |
bool asdm::CalGainRow::equalByRequiredValue | ( | CalGainRow * | 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 CalGainRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
CalDataRow* asdm::CalGainRow::getCalDataUsingCalDataId | ( | ) |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
Tag asdm::CalGainRow::getCalReductionId | ( | ) | const |
Links* CalReductionRow* asdm::CalGainRow::getCalReductionUsingCalReductionId | ( | ) |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
ArrayTime asdm::CalGainRow::getEndValidTime | ( | ) | const |
float asdm::CalGainRow::getFit | ( | ) | const |
===> Attribute fit
Get fit.
float asdm::CalGainRow::getFitWeight | ( | ) | const |
===> Attribute fitWeight
Get fitWeight.
float asdm::CalGainRow::getGain | ( | ) | const |
===> Attribute gain
Get gain.
bool asdm::CalGainRow::getGainValid | ( | ) | const |
===> Attribute gainValid
Get gainValid.
CalGainTable& asdm::CalGainRow::getTable | ( | ) | const |
Return the table to which this row belongs.
float asdm::CalGainRow::getTotalFit | ( | ) | const |
===> Attribute totalFit
Get totalFit.
float asdm::CalGainRow::getTotalFitWeight | ( | ) | const |
===> Attribute totalFitWeight
Get totalFitWeight.
bool asdm::CalGainRow::getTotalGainValid | ( | ) | const |
===> Attribute totalGainValid
Get totalGainValid.
bool asdm::CalGainRow::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.
void asdm::CalGainRow::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::CalGainRow::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::CalGainRow::setEndValidTime | ( | ArrayTime | endValidTime | ) |
void asdm::CalGainRow::setFit | ( | float | fit | ) |
Set fit with the specified float.
fit | The float value to which fit is to be set. |
void asdm::CalGainRow::setFitWeight | ( | float | fitWeight | ) |
Set fitWeight with the specified float.
fitWeight | The float value to which fitWeight is to be set. |
void asdm::CalGainRow::setFromIDL | ( | asdmIDL::CalGainRowIDL | x | ) |
Fill the values of this row from the IDL struct CalGainRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalGainRow::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::CalGainRow::setGain | ( | float | gain | ) |
Set gain with the specified float.
gain | The float value to which gain is to be set. |
void asdm::CalGainRow::setGainValid | ( | bool | gainValid | ) |
Set gainValid with the specified bool.
gainValid | The bool value to which gainValid is to be set. |
void asdm::CalGainRow::setStartValidTime | ( | ArrayTime | startValidTime | ) |
void asdm::CalGainRow::setTotalFit | ( | float | totalFit | ) |
Set totalFit with the specified float.
totalFit | The float value to which totalFit is to be set. |
void asdm::CalGainRow::setTotalFitWeight | ( | float | totalFitWeight | ) |
Set totalFitWeight with the specified float.
totalFitWeight | The float value to which totalFitWeight is to be set. |
void asdm::CalGainRow::setTotalGainValid | ( | bool | totalGainValid | ) |
Set totalGainValid with the specified bool.
totalGainValid | The bool value to which totalGainValid 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::CalGainRowIDL* asdm::CalGainRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalGainRow::toIDL | ( | asdmIDL::CalGainRowIDL & | x | ) | const |
Define the content of a CalGainRowIDL struct from the values found in this row.
x | a reference to the CalGainRowIDL struct to be set. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
std::string asdm::CalGainRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 115 of file CalGainRow.h.
|
friend |
Definition at line 116 of file CalGainRow.h.
Extrinsic Table asdm::CalGainRow::Attributes |
Definition at line 139 of file CalGainRow.h.
Extrinsic Table asdm::CalGainRow::Attributes |
Definition at line 413 of file CalGainRow.h.
|
private |
===> Attribute calReductionId
Definition at line 825 of file CalGainRow.h.
|
private |
===> Attribute endValidTime
Definition at line 722 of file CalGainRow.h.
|
private |
===> Attribute fit
Definition at line 755 of file CalGainRow.h.
|
private |
===> Attribute fitWeight
Definition at line 766 of file CalGainRow.h.
|
private |
Definition at line 854 of file CalGainRow.h.
|
private |
Definition at line 873 of file CalGainRow.h.
|
private |
===> Attribute gain
Definition at line 733 of file CalGainRow.h.
|
private |
===> Attribute gainValid
Definition at line 744 of file CalGainRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 667 of file CalGainRow.h.
|
private |
The table to which this row belongs.
Definition at line 663 of file CalGainRow.h.
|
private |
===> Attribute totalFit
Definition at line 788 of file CalGainRow.h.
|
private |
===> Attribute totalFitWeight
Definition at line 799 of file CalGainRow.h.
|
private |
===> Attribute totalGainValid
Definition at line 777 of file CalGainRow.h.