34 #ifndef CalGainRow_CLASS
35 #define CalGainRow_CLASS
98 class CalReductionRow;
423 Tag getCalDataId()
const;
540 bool compareNoAutoInc(
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
float gain,
bool gainValid,
float fit,
float fitWeight,
bool totalGainValid,
float totalFit,
float totalFitWeight);
586 asdmIDL::CalGainRowIDL *
toIDL()
const;
595 void toIDL(asdmIDL::CalGainRowIDL& x)
const;
611 std::string
toXML()
const;
656 void fromText(
const std::string& attributeName,
const std::string& t);
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalGainAttributeFromBin > fromBinMethods
void startValidTimeFromBin(EndianIStream &eis)
void(CalGainRow::* CalGainAttributeFromBin)(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void setGain(float gain)
Set gain with the specified float.
void endValidTimeFromText(const std::string &s)
float totalFitWeight
===> Attribute totalFitWeight
float gain
===> Attribute gain
void fitWeightFromText(const std::string &s)
float getFitWeight() const
===> Attribute fitWeight
CalGainTable & table
The table to which this row belongs.
void totalGainValidFromBin(EndianIStream &eis)
virtual ~CalGainRow()
friend class asdm::TableStreamReader<CalGainTable, CalGainRow>;
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void gainFromText(const std::string &s)
void fitWeightFromBin(EndianIStream &eis)
*text deserialization material std::map< std::string, CalGainAttributeFromText > fromTextMethods
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.
void totalFitFromBin(EndianIStream &eis)
void gainFromBin(EndianIStream &eis)
Tag calReductionId
===> Attribute calReductionId
void calReductionIdFromText(const std::string &s)
void calDataIdFromBin(EndianIStream &eis)
void setGainValid(bool gainValid)
Set gainValid with the specified bool.
void setTotalFit(float totalFit)
Set totalFit with the specified float.
CalGainTable & getTable() const
Return the table to which this row belongs.
void totalGainValidFromText(const std::string &s)
bool getTotalGainValid() const
===> Attribute totalGainValid
bool totalGainValid
===> Attribute totalGainValid
void totalFitWeightFromBin(EndianIStream &eis)
The CalGainTable class is an Alma table.
bool gainValid
===> Attribute gainValid
void gainValidFromText(const std::string &s)
float totalFit
===> Attribute totalFit
bool isAdded() const
Has this row been added to its table ?
void(CalGainRow::* CalGainAttributeFromText)(const std::string &s)
void fitFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
float getTotalFit() const
===> Attribute totalFit
bool equalByRequiredValue(CalGainRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
ArrayTime endValidTime
===> Attribute endValidTime
ArrayTime getEndValidTime() const
===> Attribute endValidTime
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 corresp...
bool getGainValid() const
===> Attribute gainValid
void setFromIDL(asdmIDL::CalGainRowIDL x)
Fill the values of this row from the IDL struct CalGainRowIDL.
void setTotalFitWeight(float totalFitWeight)
Set totalFitWeight with the specified float.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
float getTotalFitWeight() const
===> Attribute totalFitWeight
void gainValidFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setTotalGainValid(bool totalGainValid)
Set totalGainValid with the specified bool.
CalGainRow(CalGainTable &table)
Create a CalGainRow.
Tag getCalReductionId() const
===> Attribute calReductionId
asdmIDL::CalGainRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void totalFitFromText(const std::string &s)
float getFit() const
===> Attribute fit
void endValidTimeFromBin(EndianIStream &eis)
void setFitWeight(float fitWeight)
Set fitWeight with the specified float.
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
The CalGainRow class is a row of a CalGainTable.
float fitWeight
===> Attribute fitWeight
The CalDataRow class is a row of a CalDataTable.
void calDataIdFromText(const std::string &s)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void fitFromBin(EndianIStream &eis)
float getGain() const
===> Attribute gain
void totalFitWeightFromText(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setFit(float fit)
Set fit with the specified float.
void startValidTimeFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
void calReductionIdFromBin(EndianIStream &eis)
float fit
===> Attribute fit