34 #ifndef ExecBlockRow_CLASS
35 #define ExecBlockRow_CLASS
198 Tag getExecBlockId()
const;
1276 bool compareNoAutoInc(
ArrayTime startTime,
ArrayTime endTime,
int execBlockNum,
EntityRef execBlockUID,
EntityRef projectUID, std::string
configName, std::string
telescopeName, std::string
observerName,
int numObservingLog, std::vector<std::string >
observingLog,
EntityRef sessionReference,
Length baseRangeMin,
Length baseRangeMax,
Length baseRmsMinor,
Length baseRmsMajor,
Angle basePa,
bool aborted,
int numAntenna, std::vector<Tag> antennaId,
Tag sBSummaryId);
1326 bool compareRequiredValue(
ArrayTime startTime,
ArrayTime endTime,
int execBlockNum,
EntityRef execBlockUID,
EntityRef projectUID, std::string
configName, std::string
telescopeName, std::string
observerName,
int numObservingLog, std::vector<std::string >
observingLog,
EntityRef sessionReference,
Length baseRangeMin,
Length baseRangeMax,
Length baseRmsMinor,
Length baseRmsMajor,
Angle basePa,
bool aborted,
int numAntenna, std::vector<Tag> antennaId,
Tag sBSummaryId);
1344 asdmIDL::ExecBlockRowIDL *
toIDL()
const;
1353 void toIDL(asdmIDL::ExecBlockRowIDL& x)
const;
1362 void setFromIDL (asdmIDL::ExecBlockRowIDL x) ;
1369 std::string
toXML()
const;
1432 void fromText(
const std::string& attributeName,
const std::string& t);
1803 std::vector<Tag> antennaId;
EntityRef execBlockUID
===> Attribute execBlockUID
void siteLatitudeFromBin(EndianIStream &eis)
void(ExecBlockRow::* ExecBlockAttributeFromText)(const std::string &s)
ArrayTime startTime
===> Attribute startTime
void setScaleId(Tag scaleId)
Set scaleId with the specified Tag.
std::string observerName
===> Attribute observerName
void clearReleaseDate()
Mark releaseDate, which is an optional field, as non-existent.
void antennaIdFromText(const std::string &s)
asdmIDL::ExecBlockRowIDL * toIDL() const
Return this row in the form of an IDL struct.
Length getBaseRangeMin() const
===> Attribute baseRangeMin
EntityRef getExecBlockUID() const
===> Attribute execBlockUID
Length baseRmsMajor
===> Attribute baseRmsMajor
void schedulerModeFromText(const std::string &s)
void baseRmsMinorFromText(const std::string &s)
Length getBaseRmsMajor() const
===> Attribute baseRmsMajor
std::string observingScript
void observingScriptFromBin(EndianIStream &eis)
void execBlockIdFromBin(EndianIStream &eis)
void antennaIdFromBin(EndianIStream &eis)
AntennaRow * getAntennaUsingAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in antennaId at position i...
void execBlockNumFromBin(EndianIStream &eis)
void clearSchedulerMode()
Mark schedulerMode, which is an optional field, as non-existent.
bool isObservingScriptExists() const
===> Attribute observingScript, which is optional
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
Angle getSiteLongitude() const
Get siteLongitude, which is optional.
void setObservingLog(std::vector< std::string > observingLog)
Set observingLog with the specified std::vector<std::string >.
int getNumAntenna() const
===> Attribute numAntenna
void setExecBlockNum(int execBlockNum)
Set execBlockNum with the specified int.
EntityRef observingScriptUID
*text deserialization material std::map< std::string, ExecBlockAttributeFromText > fromTextMethods
virtual ~ExecBlockRow()
friend class asdm::TableStreamReader<ExecBlockTable, ExecBlockRow>;
std::string getTelescopeName() const
===> Attribute telescopeName
std::string configName
===> Attribute configName
void startTimeFromText(const std::string &s)
EntityRef sessionReference
===> Attribute sessionReference
void setSiteLongitude(Angle siteLongitude)
Set siteLongitude with the specified Angle.
Tag getSBSummaryId() const
===> Attribute sBSummaryId
void clearObservingScriptUID()
Mark observingScriptUID, which is an optional field, as non-existent.
void sBSummaryIdFromText(const std::string &s)
EntityRef getObservingScriptUID() const
Get observingScriptUID, which is optional.
ExecBlockRow(ExecBlockTable &table)
Create a ExecBlockRow.
void observingScriptFromText(const std::string &s)
bool isSiteAltitudeExists() const
===> Attribute siteAltitude, which is optional
std::vector< std::string > observingLog
===> Attribute observingLog
std::string getObservingScript() const
Get observingScript, which is optional.
void siteLongitudeFromBin(EndianIStream &eis)
void(ExecBlockRow::* ExecBlockAttributeFromBin)(EndianIStream &eis)
void baseRmsMajorFromBin(EndianIStream &eis)
The ScaleRow class is a row of a ScaleTable.
bool getAborted() const
===> Attribute aborted
void abortedFromText(const std::string &s)
std::string getSchedulerMode() const
Get schedulerMode, which is optional.
void clearSiteLongitude()
Mark siteLongitude, which is an optional field, as non-existent.
void startTimeFromBin(EndianIStream &eis)
void addAntennaId(Tag id)
Append a Tag to antennaId.
void clearObservingScript()
Mark observingScript, which is an optional field, as non-existent.
bool siteLatitudeExists
===> Attribute siteLatitude, which is optional
void observingScriptUIDFromBin(EndianIStream &eis)
void observerNameFromText(const std::string &s)
The ExecBlockTable class is an Alma table.
void numObservingLogFromText(const std::string &s)
void telescopeNameFromBin(EndianIStream &eis)
void projectUIDFromBin(EndianIStream &eis)
SBSummaryRow * getSBSummaryUsingSBSummaryId()
sBSummaryId pointer to the row in the SBSummary table having SBSummary.sBSummaryId == sBSummaryId ...
ArrayTime endTime
===> Attribute endTime
The ExecBlockRow class is a row of a ExecBlockTable.
void siteLatitudeFromText(const std::string &s)
void setStartTime(ArrayTime startTime)
Set startTime with the specified ArrayTime.
void setSchedulerMode(std::string schedulerMode)
Set schedulerMode with the specified std::string.
ArrayTime getEndTime() const
===> Attribute endTime
void setFromIDL(asdmIDL::ExecBlockRowIDL x)
Fill the values of this row from the IDL struct ExecBlockRowIDL.
void baseRmsMajorFromText(const std::string &s)
void siteAltitudeFromBin(EndianIStream &eis)
void releaseDateFromBin(EndianIStream &eis)
void configNameFromText(const std::string &s)
void execBlockIdFromText(const std::string &s)
ArrayTime getReleaseDate() const
Get releaseDate, which is optional.
void sessionReferenceFromBin(EndianIStream &eis)
bool isReleaseDateExists() const
===> Attribute releaseDate, which is optional
void observingLogFromText(const std::string &s)
void telescopeNameFromText(const std::string &s)
void abortedFromBin(EndianIStream &eis)
EntityRef getSessionReference() const
===> Attribute sessionReference
int execBlockNum
===> Attribute execBlockNum
EntityRef getProjectUID() const
===> Attribute projectUID
The Angle class implements a quantity of angle in radians.
The EntityRef class is an identification of a persistant entity in the ALMA archive.
void schedulerModeFromBin(EndianIStream &eis)
void setEndTime(ArrayTime endTime)
Set endTime with the specified ArrayTime.
std::string toXML() const
Return this row in the form of an XML string.
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void siteLongitudeFromText(const std::string &s)
void setSiteLatitude(Angle siteLatitude)
Set siteLatitude with the specified Angle.
void basePaFromBin(EndianIStream &eis)
void numAntennaFromText(const std::string &s)
int numObservingLog
===> Attribute numObservingLog
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector<Tag> .
Length getSiteAltitude() const
Get siteAltitude, which is optional.
void observingLogFromBin(EndianIStream &eis)
ExecBlockTable & getTable() const
Return the table to which this row belongs.
bool releaseDateExists
===> Attribute releaseDate, which is optional
void scaleIdFromBin(EndianIStream &eis)
void setObservingScript(std::string observingScript)
Set observingScript with the specified std::string.
void setProjectUID(EntityRef projectUID)
Set projectUID with the specified EntityRef.
void numObservingLogFromBin(EndianIStream &eis)
void basePaFromText(const std::string &s)
ExecBlockTable & table
The table to which this row belongs.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void releaseDateFromText(const std::string &s)
void setNumObservingLog(int numObservingLog)
Set numObservingLog with the specified int.
bool compareNoAutoInc(ArrayTime startTime, ArrayTime endTime, int execBlockNum, EntityRef execBlockUID, EntityRef projectUID, std::string configName, std::string telescopeName, std::string observerName, int numObservingLog, std::vector< std::string > observingLog, EntityRef sessionReference, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, bool aborted, int numAntenna, std::vector< Tag > antennaId, Tag sBSummaryId)
Compare each mandatory attribute except the autoincrementable one of this ExecBlockRow with the corre...
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag value.
void setBaseRmsMajor(Length baseRmsMajor)
Set baseRmsMajor with the specified Length.
void observerNameFromBin(EndianIStream &eis)
The AntennaRow class is a row of a AntennaTable.
The Length class implements a quantity of length in meters.
bool equalByRequiredValue(ExecBlockRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
Angle getSiteLatitude() const
Get siteLatitude, which is optional.
bool isSiteLongitudeExists() const
===> Attribute siteLongitude, which is optional
Angle getBasePa() const
===> Attribute basePa
Length baseRangeMax
===> Attribute baseRangeMax
void endTimeFromText(const std::string &s)
void baseRmsMinorFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void baseRangeMinFromBin(EndianIStream &eis)
EntityRef projectUID
===> Attribute projectUID
bool isScaleIdExists() const
===> Attribute scaleId, which is optional
void setAborted(bool aborted)
Set aborted with the specified bool.
bool isObservingScriptUIDExists() const
===> Attribute observingScriptUID, which is optional
void clearScaleId()
Mark scaleId, which is an optional field, as non-existent.
void numAntennaFromBin(EndianIStream &eis)
void setTelescopeName(std::string telescopeName)
Set telescopeName with the specified std::string.
Length getBaseRangeMax() const
===> Attribute baseRangeMax
void setSBSummaryId(Tag sBSummaryId)
Set sBSummaryId with the specified Tag.
std::string telescopeName
===> Attribute telescopeName
std::string getConfigName() const
===> Attribute configName
Angle basePa
===> Attribute basePa
void setObservingScriptUID(EntityRef observingScriptUID)
Set observingScriptUID with the specified EntityRef.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
bool hasBeenAdded
Whether this row has been added to the table or not.
void setReleaseDate(ArrayTime releaseDate)
Set releaseDate with the specified ArrayTime.
void clearSiteAltitude()
Mark siteAltitude, which is an optional field, as non-existent.
bool observingScriptExists
===> Attribute observingScript, which is optional
void endTimeFromBin(EndianIStream &eis)
bool siteAltitudeExists
===> Attribute siteAltitude, which is optional
std::string schedulerMode
bool isAdded() const
Has this row been added to its table ?
Length getBaseRmsMinor() const
===> Attribute baseRmsMinor
void baseRangeMaxFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, ExecBlockAttributeFromBin > fromBinMethods
const Tag getAntennaId(int i)
Returns the Tag stored in antennaId at position i.
void setConfigName(std::string configName)
Set configName with the specified std::string.
bool compareRequiredValue(ArrayTime startTime, ArrayTime endTime, int execBlockNum, EntityRef execBlockUID, EntityRef projectUID, std::string configName, std::string telescopeName, std::string observerName, int numObservingLog, std::vector< std::string > observingLog, EntityRef sessionReference, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, bool aborted, int numAntenna, std::vector< Tag > antennaId, Tag sBSummaryId)
Compare each mandatory value (i.e.
void setBaseRangeMax(Length baseRangeMax)
Set baseRangeMax with the specified Length.
std::vector< std::string > getObservingLog() const
===> Attribute observingLog
bool observingScriptUIDExists
===> Attribute observingScriptUID, which is optional
void scaleIdFromText(const std::string &s)
void execBlockUIDFromBin(EndianIStream &eis)
void setSiteAltitude(Length siteAltitude)
Set siteAltitude with the specified Length.
Tag getScaleId() const
Get scaleId, which is optional.
Tag sBSummaryId
===> Attribute sBSummaryId
bool schedulerModeExists
===> Attribute schedulerMode, which is optional
std::string getObserverName() const
===> Attribute observerName
Length baseRangeMin
===> Attribute baseRangeMin
void sBSummaryIdFromBin(EndianIStream &eis)
void baseRangeMinFromText(const std::string &s)
int numAntenna
===> Attribute numAntenna
bool scaleIdExists
===> Attribute scaleId, which is optional
void baseRangeMaxFromText(const std::string &s)
void setBaseRangeMin(Length baseRangeMin)
Set baseRangeMin with the specified Length.
void setSessionReference(EntityRef sessionReference)
Set sessionReference with the specified EntityRef.
ScaleRow * getScaleUsingScaleId()
scaleId pointer to the row in the Scale table having Scale.scaleId == scaleId
int getExecBlockNum() const
===> Attribute execBlockNum
void siteAltitudeFromText(const std::string &s)
The SBSummaryRow class is a row of a SBSummaryTable.
int getNumObservingLog() const
===> Attribute numObservingLog
ArrayTime getStartTime() const
===> Attribute startTime
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
bool isSiteLatitudeExists() const
===> Attribute siteLatitude, which is optional
void setExecBlockUID(EntityRef execBlockUID)
Set execBlockUID with the specified EntityRef.
bool siteLongitudeExists
===> Attribute siteLongitude, which is optional
void execBlockNumFromText(const std::string &s)
void setBaseRmsMinor(Length baseRmsMinor)
Set baseRmsMinor with the specified Length.
bool aborted
===> Attribute aborted
bool isSchedulerModeExists() const
===> Attribute schedulerMode, which is optional
void setBasePa(Angle basePa)
Set basePa with the specified Angle.
void clearSiteLatitude()
Mark siteLatitude, which is an optional field, as non-existent.
Length baseRmsMinor
===> Attribute baseRmsMinor
void configNameFromBin(EndianIStream &eis)
void setObserverName(std::string observerName)
Set observerName with the specified std::string.