34 #ifndef SubscanRow_CLASS
35 #define SubscanRow_CLASS
154 int getScanNumber()
const;
484 Tag getExecBlockId()
const;
590 asdmIDL::SubscanRowIDL *
toIDL()
const;
599 void toIDL(asdmIDL::SubscanRowIDL& x)
const;
615 std::string
toXML()
const;
660 void fromText(
const std::string& attributeName,
const std::string& t);
int getSubscanNumber() const
===> Attribute subscanNumber
void correlatorCalibrationFromBin(EndianIStream &eis)
bool compareRequiredValue(ArrayTime startTime, ArrayTime endTime, std::string fieldName, SubscanIntentMod::SubscanIntent subscanIntent, int numIntegration, std::vector< int > numSubintegration)
Compare each mandatory value (i.e.
SubscanIntentMod::SubscanIntent getSubscanIntent() const
===> Attribute subscanIntent
void execBlockIdFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, SubscanAttributeFromBin > fromBinMethods
std::vector< int > getNumSubintegration() const
===> Attribute numSubintegration
void setNumIntegration(int numIntegration)
Set numIntegration with the specified int.
void endTimeFromBin(EndianIStream &eis)
void setEndTime(ArrayTime endTime)
Set endTime with the specified ArrayTime.
std::vector< int > numSubintegration
===> Attribute numSubintegration
ArrayTime getEndTime() const
===> Attribute endTime
bool isCorrelatorCalibrationExists() const
===> Attribute correlatorCalibration, which is optional
void subscanIntentFromText(const std::string &s)
void clearCorrelatorCalibration()
Mark correlatorCalibration, which is an optional field, as non-existent.
void setScanNumber(int scanNumber)
Set scanNumber with the specified int.
ArrayTime startTime
===> Attribute startTime
bool subscanModeExists
===> Attribute subscanMode, which is optional
The SubscanRow class is a row of a SubscanTable.
Links *ExecBlockRow * getExecBlockUsingExecBlockId()
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId ...
void numIntegrationFromBin(EndianIStream &eis)
void startTimeFromBin(EndianIStream &eis)
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag.
void setSubscanIntent(SubscanIntentMod::SubscanIntent subscanIntent)
Set subscanIntent with the specified SubscanIntentMod::SubscanIntent.
bool hasBeenAdded
Whether this row has been added to the table or not.
The ExecBlockRow class is a row of a ExecBlockTable.
ArrayTime getStartTime() const
===> Attribute startTime
void numSubintegrationFromText(const std::string &s)
void(SubscanRow::* SubscanAttributeFromBin)(EndianIStream &eis)
void(SubscanRow::* SubscanAttributeFromText)(const std::string &s)
SwitchingModeMod::SwitchingMode getSubscanMode() const
Get subscanMode, which is optional.
int getNumIntegration() const
===> Attribute numIntegration
SubscanIntentMod::SubscanIntent subscanIntent
===> Attribute subscanIntent
SubscanRow(SubscanTable &table)
Create a SubscanRow.
void startTimeFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
std::string fieldName
===> Attribute fieldName
void fieldNameFromText(const std::string &s)
virtual ~SubscanRow()
friend class asdm::TableStreamReader<SubscanTable, SubscanRow>;
void subscanModeFromBin(EndianIStream &eis)
bool correlatorCalibrationExists
===> Attribute correlatorCalibration, which is optional
void execBlockIdFromText(const std::string &s)
CorrelatorCalibrationMod::CorrelatorCalibration getCorrelatorCalibration() const
Get correlatorCalibration, which is optional.
SubscanTable & getTable() const
Return the table to which this row belongs.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void fieldNameFromBin(EndianIStream &eis)
void clearSubscanMode()
Mark subscanMode, which is an optional field, as non-existent.
void setStartTime(ArrayTime startTime)
Set startTime with the specified ArrayTime.
int numIntegration
===> Attribute numIntegration
void correlatorCalibrationFromText(const std::string &s)
void setCorrelatorCalibration(CorrelatorCalibrationMod::CorrelatorCalibration correlatorCalibration)
Set correlatorCalibration with the specified CorrelatorCalibrationMod::CorrelatorCalibration.
void setFieldName(std::string fieldName)
Set fieldName with the specified std::string.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void endTimeFromText(const std::string &s)
void setNumSubintegration(std::vector< int > numSubintegration)
Set numSubintegration with the specified std::vector<int >.
SwitchingModeMod::SwitchingMode subscanMode
void setSubscanMode(SwitchingModeMod::SwitchingMode subscanMode)
Set subscanMode with the specified SwitchingModeMod::SwitchingMode.
void subscanNumberFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
CorrelatorCalibrationMod::CorrelatorCalibration correlatorCalibration
int subscanNumber
===> Attribute subscanNumber
bool isSubscanModeExists() const
===> Attribute subscanMode, which is optional
ArrayTime endTime
===> Attribute endTime
bool compareNoAutoInc(Tag execBlockId, int scanNumber, int subscanNumber, ArrayTime startTime, ArrayTime endTime, std::string fieldName, SubscanIntentMod::SubscanIntent subscanIntent, int numIntegration, std::vector< int > numSubintegration)
Compare each mandatory attribute except the autoincrementable one of this SubscanRow with the corresp...
void numSubintegrationFromBin(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
asdmIDL::SubscanRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::string toXML() const
Return this row in the form of an XML string.
void subscanNumberFromText(const std::string &s)
SubscanTable & table
The table to which this row belongs.
The SubscanTable class is an Alma table.
void setFromIDL(asdmIDL::SubscanRowIDL x)
Fill the values of this row from the IDL struct SubscanRowIDL.
*text deserialization material std::map< std::string, SubscanAttributeFromText > fromTextMethods
void numIntegrationFromText(const std::string &s)
bool equalByRequiredValue(SubscanRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void scanNumberFromText(const std::string &s)
std::string getFieldName() const
===> Attribute fieldName
void scanNumberFromBin(EndianIStream &eis)
void subscanIntentFromBin(EndianIStream &eis)
void subscanModeFromText(const std::string &s)
void setSubscanNumber(int subscanNumber)
Set subscanNumber with the specified int.