34 #ifndef AnnotationRow_CLASS
35 #define AnnotationRow_CLASS
166 Tag getAnnotationId()
const;
529 std::vector<std::vector<double > >
getVvdValues()
const;
652 std::vector<std::vector<int64_t > >
getVvllValue()
const;
729 bool isAntennaIdExists()
const;
865 asdmIDL::AnnotationRowIDL *
toIDL()
const;
874 void toIDL(asdmIDL::AnnotationRowIDL& x)
const;
883 void setFromIDL (asdmIDL::AnnotationRowIDL x) ;
890 std::string
toXML()
const;
940 void fromText(
const std::string& attributeName,
const std::string& t);
1197 bool antennaIdExists;
void detailsFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void(AnnotationRow::* AnnotationAttributeFromText)(const std::string &s)
AnnotationRow(AnnotationTable &table)
Create a AnnotationRow.
bool numAntennaExists
===> Attribute numAntenna, which is optional
Interval getInterval() const
Get interval, which is optional.
The Interval class implements an interval of time in units of nanoseconds.
std::vector< int64_t > getVllValue() const
Get vllValue, which is optional.
int64_t getLlValue() const
Get llValue, which is optional.
void clearVvllValue()
Mark vvllValue, which is an optional field, as non-existent.
bool hasBeenAdded
Whether this row has been added to the table or not.
std::vector< double > vdValue
void annotationIdFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
void timeFromBin(EndianIStream &eis)
void clearDValue()
Mark dValue, which is an optional field, as non-existent.
bool isVdValueExists() const
===> Attribute vdValue, which is optional
void clearNumAntenna()
Mark numAntenna, which is an optional field, as non-existent.
void llValueFromText(const std::string &s)
std::vector< BasebandNameMod::BasebandName > getBasebandName() const
Get basebandName, which is optional.
void setDValue(double dValue)
Set dValue with the specified double.
void setAnnotationId(Tag annotationId)
Set annotationId with the specified Tag value.
bool vllValueExists
===> Attribute vllValue, which is optional
void clearVvdValues()
Mark vvdValues, which is an optional field, as non-existent.
std::vector< int64_t > vllValue
bool isLlValueExists() const
===> Attribute llValue, which is optional
void intervalFromBin(EndianIStream &eis)
std::string getSValue() const
Get sValue, which is optional.
asdmIDL::AnnotationRowIDL * toIDL() const
Return this row in the form of an IDL struct.
bool isVvllValueExists() const
===> Attribute vvllValue, which is optional
void dValueFromBin(EndianIStream &eis)
void antennaIdFromText(const std::string &s)
std::string details
===> Attribute details
void vvllValueFromBin(EndianIStream &eis)
void clearNumBaseband()
Mark numBaseband, which is an optional field, as non-existent.
double getDValue() const
Get dValue, which is optional.
void setVllValue(std::vector< int64_t > vllValue)
Set vllValue with the specified std::vector<int64_t >.
void issueFromBin(EndianIStream &eis)
bool compareNoAutoInc(ArrayTime time, std::string issue, std::string details)
Compare each mandatory attribute except the autoincrementable one of this AnnotationRow with the corr...
bool vvdValuesExists
===> Attribute vvdValues, which is optional
bool vvllValueExists
===> Attribute vvllValue, which is optional
void setVvdValues(std::vector< std::vector< double > > vvdValues)
Set vvdValues with the specified std::vector<std::vector<double > >.
void numBasebandFromText(const std::string &s)
bool vdValueExists
===> Attribute vdValue, which is optional
void setDetails(std::string details)
Set details with the specified std::string.
void basebandNameFromBin(EndianIStream &eis)
void clearVdValue()
Mark vdValue, which is an optional field, as non-existent.
int getNumBaseband() const
Get numBaseband, which is optional.
std::vector< std::vector< double > > getVvdValues() const
Get vvdValues, which is optional.
ArrayTime getTime() const
===> Attribute time
void setLlValue(int64_t llValue)
Set llValue with the specified int64_t.
bool isIntervalExists() const
===> Attribute interval, which is optional
std::vector< std::vector< int64_t > > vvllValue
int getNumAntenna() const
Get numAntenna, which is optional.
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector<Tag> .
AntennaRow * getAntennaUsingAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in antennaId at position i...
std::vector< double > getVdValue() const
Get vdValue, which is optional.
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void issueFromText(const std::string &s)
void numAntennaFromBin(EndianIStream &eis)
bool sValueExists
===> Attribute sValue, which is optional
bool isVllValueExists() const
===> Attribute vllValue, which is optional
bool compareRequiredValue(ArrayTime time, std::string issue, std::string details)
Compare each mandatory value (i.e.
The AntennaRow class is a row of a AntennaTable.
void addAntennaId(Tag id)
Append a Tag to antennaId.
bool isNumBasebandExists() const
===> Attribute numBaseband, which is optional
void detailsFromBin(EndianIStream &eis)
std::vector< std::vector< double > > vvdValues
void vllValueFromText(const std::string &s)
void setFromIDL(asdmIDL::AnnotationRowIDL x)
Fill the values of this row from the IDL struct AnnotationRowIDL.
void setSValue(std::string sValue)
Set sValue with the specified std::string.
void numBasebandFromBin(EndianIStream &eis)
The AnnotationRow class is a row of a AnnotationTable.
void clearVllValue()
Mark vllValue, which is an optional field, as non-existent.
void llValueFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
void setVvllValue(std::vector< std::vector< int64_t > > vvllValue)
Set vvllValue with the specified std::vector<std::vector<int64_t > >.
void setIssue(std::string issue)
Set issue with the specified std::string.
void vvllValueFromText(const std::string &s)
void clearLlValue()
Mark llValue, which is an optional field, as non-existent.
void intervalFromText(const std::string &s)
std::string getIssue() const
===> Attribute issue
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void vllValueFromBin(EndianIStream &eis)
std::vector< Tag > getAntennaId() const
Get antennaId, which is optional.
void setInterval(Interval interval)
Set interval with the specified Interval.
bool isSValueExists() const
===> Attribute sValue, which is optional
Links *binary deserialization material from an EndianIStream std::map< std::string, AnnotationAttributeFromBin > fromBinMethods
void vvdValuesFromBin(EndianIStream &eis)
void setNumBaseband(int numBaseband)
Set numBaseband with the specified int.
AnnotationTable & table
The table to which this row belongs.
void vdValueFromText(const std::string &s)
bool basebandNameExists
===> Attribute basebandName, which is optional
void antennaIdFromBin(EndianIStream &eis)
void dValueFromText(const std::string &s)
std::string issue
===> Attribute issue
bool isVvdValuesExists() const
===> Attribute vvdValues, which is optional
bool dValueExists
===> Attribute dValue, which is optional
std::string toXML() const
Return this row in the form of an XML string.
void numAntennaFromText(const std::string &s)
std::string getDetails() const
===> Attribute details
void vvdValuesFromText(const std::string &s)
void setVdValue(std::vector< double > vdValue)
Set vdValue with the specified std::vector<double >.
std::vector< BasebandNameMod::BasebandName > basebandName
void clearSValue()
Mark sValue, which is an optional field, as non-existent.
bool numBasebandExists
===> Attribute numBaseband, which is optional
virtual ~AnnotationRow()
friend class asdm::TableStreamReader<AnnotationTable, AnnotationRow>;
bool llValueExists
===> Attribute llValue, which is optional
void clearAntennaId()
Mark antennaId, which is an optional field, as non-existent.
*text deserialization material std::map< std::string, AnnotationAttributeFromText > fromTextMethods
bool equalByRequiredValue(AnnotationRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void vdValueFromBin(EndianIStream &eis)
void clearInterval()
Mark interval, which is an optional field, as non-existent.
std::vector< Tag > antennaId
void(AnnotationRow::* AnnotationAttributeFromBin)(EndianIStream &eis)
void sValueFromText(const std::string &s)
void basebandNameFromText(const std::string &s)
void clearBasebandName()
Mark basebandName, which is an optional field, as non-existent.
void annotationIdFromBin(EndianIStream &eis)
void setTime(ArrayTime time)
Set time with the specified ArrayTime.
bool isBasebandNameExists() const
===> Attribute basebandName, which is optional
bool intervalExists
===> Attribute interval, which is optional
The AnnotationTable class is an Alma table.
bool isDValueExists() const
===> Attribute dValue, which is optional
void timeFromText(const std::string &s)
void sValueFromBin(EndianIStream &eis)
bool isNumAntennaExists() const
===> Attribute numAntenna, which is optional
std::vector< std::vector< int64_t > > getVvllValue() const
Get vvllValue, which is optional.
void setBasebandName(std::vector< BasebandNameMod::BasebandName > basebandName)
Set basebandName with the specified std::vector<BasebandNameMod::BasebandName >.
AnnotationTable & getTable() const
Return the table to which this row belongs.
ArrayTime time
===> Attribute time