34 #ifndef ReceiverRow_CLASS
35 #define ReceiverRow_CLASS
106 class SpectralWindowRow;
154 int getReceiverId()
const;
296 std::vector<Frequency >
getFreqLO()
const;
356 std::vector<NetSidebandMod::NetSideband >
getSidebandLO()
const;
390 Tag getSpectralWindowId()
const;
494 asdmIDL::ReceiverRowIDL *
toIDL()
const;
503 void toIDL(asdmIDL::ReceiverRowIDL& x)
const;
519 std::string
toXML()
const;
562 void fromText(
const std::string& attributeName,
const std::string& t);
721 Tag spectralWindowId;
bool compareNoAutoInc(Tag spectralWindowId, ArrayTimeInterval timeInterval, std::string name, int numLO, ReceiverBandMod::ReceiverBand frequencyBand, std::vector< Frequency > freqLO, ReceiverSidebandMod::ReceiverSideband receiverSideband, std::vector< NetSidebandMod::NetSideband > sidebandLO)
Compare each mandatory attribute except the autoincrementable one of this ReceiverRow with the corres...
void numLOFromText(const std::string &s)
The ReceiverRow class is a row of a ReceiverTable.
void sidebandLOFromText(const std::string &s)
int numLO
===> Attribute numLO
void spectralWindowIdFromText(const std::string &s)
ReceiverRow(ReceiverTable &table)
Create a ReceiverRow.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
asdmIDL::ReceiverRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::vector< NetSidebandMod::NetSideband > sidebandLO
===> Attribute sidebandLO
void receiverIdFromText(const std::string &s)
void setFreqLO(std::vector< Frequency > freqLO)
Set freqLO with the specified std::vector<Frequency >.
void frequencyBandFromText(const std::string &s)
ReceiverSidebandMod::ReceiverSideband getReceiverSideband() const
===> Attribute receiverSideband
void setName(std::string name)
Set name with the specified std::string.
ReceiverTable & table
The table to which this row belongs.
int getNumLO() const
===> Attribute numLO
void freqLOFromText(const std::string &s)
void setSidebandLO(std::vector< NetSidebandMod::NetSideband > sidebandLO)
Set sidebandLO with the specified std::vector<NetSidebandMod::NetSideband >.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setFromIDL(asdmIDL::ReceiverRowIDL x)
Fill the values of this row from the IDL struct ReceiverRowIDL.
std::string name
===> Attribute name
std::vector< NetSidebandMod::NetSideband > getSidebandLO() const
===> Attribute sidebandLO
void freqLOFromBin(EndianIStream &eis)
virtual ~ReceiverRow()
friend class asdm::TableStreamReader<ReceiverTable, ReceiverRow>;
ReceiverBandMod::ReceiverBand getFrequencyBand() const
===> Attribute frequencyBand
void(ReceiverRow::* ReceiverAttributeFromBin)(EndianIStream &eis)
std::vector< Frequency > getFreqLO() const
===> Attribute freqLO
ReceiverSidebandMod::ReceiverSideband receiverSideband
===> Attribute receiverSideband
void receiverSidebandFromBin(EndianIStream &eis)
The ReceiverTable class is an Alma table.
void nameFromText(const std::string &s)
void setReceiverSideband(ReceiverSidebandMod::ReceiverSideband receiverSideband)
Set receiverSideband with the specified ReceiverSidebandMod::ReceiverSideband.
ReceiverBandMod::ReceiverBand frequencyBand
===> Attribute frequencyBand
ReceiverTable & getTable() const
Return the table to which this row belongs.
void numLOFromBin(EndianIStream &eis)
void spectralWindowIdFromBin(EndianIStream &eis)
void(ReceiverRow::* ReceiverAttributeFromText)(const std::string &s)
*text deserialization material std::map< std::string, ReceiverAttributeFromText > fromTextMethods
void setNumLO(int numLO)
Set numLO with the specified int.
ArrayTimeInterval timeInterval
===> Attribute timeInterval
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void receiverSidebandFromText(const std::string &s)
bool compareRequiredValue(std::string name, int numLO, ReceiverBandMod::ReceiverBand frequencyBand, std::vector< Frequency > freqLO, ReceiverSidebandMod::ReceiverSideband receiverSideband, std::vector< NetSidebandMod::NetSideband > sidebandLO)
Compare each mandatory value (i.e.
Links *SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
bool hasBeenAdded
Whether this row has been added to the table or not.
void timeIntervalFromText(const std::string &s)
void nameFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, ReceiverAttributeFromBin > fromBinMethods
void receiverIdFromBin(EndianIStream &eis)
bool isAdded() const
Has this row been added to its table ?
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
ArrayTimeInterval getTimeInterval() const
===> Attribute timeInterval
void sidebandLOFromBin(EndianIStream &eis)
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
The SpectralWindowRow class is a row of a SpectralWindowTable.
std::string getName() const
===> Attribute name
void setReceiverId(int receiverId)
Set receiverId with the specified int value.
void setFrequencyBand(ReceiverBandMod::ReceiverBand frequencyBand)
Set frequencyBand with the specified ReceiverBandMod::ReceiverBand.
std::vector< Frequency > freqLO
===> Attribute freqLO
std::string toXML() const
Return this row in the form of an XML string.
void frequencyBandFromBin(EndianIStream &eis)
bool equalByRequiredValue(ReceiverRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void timeIntervalFromBin(EndianIStream &eis)