34 #ifndef CalReductionRow_CLASS
35 #define CalReductionRow_CLASS
104 class CalReductionRow;
149 Tag getCalReductionId()
const;
542 asdmIDL::CalReductionRowIDL *
toIDL()
const;
551 void toIDL(asdmIDL::CalReductionRowIDL& x)
const;
560 void setFromIDL (asdmIDL::CalReductionRowIDL x) ;
567 std::string
toXML()
const;
582 std::map<std::string, CalReductionAttributeFromBin>
fromBinMethods;
612 void fromText(
const std::string& attributeName,
const std::string& t);
void setSoftware(std::string software)
Set software with the specified std::string.
virtual ~CalReductionRow()
friend class asdm::TableStreamReader<CalReductionTable, CalReductionRow>;
std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions
===> Attribute invalidConditions
int getNumApplied() const
===> Attribute numApplied
void setInvalidConditions(std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions)
Set invalidConditions with the specified std::vector<InvalidatingConditionMod::InvalidatingCondition ...
int getNumInvalidConditions() const
===> Attribute numInvalidConditions
void numAppliedFromBin(EndianIStream &eis)
void invalidConditionsFromText(const std::string &s)
void softwareVersionFromText(const std::string &s)
std::string getSoftwareVersion() const
===> Attribute softwareVersion
void calReductionIdFromBin(EndianIStream &eis)
bool equalByRequiredValue(CalReductionRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
bool hasBeenAdded
Whether this row has been added to the table or not.
void messagesFromBin(EndianIStream &eis)
void appliedCalibrationsFromBin(EndianIStream &eis)
asdmIDL::CalReductionRowIDL * toIDL() const
Return this row in the form of an IDL struct.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, CalReductionAttributeFromBin > fromBinMethods
void calReductionIdFromText(const std::string &s)
void invalidConditionsFromBin(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
CalReductionTable & getTable() const
Return the table to which this row belongs.
bool compareRequiredValue(int numApplied, std::vector< std::string > appliedCalibrations, int numParam, std::vector< std::string > paramSet, int numInvalidConditions, std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, std::string messages, std::string software, std::string softwareVersion)
Compare each mandatory value (i.e.
std::string software
===> Attribute software
void paramSetFromText(const std::string &s)
The CalReductionTable class is an Alma table.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setTimeReduced(ArrayTime timeReduced)
Set timeReduced with the specified ArrayTime.
void setNumInvalidConditions(int numInvalidConditions)
Set numInvalidConditions with the specified int.
void appliedCalibrationsFromText(const std::string &s)
Extrinsic Table Attributes Links *bool compareNoAutoInc(int numApplied, std::vector< std::string > appliedCalibrations, int numParam, std::vector< std::string > paramSet, int numInvalidConditions, std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, std::string messages, std::string software, std::string softwareVersion)
Compare each mandatory attribute except the autoincrementable one of this CalReductionRow with the co...
void timeReducedFromText(const std::string &s)
void paramSetFromBin(EndianIStream &eis)
void setNumApplied(int numApplied)
Set numApplied with the specified int.
The CalReductionRow class is a row of a CalReductionTable.
void setSoftwareVersion(std::string softwareVersion)
Set softwareVersion with the specified std::string.
std::string toXML() const
Return this row in the form of an XML string.
void messagesFromText(const std::string &s)
void softwareVersionFromBin(EndianIStream &eis)
void numInvalidConditionsFromBin(EndianIStream &eis)
std::vector< std::string > getParamSet() const
===> Attribute paramSet
void setParamSet(std::vector< std::string > paramSet)
Set paramSet with the specified std::vector<std::string >.
std::string getSoftware() const
===> Attribute software
*text deserialization material std::map< std::string, CalReductionAttributeFromText > fromTextMethods
int getNumParam() const
===> Attribute numParam
int numApplied
===> Attribute numApplied
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
CalReductionTable & table
The table to which this row belongs.
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag value.
CalReductionRow(CalReductionTable &table)
Create a CalReductionRow.
void setNumParam(int numParam)
Set numParam with the specified int.
std::string getMessages() const
===> Attribute messages
void setMessages(std::string messages)
Set messages with the specified std::string.
std::vector< std::string > appliedCalibrations
===> Attribute appliedCalibrations
void timeReducedFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
ArrayTime getTimeReduced() const
===> Attribute timeReduced
void setFromIDL(asdmIDL::CalReductionRowIDL x)
Fill the values of this row from the IDL struct CalReductionRowIDL.
std::string softwareVersion
===> Attribute softwareVersion
void numAppliedFromText(const std::string &s)
void(CalReductionRow::* CalReductionAttributeFromText)(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
std::vector< InvalidatingConditionMod::InvalidatingCondition > getInvalidConditions() const
===> Attribute invalidConditions
std::string messages
===> Attribute messages
void(CalReductionRow::* CalReductionAttributeFromBin)(EndianIStream &eis)
void softwareFromText(const std::string &s)
void numParamFromText(const std::string &s)
void setAppliedCalibrations(std::vector< std::string > appliedCalibrations)
Set appliedCalibrations with the specified std::vector<std::string >.
std::vector< std::string > paramSet
===> Attribute paramSet
void softwareFromBin(EndianIStream &eis)
int numParam
===> Attribute numParam
void numParamFromBin(EndianIStream &eis)
void numInvalidConditionsFromText(const std::string &s)
int numInvalidConditions
===> Attribute numInvalidConditions
ArrayTime timeReduced
===> Attribute timeReduced
std::vector< std::string > getAppliedCalibrations() const
===> Attribute appliedCalibrations