34 #ifndef GainTrackingRow_CLASS
35 #define GainTrackingRow_CLASS
105 class SpectralWindowRow;
111 class GainTrackingRow;
446 Tag getAntennaId()
const;
638 asdmIDL::GainTrackingRowIDL *
toIDL()
const;
647 void toIDL(asdmIDL::GainTrackingRowIDL& x)
const;
656 void setFromIDL (asdmIDL::GainTrackingRowIDL x) ;
663 std::string
toXML()
const;
678 std::map<std::string, GainTrackingAttributeFromBin>
fromBinMethods;
708 void fromText(
const std::string& attributeName,
const std::string& t);
bool isNumAttFreqExists() const
===> Attribute numAttFreq, which is optional
bool samplingLevelExists
===> Attribute samplingLevel, which is optional
void feedIdFromText(const std::string &s)
int getNumReceptor() const
===> Attribute numReceptor
float getSamplingLevel() const
Get samplingLevel, which is optional.
void attFreqFromBin(EndianIStream &eis)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
bool equalByRequiredValue(GainTrackingRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
int feedId
===> Attribute feedId
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numReceptor, std::vector< float > attenuator, std::vector< PolarizationTypeMod::PolarizationType > polarizationType)
Compare each mandatory attribute except the autoincrementable one of this GainTrackingRow with the co...
int getFeedId() const
===> Attribute feedId
void clearAttSpectrum()
Mark attSpectrum, which is an optional field, as non-existent.
The GainTrackingRow class is a row of a GainTrackingTable.
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
asdmIDL::GainTrackingRowIDL * toIDL() const
Return this row in the form of an IDL struct.
bool hasBeenAdded
Whether this row has been added to the table or not.
Tag spectralWindowId
===> Attribute spectralWindowId
void polarizationTypeFromBin(EndianIStream &eis)
void setSamplingLevel(float samplingLevel)
Set samplingLevel with the specified float.
void polarizationTypeFromText(const std::string &s)
bool attFreqExists
===> Attribute attFreq, which is optional
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
std::vector< double > getAttFreq() const
Get attFreq, which is optional.
void setFromIDL(asdmIDL::GainTrackingRowIDL x)
Fill the values of this row from the IDL struct GainTrackingRowIDL.
void numAttFreqFromBin(EndianIStream &eis)
GainTrackingRow(GainTrackingTable &table)
Create a GainTrackingRow.
void setNumAttFreq(int numAttFreq)
Set numAttFreq with the specified int.
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
bool numAttFreqExists
===> Attribute numAttFreq, which is optional
std::vector< float > getAttenuator() const
===> Attribute attenuator
void feedIdFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void clearAttFreq()
Mark attFreq, which is an optional field, as non-existent.
void spectralWindowIdFromBin(EndianIStream &eis)
bool isAttSpectrumExists() const
===> Attribute attSpectrum, which is optional
void numReceptorFromBin(EndianIStream &eis)
int numReceptor
===> Attribute numReceptor
void samplingLevelFromBin(EndianIStream &eis)
int getNumAttFreq() const
Get numAttFreq, which is optional.
void timeIntervalFromBin(EndianIStream &eis)
void setPolarizationType(std::vector< PolarizationTypeMod::PolarizationType > polarizationType)
Set polarizationType with the specified std::vector<PolarizationTypeMod::PolarizationType >...
bool compareRequiredValue(int numReceptor, std::vector< float > attenuator, std::vector< PolarizationTypeMod::PolarizationType > polarizationType)
Compare each mandatory value (i.e.
void attenuatorFromBin(EndianIStream &eis)
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
void(GainTrackingRow::* GainTrackingAttributeFromBin)(EndianIStream &eis)
The AntennaRow class is a row of a AntennaTable.
void setAttSpectrum(std::vector< Complex > attSpectrum)
Set attSpectrum with the specified std::vector<Complex >.
*text deserialization material std::map< std::string, GainTrackingAttributeFromText > fromTextMethods
bool isAdded() const
Has this row been added to its table ?
std::vector< Complex > getAttSpectrum() const
Get attSpectrum, which is optional.
void setFeedId(int feedId)
Set feedId with the specified int.
void numReceptorFromText(const std::string &s)
GainTrackingTable & table
The table to which this row belongs.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::vector< FeedRow * > getFeeds()
===> Slice link from a row of GainTracking table to a collection of row of Feed table.
Links *binary deserialization material from an EndianIStream std::map< std::string, GainTrackingAttributeFromBin > fromBinMethods
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void numAttFreqFromText(const std::string &s)
void spectralWindowIdFromText(const std::string &s)
void attenuatorFromText(const std::string &s)
The GainTrackingTable class is an Alma table.
void attSpectrumFromBin(EndianIStream &eis)
void clearNumAttFreq()
Mark numAttFreq, which is an optional field, as non-existent.
virtual ~GainTrackingRow()
friend class asdm::TableStreamReader<GainTrackingTable, GainTrackingRow>;
GainTrackingTable & getTable() const
Return the table to which this row belongs.
void setAttFreq(std::vector< double > attFreq)
Set attFreq with the specified std::vector<double >.
void attSpectrumFromText(const std::string &s)
std::vector< float > attenuator
===> Attribute attenuator
void clearSamplingLevel()
Mark samplingLevel, which is an optional field, as non-existent.
void setAttenuator(std::vector< float > attenuator)
Set attenuator with the specified std::vector<float >.
std::vector< Complex > attSpectrum
void attFreqFromText(const std::string &s)
std::vector< double > attFreq
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationType() const
===> Attribute polarizationType
bool isSamplingLevelExists() const
===> Attribute samplingLevel, which is optional
void samplingLevelFromText(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void(GainTrackingRow::* GainTrackingAttributeFromText)(const std::string &s)
The SpectralWindowRow class is a row of a SpectralWindowTable.
void antennaIdFromBin(EndianIStream &eis)
void antennaIdFromText(const std::string &s)
void timeIntervalFromText(const std::string &s)
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
bool isAttFreqExists() const
===> Attribute attFreq, which is optional
bool attSpectrumExists
===> Attribute attSpectrum, which is optional
std::vector< PolarizationTypeMod::PolarizationType > polarizationType
===> Attribute polarizationType