casa
5.7.0-16
|
The SeeingRow class is a row of a SeeingTable. More...
#include <SeeingRow.h>
Public Member Functions | |
virtual | ~SeeingRow () |
friend class asdm::TableStreamReader<SeeingTable, SeeingRow>; More... | |
SeeingTable & | 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 | getNumBaseLength () const |
===> Attribute numBaseLength More... | |
void | setNumBaseLength (int numBaseLength) |
Set numBaseLength with the specified int. More... | |
std::vector< Length > | getBaseLength () const |
===> Attribute baseLength More... | |
void | setBaseLength (std::vector< Length > baseLength) |
Set baseLength with the specified std::vector<Length >. More... | |
std::vector< Angle > | getPhaseRms () const |
===> Attribute phaseRms More... | |
void | setPhaseRms (std::vector< Angle > phaseRms) |
Set phaseRms with the specified std::vector<Angle >. More... | |
float | getSeeing () const |
===> Attribute seeing More... | |
void | setSeeing (float seeing) |
Set seeing with the specified float. More... | |
float | getExponent () const |
===> Attribute exponent More... | |
void | setExponent (float exponent) |
Set exponent with the specified float. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTimeInterval timeInterval, int numBaseLength, std::vector< Length > baseLength, std::vector< Angle > phaseRms, float seeing, float exponent) |
Compare each mandatory attribute except the autoincrementable one of this SeeingRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int numBaseLength, std::vector< Length > baseLength, std::vector< Angle > phaseRms, float seeing, float exponent) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (SeeingRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::SeeingRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::SeeingRowIDL &x) const |
Define the content of a SeeingRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::SeeingRowIDL x) |
Fill the values of this row from the IDL struct SeeingRowIDL. 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 |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
SeeingRow (SeeingTable &table) | |
Create a SeeingRow. More... | |
SeeingRow (SeeingTable &table, SeeingRow *row) | |
Create a SeeingRow using a copy constructor mechanism. More... | |
void | timeIntervalFromBin (EndianIStream &eis) |
void | numBaseLengthFromBin (EndianIStream &eis) |
void | baseLengthFromBin (EndianIStream &eis) |
void | phaseRmsFromBin (EndianIStream &eis) |
void | seeingFromBin (EndianIStream &eis) |
void | exponentFromBin (EndianIStream &eis) |
void | timeIntervalFromText (const std::string &s) |
void | numBaseLengthFromText (const std::string &s) |
void | baseLengthFromText (const std::string &s) |
void | phaseRmsFromText (const std::string &s) |
void | seeingFromText (const std::string &s) |
void | exponentFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
SeeingTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numBaseLength |
===> Attribute numBaseLength More... | |
std::vector< Length > | baseLength |
===> Attribute baseLength More... | |
std::vector< Angle > | phaseRms |
===> Attribute phaseRms More... | |
float | seeing |
===> Attribute seeing More... | |
float | exponent |
===> Attribute exponent More... | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SeeingAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, SeeingAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::SeeingTable |
class | asdm::RowTransformer< SeeingRow > |
The SeeingRow class is a row of a SeeingTable.
Generated from model's revision "-1", branch ""
Definition at line 106 of file SeeingRow.h.
|
virtual |
friend class asdm::TableStreamReader<SeeingTable, SeeingRow>;
|
private |
Create a SeeingRow.
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 SeeingRow using a copy constructor mechanism.
Given a SeeingRow row and a SeeingTable table, the method creates a new SeeingRow 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 |
Extrinsic Table Attributes Links* bool asdm::SeeingRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, |
int | numBaseLength, | ||
std::vector< Length > | baseLength, | ||
std::vector< Angle > | phaseRms, | ||
float | seeing, | ||
float | exponent | ||
) |
Compare each mandatory attribute except the autoincrementable one of this SeeingRow with the corresponding parameters and return true if there is a match and false otherwise.
timeInterval | |
numBaseLength | |
baseLength | |
phaseRms | |
seeing | |
exponent |
bool asdm::SeeingRow::compareRequiredValue | ( | int | numBaseLength, |
std::vector< Length > | baseLength, | ||
std::vector< Angle > | phaseRms, | ||
float | seeing, | ||
float | exponent | ||
) |
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.
numBaseLength | |
baseLength | |
phaseRms | |
seeing | |
exponent |
bool asdm::SeeingRow::equalByRequiredValue | ( | SeeingRow * | 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 SeeingRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
std::vector<Length > asdm::SeeingRow::getBaseLength | ( | ) | const |
===> Attribute baseLength
Get baseLength.
float asdm::SeeingRow::getExponent | ( | ) | const |
===> Attribute exponent
Get exponent.
int asdm::SeeingRow::getNumBaseLength | ( | ) | const |
===> Attribute numBaseLength
Get numBaseLength.
std::vector<Angle > asdm::SeeingRow::getPhaseRms | ( | ) | const |
===> Attribute phaseRms
Get phaseRms.
float asdm::SeeingRow::getSeeing | ( | ) | const |
===> Attribute seeing
Get seeing.
SeeingTable& asdm::SeeingRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::SeeingRow::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 |
void asdm::SeeingRow::setBaseLength | ( | std::vector< Length > | baseLength | ) |
Set baseLength with the specified std::vector<Length >.
baseLength | The std::vector<Length > value to which baseLength is to be set. |
void asdm::SeeingRow::setExponent | ( | float | exponent | ) |
Set exponent with the specified float.
exponent | The float value to which exponent is to be set. |
void asdm::SeeingRow::setFromIDL | ( | asdmIDL::SeeingRowIDL | x | ) |
Fill the values of this row from the IDL struct SeeingRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::SeeingRow::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::SeeingRow::setNumBaseLength | ( | int | numBaseLength | ) |
Set numBaseLength with the specified int.
numBaseLength | The int value to which numBaseLength is to be set. |
void asdm::SeeingRow::setPhaseRms | ( | std::vector< Angle > | phaseRms | ) |
Set phaseRms with the specified std::vector<Angle >.
phaseRms | The std::vector<Angle > value to which phaseRms is to be set. |
void asdm::SeeingRow::setSeeing | ( | float | seeing | ) |
Set seeing with the specified float.
seeing | The float value to which seeing is to be set. |
void asdm::SeeingRow::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 |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::SeeingRowIDL* asdm::SeeingRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::SeeingRow::toIDL | ( | asdmIDL::SeeingRowIDL & | x | ) | const |
Define the content of a SeeingRowIDL struct from the values found in this row.
x | a reference to the SeeingRowIDL struct to be set. |
std::string asdm::SeeingRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 108 of file SeeingRow.h.
|
friend |
Definition at line 107 of file SeeingRow.h.
Intrinsic Table asdm::SeeingRow::Attributes |
Definition at line 131 of file SeeingRow.h.
|
private |
===> Attribute baseLength
Definition at line 520 of file SeeingRow.h.
|
private |
===> Attribute exponent
Definition at line 553 of file SeeingRow.h.
|
private |
Definition at line 572 of file SeeingRow.h.
|
private |
Definition at line 586 of file SeeingRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 454 of file SeeingRow.h.
|
private |
===> Attribute numBaseLength
Definition at line 509 of file SeeingRow.h.
|
private |
===> Attribute phaseRms
Definition at line 531 of file SeeingRow.h.
|
private |
===> Attribute seeing
Definition at line 542 of file SeeingRow.h.
|
private |
The table to which this row belongs.
Definition at line 450 of file SeeingRow.h.