34 #ifndef FocusRow_CLASS
35 #define FocusRow_CLASS
359 Tag getAntennaId()
const;
502 asdmIDL::FocusRowIDL *
toIDL()
const;
511 void toIDL(asdmIDL::FocusRowIDL& x)
const;
527 std::string
toXML()
const;
569 void fromText(
const std::string& attributeName,
const std::string& t);
std::vector< Angle > getFocusRotationOffset() const
===> Attribute focusRotationOffset
FocusTable & getTable() const
Return the table to which this row belongs.
std::string toXML() const
Return this row in the form of an XML string.
void clearMeasuredFocusPosition()
Mark measuredFocusPosition, which is an optional field, as non-existent.
void setFocusModelId(int focusModelId)
Set focusModelId with the specified int.
std::vector< Length > getMeasuredFocusPosition() const
Get measuredFocusPosition, which is optional.
void focusOffsetFromBin(EndianIStream &eis)
void setFocusRotationOffset(std::vector< Angle > focusRotationOffset)
Set focusRotationOffset with the specified std::vector<Angle >.
void clearMeasuredFocusRotation()
Mark measuredFocusRotation, which is an optional field, as non-existent.
bool compareRequiredValue(bool focusTracking, std::vector< Length > focusOffset, std::vector< Angle > focusRotationOffset, int focusModelId)
Compare each mandatory value (i.e.
The FocusTable class is an Alma table.
void setMeasuredFocusPosition(std::vector< Length > measuredFocusPosition)
Set measuredFocusPosition with the specified std::vector<Length >.
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
int getFocusModelId() const
===> Attribute focusModelId
void focusRotationOffsetFromText(const std::string &s)
bool equalByRequiredValue(FocusRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void measuredFocusRotationFromText(const std::string &s)
void(FocusRow::* FocusAttributeFromBin)(EndianIStream &eis)
*text deserialization material std::map< std::string, FocusAttributeFromText > fromTextMethods
std::vector< Angle > getMeasuredFocusRotation() const
Get measuredFocusRotation, which is optional.
bool measuredFocusRotationExists
===> Attribute measuredFocusRotation, which is optional
The FocusRow class is a row of a FocusTable.
void focusModelIdFromText(const std::string &s)
void focusTrackingFromBin(EndianIStream &eis)
std::vector< Angle > focusRotationOffset
===> Attribute focusRotationOffset
void focusTrackingFromText(const std::string &s)
std::vector< Angle > measuredFocusRotation
std::vector< Length > focusOffset
===> Attribute focusOffset
void setFocusTracking(bool focusTracking)
Set focusTracking with the specified bool.
bool compareNoAutoInc(Tag antennaId, ArrayTimeInterval timeInterval, bool focusTracking, std::vector< Length > focusOffset, std::vector< Angle > focusRotationOffset, int focusModelId)
Compare each mandatory attribute except the autoincrementable one of this FocusRow with the correspon...
void focusModelIdFromBin(EndianIStream &eis)
void focusRotationOffsetFromBin(EndianIStream &eis)
FocusRow(FocusTable &table)
Create a FocusRow.
void setFocusOffset(std::vector< Length > focusOffset)
Set focusOffset with the specified std::vector<Length >.
std::vector< Length > getFocusOffset() const
===> Attribute focusOffset
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void focusOffsetFromText(const std::string &s)
std::vector< FocusModelRow * > getFocusModels()
===> Slice link from a row of Focus table to a collection of row of FocusModel table.
void timeIntervalFromText(const std::string &s)
FocusTable & table
The table to which this row belongs.
asdmIDL::FocusRowIDL * toIDL() const
Return this row in the form of an IDL struct.
The AntennaRow class is a row of a AntennaTable.
void timeIntervalFromBin(EndianIStream &eis)
bool focusTracking
===> Attribute focusTracking
bool getFocusTracking() const
===> Attribute focusTracking
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void antennaIdFromBin(EndianIStream &eis)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
int focusModelId
===> Attribute focusModelId
void measuredFocusPositionFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::FocusRowIDL x)
Fill the values of this row from the IDL struct FocusRowIDL.
virtual ~FocusRow()
friend class asdm::TableStreamReader<FocusTable, FocusRow>;
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void measuredFocusPositionFromText(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
bool isMeasuredFocusPositionExists() const
===> Attribute measuredFocusPosition, which is optional
void setMeasuredFocusRotation(std::vector< Angle > measuredFocusRotation)
Set measuredFocusRotation with the specified std::vector<Angle >.
bool isMeasuredFocusRotationExists() const
===> Attribute measuredFocusRotation, which is optional
std::vector< Length > measuredFocusPosition
Links *binary deserialization material from an EndianIStream std::map< std::string, FocusAttributeFromBin > fromBinMethods
bool measuredFocusPositionExists
===> Attribute measuredFocusPosition, which is optional
void(FocusRow::* FocusAttributeFromText)(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
void antennaIdFromText(const std::string &s)
void measuredFocusRotationFromBin(EndianIStream &eis)