34 #ifndef AntennaRow_CLASS
35 #define AntennaRow_CLASS
155 Tag getAntennaId()
const;
387 bool isAssocAntennaIdExists()
const;
465 bool isAssociatedAntennaExists()
const;
567 asdmIDL::AntennaRowIDL *
toIDL()
const;
576 void toIDL(asdmIDL::AntennaRowIDL& x)
const;
592 std::string
toXML()
const;
636 void fromText(
const std::string& attributeName,
const std::string& t);
794 bool assocAntennaIdExists;
void timeFromText(const std::string &s)
void antennaTypeFromText(const std::string &s)
bool equalByRequiredValue(AntennaRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void assocAntennaIdFromText(const std::string &s)
void setDishDiameter(Length dishDiameter)
Set dishDiameter with the specified Length.
void setFromIDL(asdmIDL::AntennaRowIDL x)
Fill the values of this row from the IDL struct AntennaRowIDL.
AntennaTable & table
The table to which this row belongs.
AntennaRow(AntennaTable &table)
Create a AntennaRow.
Tag getAssocAntennaId() const
Get assocAntennaId, which is optional.
std::string getName() const
===> Attribute name
void antennaTypeFromBin(EndianIStream &eis)
void nameFromBin(EndianIStream &eis)
void setName(std::string name)
Set name with the specified std::string.
void setOffset(std::vector< Length > offset)
Set offset with the specified std::vector<Length >.
void antennaMakeFromBin(EndianIStream &eis)
std::vector< Length > offset
===> Attribute offset
void antennaIdFromText(const std::string &s)
void setAssocAntennaId(Tag assocAntennaId)
Set assocAntennaId with the specified Tag.
void setPosition(std::vector< Length > position)
Set position with the specified std::vector<Length >.
std::vector< Length > getOffset() const
===> Attribute offset
void offsetFromText(const std::string &s)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag value.
void(AntennaRow::* AntennaAttributeFromText)(const std::string &s)
void setStationId(Tag stationId)
Set stationId with the specified Tag.
void assocAntennaIdFromBin(EndianIStream &eis)
std::vector< Length > position
===> Attribute position
void dishDiameterFromText(const std::string &s)
bool compareNoAutoInc(std::string name, AntennaMakeMod::AntennaMake antennaMake, AntennaTypeMod::AntennaType antennaType, Length dishDiameter, std::vector< Length > position, std::vector< Length > offset, ArrayTime time, Tag stationId)
Compare each mandatory attribute except the autoincrementable one of this AntennaRow with the corresp...
void positionFromText(const std::string &s)
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void dishDiameterFromBin(EndianIStream &eis)
void positionFromBin(EndianIStream &eis)
void nameFromText(const std::string &s)
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
The AntennaRow class is a row of a AntennaTable.
Tag getStationId() const
===> Attribute stationId
StationRow * getStationUsingStationId()
stationId pointer to the row in the Station table having Station.stationId == stationId ...
void antennaIdFromBin(EndianIStream &eis)
AntennaRow * getAssociatedAntenna() const
Get the optional row in table Antenna by traversing the defined link to that table.
The Length class implements a quantity of length in meters.
Tag stationId
===> Attribute stationId
The AntennaTable class is an Alma table.
asdmIDL::AntennaRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
AntennaTable & getTable() const
Return the table to which this row belongs.
std::string toXML() const
Return this row in the form of an XML string.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
ArrayTime getTime() const
===> Attribute time
*text deserialization material std::map< std::string, AntennaAttributeFromText > fromTextMethods
ArrayTime time
===> Attribute time
AntennaTypeMod::AntennaType getAntennaType() const
===> Attribute antennaType
bool compareRequiredValue(std::string name, AntennaMakeMod::AntennaMake antennaMake, AntennaTypeMod::AntennaType antennaType, Length dishDiameter, std::vector< Length > position, std::vector< Length > offset, ArrayTime time, Tag stationId)
Compare each mandatory value (i.e.
bool isAdded() const
Has this row been added to its table ?
Length dishDiameter
===> Attribute dishDiameter
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setAssociatedAntennaLink(Tag assocAntennaId)
Set the values of the link attributes needed to link this row to a row in table Antenna.
Length getDishDiameter() const
===> Attribute dishDiameter
std::string name
===> Attribute name
void stationIdFromText(const std::string &s)
void timeFromBin(EndianIStream &eis)
void stationIdFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, AntennaAttributeFromBin > fromBinMethods
bool hasBeenAdded
Whether this row has been added to the table or not.
void clearAssocAntennaId()
Mark assocAntennaId, which is an optional field, as non-existent.
void setAntennaType(AntennaTypeMod::AntennaType antennaType)
Set antennaType with the specified AntennaTypeMod::AntennaType.
void(AntennaRow::* AntennaAttributeFromBin)(EndianIStream &eis)
AntennaTypeMod::AntennaType antennaType
===> Attribute antennaType
virtual ~AntennaRow()
friend class asdm::TableStreamReader<AntennaTable, AntennaRow>;
The StationRow class is a row of a StationTable.
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
void setTime(ArrayTime time)
Set time with the specified ArrayTime.
void offsetFromBin(EndianIStream &eis)
std::vector< Length > getPosition() const
===> Attribute position
void antennaMakeFromText(const std::string &s)