34 #ifndef SeeingRow_CLASS
35 #define SeeingRow_CLASS
378 asdmIDL::SeeingRowIDL *
toIDL()
const;
387 void toIDL(asdmIDL::SeeingRowIDL& x)
const;
403 std::string
toXML()
const;
443 void fromText(
const std::string& attributeName,
const std::string& t);
*text deserialization material std::map< std::string, SeeingAttributeFromText > fromTextMethods
SeeingTable & table
The table to which this row belongs.
void timeIntervalFromBin(EndianIStream &eis)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
int getNumBaseLength() const
===> Attribute numBaseLength
void numBaseLengthFromText(const std::string &s)
std::vector< Angle > phaseRms
===> Attribute phaseRms
void(SeeingRow::* SeeingAttributeFromBin)(EndianIStream &eis)
void timeIntervalFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool equalByRequiredValue(SeeingRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
float getExponent() const
===> Attribute exponent
SeeingTable & getTable() const
Return the table to which this row belongs.
void numBaseLengthFromBin(EndianIStream &eis)
bool isAdded() const
Has this row been added to its table ?
void baseLengthFromText(const std::string &s)
void setExponent(float exponent)
Set exponent with the specified float.
float seeing
===> Attribute seeing
void exponentFromText(const std::string &s)
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 correspo...
float exponent
===> Attribute exponent
void(SeeingRow::* SeeingAttributeFromText)(const std::string &s)
std::vector< Angle > getPhaseRms() const
===> Attribute phaseRms
void setPhaseRms(std::vector< Angle > phaseRms)
Set phaseRms with the specified std::vector<Angle >.
int numBaseLength
===> Attribute numBaseLength
float getSeeing() const
===> Attribute seeing
The SeeingTable class is an Alma table.
std::vector< Length > baseLength
===> Attribute baseLength
void seeingFromBin(EndianIStream &eis)
void setSeeing(float seeing)
Set seeing with the specified float.
void seeingFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
The SeeingRow class is a row of a SeeingTable.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
bool hasBeenAdded
Whether this row has been added to the table or not.
std::vector< Length > getBaseLength() const
===> Attribute baseLength
void setNumBaseLength(int numBaseLength)
Set numBaseLength with the specified int.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void phaseRmsFromText(const std::string &s)
void phaseRmsFromBin(EndianIStream &eis)
bool compareRequiredValue(int numBaseLength, std::vector< Length > baseLength, std::vector< Angle > phaseRms, float seeing, float exponent)
Compare each mandatory value (i.e.
virtual ~SeeingRow()
friend class asdm::TableStreamReader<SeeingTable, SeeingRow>;
void setFromIDL(asdmIDL::SeeingRowIDL x)
Fill the values of this row from the IDL struct SeeingRowIDL.
void exponentFromBin(EndianIStream &eis)
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SeeingAttributeFromBin > fromBinMethods
void setBaseLength(std::vector< Length > baseLength)
Set baseLength with the specified std::vector<Length >.
SeeingRow(SeeingTable &table)
Create a SeeingRow.
void baseLengthFromBin(EndianIStream &eis)
asdmIDL::SeeingRowIDL * toIDL() const
Return this row in the form of an IDL struct.