110 class ConfigDescriptionRow;
443 Tag getConfigDescriptionId()
const;
692 bool compareNoAutoInc(
ArrayTime time,
Tag configDescriptionId,
Tag fieldId,
int numAntenna, TimeSamplingMod::TimeSampling
timeSampling,
Interval interval,
int numIntegration,
int scanNumber,
int subscanNumber, int64_t
dataSize,
EntityRef dataUID, std::vector<Tag>
stateId,
Tag execBlockId);
740 asdmIDL::MainRowIDL *
toIDL()
const;
749 void toIDL(asdmIDL::MainRowIDL& x)
const;
765 std::string
toXML()
const;
812 void fromText(
const std::string& attributeName,
const std::string& t);
970 Tag configDescriptionId;
EntityRef dataUID
===> Attribute dataUID
bool compareRequiredValue(int numAntenna, TimeSamplingMod::TimeSampling timeSampling, Interval interval, int numIntegration, int scanNumber, int subscanNumber, int64_t dataSize, EntityRef dataUID, std::vector< Tag > stateId, Tag execBlockId)
Compare each mandatory value (i.e.
int numIntegration
===> Attribute numIntegration
MainRow(MainTable &table)
Create a MainRow.
void timeFromBin(EndianIStream &eis)
The Interval class implements an interval of time in units of nanoseconds.
void stateIdFromBin(EndianIStream &eis)
void setConfigDescriptionId(Tag configDescriptionId)
Set configDescriptionId with the specified Tag.
void execBlockIdFromText(const std::string &s)
void timeFromText(const std::string &s)
void setDataSize(int64_t dataSize)
Set dataSize with the specified int64_t.
std::string toXML() const
Return this row in the form of an XML string.
void addStateId(Tag id)
Append a Tag to stateId.
int getScanNumber() const
===> Attribute scanNumber
EntityRef getDataUID() const
===> Attribute dataUID
TimeSamplingMod::TimeSampling timeSampling
===> Attribute timeSampling
void numIntegrationFromBin(EndianIStream &eis)
std::vector< StateRow * > getStatesUsingStateId()
Returns the vector of StateRow* linked to this row via the Tags stored in stateId.
MainTable & table
The table to which this row belongs.
StateRow * getStateUsingStateId(int i)
Returns the StateRow linked to this row via the tag stored in stateId at position i...
void setNumIntegration(int numIntegration)
Set numIntegration with the specified int.
*text deserialization material std::map< std::string, MainAttributeFromText > fromTextMethods
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 intervalFromText(const std::string &s)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
void scanNumberFromBin(EndianIStream &eis)
int64_t dataSize
===> Attribute dataSize
The ExecBlockRow class is a row of a ExecBlockTable.
TimeSamplingMod::TimeSampling getTimeSampling() const
===> Attribute timeSampling
The StateRow class is a row of a StateTable.
void setTimeSampling(TimeSamplingMod::TimeSampling timeSampling)
Set timeSampling with the specified TimeSamplingMod::TimeSampling.
void dataSizeFromBin(EndianIStream &eis)
void numAntennaFromText(const std::string &s)
void setDataUID(EntityRef dataUID)
Set dataUID with the specified EntityRef.
void scanNumberFromText(const std::string &s)
The EntityRef class is an identification of a persistant entity in the ALMA archive.
void setStateId(std::vector< Tag > stateId)
Set stateId with the specified std::vector<Tag> .
int getNumIntegration() const
===> Attribute numIntegration
void numIntegrationFromText(const std::string &s)
Tag execBlockId
===> Attribute execBlockId
void setInterval(Interval interval)
Set interval with the specified Interval.
void numAntennaFromBin(EndianIStream &eis)
void subscanNumberFromText(const std::string &s)
void setFieldId(Tag fieldId)
Set fieldId with the specified Tag.
void setSubscanNumber(int subscanNumber)
Set subscanNumber with the specified int.
std::vector< Tag > getStateId() const
===> Attribute stateId
void dataUIDFromBin(EndianIStream &eis)
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag.
void timeSamplingFromText(const std::string &s)
int getNumAntenna() const
===> Attribute numAntenna
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
virtual ~MainRow()
friend class asdm::TableStreamReader<MainTable, MainRow>;
int scanNumber
===> Attribute scanNumber
FieldRow * getFieldUsingFieldId()
fieldId pointer to the row in the Field table having Field.fieldId == fieldId
The MainRow class is a row of a MainTable.
Interval interval
===> Attribute interval
void configDescriptionIdFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::MainRowIDL x)
Fill the values of this row from the IDL struct MainRowIDL.
void dataSizeFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void execBlockIdFromBin(EndianIStream &eis)
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 timeSamplingFromBin(EndianIStream &eis)
int64_t getDataSize() const
===> Attribute dataSize
asdmIDL::MainRowIDL * toIDL() const
Return this row in the form of an IDL struct.
The FieldRow class is a row of a FieldTable.
void(MainRow::* MainAttributeFromBin)(EndianIStream &eis)
void intervalFromBin(EndianIStream &eis)
int numAntenna
===> Attribute numAntenna
The ConfigDescriptionRow class is a row of a ConfigDescriptionTable.
Tag getFieldId() const
===> Attribute fieldId
Tag fieldId
===> Attribute fieldId
Links *binary deserialization material from an EndianIStream std::map< std::string, MainAttributeFromBin > fromBinMethods
void(MainRow::* MainAttributeFromText)(const std::string &s)
Tag getExecBlockId() const
===> Attribute execBlockId
MainTable & getTable() const
Return the table to which this row belongs.
std::vector< Tag > stateId
===> Attribute stateId
int getSubscanNumber() const
===> Attribute subscanNumber
void subscanNumberFromBin(EndianIStream &eis)
void setTime(ArrayTime time)
Set time with the specified ArrayTime.
bool compareNoAutoInc(ArrayTime time, Tag configDescriptionId, Tag fieldId, int numAntenna, TimeSamplingMod::TimeSampling timeSampling, Interval interval, int numIntegration, int scanNumber, int subscanNumber, int64_t dataSize, EntityRef dataUID, std::vector< Tag > stateId, Tag execBlockId)
Compare each mandatory attribute except the autoincrementable one of this MainRow with the correspond...
bool equalByRequiredValue(MainRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void stateIdFromText(const std::string &s)
The MainTable class is an Alma table.
void configDescriptionIdFromText(const std::string &s)
Links *ConfigDescriptionRow * getConfigDescriptionUsingConfigDescriptionId()
configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId
Interval getInterval() const
===> Attribute interval
void setScanNumber(int scanNumber)
Set scanNumber with the specified int.
ExecBlockRow * getExecBlockUsingExecBlockId()
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId ...
void fieldIdFromText(const std::string &s)
int subscanNumber
===> Attribute subscanNumber
void fieldIdFromBin(EndianIStream &eis)