34 #ifndef TotalPowerRow_CLASS
35 #define TotalPowerRow_CLASS
118 class ConfigDescriptionRow;
291 std::vector<std::vector<Length > >
getUvw()
const;
303 void setUvw (std::vector<std::vector<Length > >
uvw);
321 std::vector<std::vector<Interval > >
getExposure()
const;
381 std::vector<std::vector<std::vector<float > > >
getFloatData()
const;
441 std::vector<std::vector<int > >
getFlagPol()
const;
546 Tag getConfigDescriptionId()
const;
799 bool compareNoAutoInc(
ArrayTime time,
Tag configDescriptionId,
Tag fieldId,
int scanNumber,
int subscanNumber,
int integrationNumber, std::vector<std::vector<Length > >
uvw, std::vector<std::vector<Interval > >
exposure, std::vector<std::vector<ArrayTime > >
timeCentroid, std::vector<std::vector<std::vector<float > > >
floatData, std::vector<int >
flagAnt, std::vector<std::vector<int > >
flagPol,
Interval interval, std::vector<Tag>
stateId,
Tag execBlockId);
833 bool compareRequiredValue(
int scanNumber,
int subscanNumber,
int integrationNumber, std::vector<std::vector<Length > >
uvw, std::vector<std::vector<Interval > >
exposure, std::vector<std::vector<ArrayTime > >
timeCentroid, std::vector<std::vector<std::vector<float > > >
floatData, std::vector<int >
flagAnt, std::vector<std::vector<int > >
flagPol,
Interval interval, std::vector<Tag>
stateId,
Tag execBlockId);
851 asdmIDL::TotalPowerRowIDL *
toIDL()
const;
860 void toIDL(asdmIDL::TotalPowerRowIDL& x)
const;
869 void setFromIDL (asdmIDL::TotalPowerRowIDL x) ;
876 std::string
toXML()
const;
926 void fromText(
const std::string& attributeName,
const std::string& t);
1025 std::vector<std::vector<Length > >
uvw;
1119 Tag configDescriptionId;
ConfigDescriptionRow * getConfigDescriptionUsingConfigDescriptionId()
configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId
Tag fieldId
===> Attribute fieldId
void execBlockIdFromText(const std::string &s)
void scanNumberFromBin(EndianIStream &eis)
void setFlagPol(std::vector< std::vector< int > > flagPol)
Set flagPol with the specified std::vector<std::vector<int > >.
std::vector< std::vector< ArrayTime > > getTimeCentroid() const
===> Attribute timeCentroid
The Interval class implements an interval of time in units of nanoseconds.
std::vector< std::vector< std::vector< float > > > getFloatData() const
===> Attribute floatData
StateRow * getStateUsingStateId(int i)
Returns the StateRow linked to this row via the tag stored in stateId at position i...
void subintegrationNumberFromBin(EndianIStream &eis)
void setTime(ArrayTime time)
Set time with the specified ArrayTime.
bool subintegrationNumberExists
===> Attribute subintegrationNumber, which is optional
TotalPowerTable & getTable() const
Return the table to which this row belongs.
void subintegrationNumberFromText(const std::string &s)
asdmIDL::TotalPowerRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void clearSubintegrationNumber()
Mark subintegrationNumber, which is an optional field, as non-existent.
std::vector< std::vector< int > > flagPol
===> Attribute flagPol
void(TotalPowerRow::* TotalPowerAttributeFromBin)(EndianIStream &eis)
void setSubintegrationNumber(int subintegrationNumber)
Set subintegrationNumber with the specified int.
Interval interval
===> Attribute interval
void intervalFromBin(EndianIStream &eis)
void exposureFromText(const std::string &s)
bool isSubintegrationNumberExists() const
===> Attribute subintegrationNumber, which is optional
void scanNumberFromText(const std::string &s)
int subscanNumber
===> Attribute subscanNumber
std::string toXML() const
Return this row in the form of an XML string.
void setScanNumber(int scanNumber)
Set scanNumber with the specified int.
void setSubscanNumber(int subscanNumber)
Set subscanNumber with the specified int.
void setStateId(std::vector< Tag > stateId)
Set stateId with the specified std::vector<Tag> .
std::vector< std::vector< ArrayTime > > timeCentroid
===> Attribute timeCentroid
*text deserialization material std::map< std::string, TotalPowerAttributeFromText > fromTextMethods
void execBlockIdFromBin(EndianIStream &eis)
std::vector< int > getFlagAnt() const
===> Attribute flagAnt
void intervalFromText(const std::string &s)
Tag getExecBlockId() const
===> Attribute execBlockId
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 timeCentroidFromText(const std::string &s)
void uvwFromBin(EndianIStream &eis)
std::vector< int > flagAnt
===> Attribute flagAnt
std::vector< Tag > stateId
===> Attribute stateId
void setTimeCentroid(std::vector< std::vector< ArrayTime > > timeCentroid)
Set timeCentroid with the specified std::vector<std::vector<ArrayTime > >.
bool isAdded() const
Has this row been added to its table ?
void floatDataFromText(const std::string &s)
The ExecBlockRow class is a row of a ExecBlockTable.
The StateRow class is a row of a StateTable.
void configDescriptionIdFromBin(EndianIStream &eis)
void configDescriptionIdFromText(const std::string &s)
void setExposure(std::vector< std::vector< Interval > > exposure)
Set exposure with the specified std::vector<std::vector<Interval > >.
int integrationNumber
===> Attribute integrationNumber
void uvwFromText(const std::string &s)
FieldRow * getFieldUsingFieldId()
fieldId pointer to the row in the Field table having Field.fieldId == fieldId
void setFloatData(std::vector< std::vector< std::vector< float > > > floatData)
Set floatData with the specified std::vector<std::vector<std::vector<float > > >. ...
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void setInterval(Interval interval)
Set interval with the specified Interval.
bool compareRequiredValue(int scanNumber, int subscanNumber, int integrationNumber, std::vector< std::vector< Length > > uvw, std::vector< std::vector< Interval > > exposure, std::vector< std::vector< ArrayTime > > timeCentroid, std::vector< std::vector< std::vector< float > > > floatData, std::vector< int > flagAnt, std::vector< std::vector< int > > flagPol, Interval interval, std::vector< Tag > stateId, Tag execBlockId)
Compare each mandatory value (i.e.
void timeCentroidFromBin(EndianIStream &eis)
void setIntegrationNumber(int integrationNumber)
Set integrationNumber with the specified int.
std::vector< std::vector< Interval > > exposure
===> Attribute exposure
TotalPowerRow(TotalPowerTable &table)
Create a TotalPowerRow.
std::vector< std::vector< Length > > uvw
===> Attribute uvw
int getSubintegrationNumber() const
Get subintegrationNumber, which is optional.
std::vector< StateRow * > getStatesUsingStateId()
Returns the vector of StateRow* linked to this row via the Tags stored in stateId.
int scanNumber
===> Attribute scanNumber
void exposureFromBin(EndianIStream &eis)
void setFieldId(Tag fieldId)
Set fieldId with the specified Tag.
void flagPolFromBin(EndianIStream &eis)
void floatDataFromBin(EndianIStream &eis)
void setUvw(std::vector< std::vector< Length > > uvw)
Set uvw with the specified std::vector<std::vector<Length > >.
void fieldIdFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
bool compareNoAutoInc(ArrayTime time, Tag configDescriptionId, Tag fieldId, int scanNumber, int subscanNumber, int integrationNumber, std::vector< std::vector< Length > > uvw, std::vector< std::vector< Interval > > exposure, std::vector< std::vector< ArrayTime > > timeCentroid, std::vector< std::vector< std::vector< float > > > floatData, std::vector< int > flagAnt, std::vector< std::vector< int > > flagPol, Interval interval, std::vector< Tag > stateId, Tag execBlockId)
Compare each mandatory attribute except the autoincrementable one of this TotalPowerRow with the corr...
void subscanNumberFromBin(EndianIStream &eis)
void timeFromBin(EndianIStream &eis)
std::vector< std::vector< std::vector< float > > > floatData
===> Attribute floatData
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void integrationNumberFromBin(EndianIStream &eis)
std::vector< std::vector< Interval > > getExposure() const
===> Attribute exposure
int getSubscanNumber() const
===> Attribute subscanNumber
void(TotalPowerRow::* TotalPowerAttributeFromText)(const std::string &s)
void setConfigDescriptionId(Tag configDescriptionId)
Set configDescriptionId with the specified Tag.
std::vector< Tag > getStateId() const
===> Attribute stateId
void timeFromText(const std::string &s)
std::vector< std::vector< Length > > getUvw() const
===> Attribute uvw
bool hasBeenAdded
Whether this row has been added to the table or not.
bool equalByRequiredValue(TotalPowerRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void integrationNumberFromText(const std::string &s)
TotalPowerTable & table
The table to which this row belongs.
The FieldRow class is a row of a FieldTable.
Links *binary deserialization material from an EndianIStream std::map< std::string, TotalPowerAttributeFromBin > fromBinMethods
The TotalPowerRow class is a row of a TotalPowerTable.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
The ConfigDescriptionRow class is a row of a ConfigDescriptionTable.
virtual ~TotalPowerRow()
friend class asdm::TableStreamReader<TotalPowerTable, TotalPowerRow>;
void setFromIDL(asdmIDL::TotalPowerRowIDL x)
Fill the values of this row from the IDL struct TotalPowerRowIDL.
void flagAntFromBin(EndianIStream &eis)
void stateIdFromText(const std::string &s)
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag.
ExecBlockRow * getExecBlockUsingExecBlockId()
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId ...
The TotalPowerTable class is an Alma table.
void subscanNumberFromText(const std::string &s)
void flagPolFromText(const std::string &s)
void stateIdFromBin(EndianIStream &eis)
Tag execBlockId
===> Attribute execBlockId
void setFlagAnt(std::vector< int > flagAnt)
Set flagAnt with the specified std::vector<int >.
std::vector< std::vector< int > > getFlagPol() const
===> Attribute flagPol
int getScanNumber() const
===> Attribute scanNumber
Interval getInterval() const
===> Attribute interval
void flagAntFromText(const std::string &s)
int getIntegrationNumber() const
===> Attribute integrationNumber
Tag getFieldId() const
===> Attribute fieldId
void fieldIdFromText(const std::string &s)
void addStateId(Tag id)
Append a Tag to stateId.