34 #ifndef FreqOffsetRow_CLASS
35 #define FreqOffsetRow_CLASS
91 class SpectralWindowRow;
208 Tag getAntennaId()
const;
392 asdmIDL::FreqOffsetRowIDL *
toIDL()
const;
401 void toIDL(asdmIDL::FreqOffsetRowIDL& x)
const;
410 void setFromIDL (asdmIDL::FreqOffsetRowIDL x) ;
417 std::string
toXML()
const;
456 void fromText(
const std::string& attributeName,
const std::string& t);
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
void(FreqOffsetRow::* FreqOffsetAttributeFromText)(const std::string &s)
void offsetFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, FreqOffsetAttributeFromBin > fromBinMethods
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
void spectralWindowIdFromText(const std::string &s)
void feedIdFromText(const std::string &s)
The FreqOffsetRow class is a row of a FreqOffsetTable.
The FreqOffsetTable class is an Alma table.
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, Frequency offset)
Compare each mandatory attribute except the autoincrementable one of this FreqOffsetRow with the corr...
FreqOffsetTable & table
The table to which this row belongs.
void feedIdFromBin(EndianIStream &eis)
void antennaIdFromBin(EndianIStream &eis)
int getFeedId() const
===> Attribute feedId
virtual ~FreqOffsetRow()
friend class asdm::TableStreamReader<FreqOffsetTable, FreqOffsetRow>;
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
std::string toXML() const
Return this row in the form of an XML string.
int feedId
===> Attribute feedId
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void offsetFromText(const std::string &s)
Tag spectralWindowId
===> Attribute spectralWindowId
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool equalByRequiredValue(FreqOffsetRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void antennaIdFromText(const std::string &s)
void setFeedId(int feedId)
Set feedId with the specified int.
The AntennaRow class is a row of a AntennaTable.
FreqOffsetRow(FreqOffsetTable &table)
Create a FreqOffsetRow.
std::vector< FeedRow * > getFeeds()
===> Slice link from a row of FreqOffset table to a collection of row of Feed table.
bool hasBeenAdded
Whether this row has been added to the table or not.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void timeIntervalFromBin(EndianIStream &eis)
void timeIntervalFromText(const std::string &s)
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
Frequency offset
===> Attribute offset
void setFromIDL(asdmIDL::FreqOffsetRowIDL x)
Fill the values of this row from the IDL struct FreqOffsetRowIDL.
*text deserialization material std::map< std::string, FreqOffsetAttributeFromText > fromTextMethods
void setOffset(Frequency offset)
Set offset with the specified Frequency.
Frequency getOffset() const
===> Attribute offset
asdmIDL::FreqOffsetRowIDL * toIDL() const
Return this row in the form of an IDL struct.
FreqOffsetTable & getTable() const
Return the table to which this row belongs.
void spectralWindowIdFromBin(EndianIStream &eis)
void(FreqOffsetRow::* FreqOffsetAttributeFromBin)(EndianIStream &eis)
The Frequency class implements a quantity of frequency in hertz.
The SpectralWindowRow class is a row of a SpectralWindowTable.
bool isAdded() const
Has this row been added to its table ?
bool compareRequiredValue(Frequency offset)
Compare each mandatory value (i.e.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.