34 #ifndef SysPowerRow_CLASS
35 #define SysPowerRow_CLASS
93 class SpectralWindowRow;
333 Tag getAntennaId()
const;
517 asdmIDL::SysPowerRowIDL *
toIDL()
const;
526 void toIDL(asdmIDL::SysPowerRowIDL& x)
const;
542 std::string
toXML()
const;
584 void fromText(
const std::string& attributeName,
const std::string& t);
std::vector< FeedRow * > getFeeds()
===> Slice link from a row of SysPower table to a collection of row of Feed table.
void setFromIDL(asdmIDL::SysPowerRowIDL x)
Fill the values of this row from the IDL struct SysPowerRowIDL.
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
SysPowerTable & table
The table to which this row belongs.
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
int getFeedId() const
===> Attribute feedId
SysPowerTable & getTable() const
Return the table to which this row belongs.
Links *binary deserialization material from an EndianIStream std::map< std::string, SysPowerAttributeFromBin > fromBinMethods
std::vector< float > switchedPowerSum
void(SysPowerRow::* SysPowerAttributeFromText)(const std::string &s)
void setSwitchedPowerSum(std::vector< float > switchedPowerSum)
Set switchedPowerSum with the specified std::vector<float >.
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
bool switchedPowerSumExists
===> Attribute switchedPowerSum, which is optional
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
bool isSwitchedPowerSumExists() const
===> Attribute switchedPowerSum, which is optional
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void setRequantizerGain(std::vector< float > requantizerGain)
Set requantizerGain with the specified std::vector<float >.
void requantizerGainFromBin(EndianIStream &eis)
The SysPowerRow class is a row of a SysPowerTable.
void switchedPowerSumFromText(const std::string &s)
std::vector< float > requantizerGain
void clearRequantizerGain()
Mark requantizerGain, which is an optional field, as non-existent.
void(SysPowerRow::* SysPowerAttributeFromBin)(EndianIStream &eis)
std::vector< float > getRequantizerGain() const
Get requantizerGain, which is optional.
void switchedPowerSumFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool isAdded() const
Has this row been added to its table ?
void antennaIdFromText(const std::string &s)
void numReceptorFromText(const std::string &s)
virtual ~SysPowerRow()
friend class asdm::TableStreamReader<SysPowerTable, SysPowerRow>;
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
std::vector< float > getSwitchedPowerSum() const
Get switchedPowerSum, which is optional.
bool isSwitchedPowerDifferenceExists() const
===> Attribute switchedPowerDifference, which is optional
void switchedPowerDifferenceFromBin(EndianIStream &eis)
SysPowerRow(SysPowerTable &table)
Create a SysPowerRow.
bool switchedPowerDifferenceExists
===> Attribute switchedPowerDifference, which is optional
void setFeedId(int feedId)
Set feedId with the specified int.
bool requantizerGainExists
===> Attribute requantizerGain, which is optional
void numReceptorFromBin(EndianIStream &eis)
void spectralWindowIdFromBin(EndianIStream &eis)
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
int numReceptor
===> Attribute numReceptor
The AntennaRow class is a row of a AntennaTable.
bool equalByRequiredValue(SysPowerRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
asdmIDL::SysPowerRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void spectralWindowIdFromText(const std::string &s)
Tag spectralWindowId
===> Attribute spectralWindowId
void clearSwitchedPowerDifference()
Mark switchedPowerDifference, which is an optional field, as non-existent.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setSwitchedPowerDifference(std::vector< float > switchedPowerDifference)
Set switchedPowerDifference with the specified std::vector<float >.
The SysPowerTable class is an Alma table.
std::vector< float > switchedPowerDifference
std::vector< float > getSwitchedPowerDifference() const
Get switchedPowerDifference, which is optional.
void switchedPowerDifferenceFromText(const std::string &s)
bool isRequantizerGainExists() const
===> Attribute requantizerGain, which is optional
void timeIntervalFromBin(EndianIStream &eis)
int feedId
===> Attribute feedId
void clearSwitchedPowerSum()
Mark switchedPowerSum, which is an optional field, as non-existent.
void timeIntervalFromText(const std::string &s)
void antennaIdFromBin(EndianIStream &eis)
bool compareRequiredValue(int numReceptor)
Compare each mandatory value (i.e.
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, int feedId, ArrayTimeInterval timeInterval, int numReceptor)
Compare each mandatory attribute except the autoincrementable one of this SysPowerRow with the corres...
void feedIdFromText(const std::string &s)
void requantizerGainFromText(const std::string &s)
The SpectralWindowRow class is a row of a SpectralWindowTable.
bool hasBeenAdded
Whether this row has been added to the table or not.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void feedIdFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
*text deserialization material std::map< std::string, SysPowerAttributeFromText > fromTextMethods
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
int getNumReceptor() const
===> Attribute numReceptor