34 #ifndef SysCalRow_CLASS
35 #define SysCalRow_CLASS
124 class SpectralWindowRow;
842 Tag getAntennaId()
const;
1030 asdmIDL::SysCalRowIDL *
toIDL()
const;
1039 void toIDL(asdmIDL::SysCalRowIDL& x)
const;
1055 std::string
toXML()
const;
1109 void fromText(
const std::string& attributeName,
const std::string& t);
bool tantTsysFlagExists
===> Attribute tantTsysFlag, which is optional
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
int numReceptor
===> Attribute numReceptor
void setTantFlag(bool tantFlag)
Set tantFlag with the specified bool.
void clearTcalFlag()
Mark tcalFlag, which is an optional field, as non-existent.
std::vector< std::vector< float > > tantTsysSpectrum
bool isTcalSpectrumExists() const
===> Attribute tcalSpectrum, which is optional
bool isTantFlagExists() const
===> Attribute tantFlag, which is optional
void tskySpectrumFromText(const std::string &s)
std::vector< std::vector< float > > getTantTsysSpectrum() const
Get tantTsysSpectrum, which is optional.
bool isTcalFlagExists() const
===> Attribute tcalFlag, which is optional
void setPhaseDiffSpectrum(std::vector< std::vector< float > > phaseDiffSpectrum)
Set phaseDiffSpectrum with the specified std::vector<std::vector<float > >.
SysCalTable & getTable() const
Return the table to which this row belongs.
bool tantSpectrumExists
===> Attribute tantSpectrum, which is optional
std::vector< std::vector< Temperature > > getTrxSpectrum() const
Get trxSpectrum, which is optional.
bool isTantTsysFlagExists() const
===> Attribute tantTsysFlag, which is optional
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
*text deserialization material std::map< std::string, SysCalAttributeFromText > fromTextMethods
bool equalByRequiredValue(SysCalRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void clearTskyFlag()
Mark tskyFlag, which is an optional field, as non-existent.
void feedIdFromText(const std::string &s)
bool isTskySpectrumExists() const
===> Attribute tskySpectrum, which is optional
void timeIntervalFromText(const std::string &s)
bool tsysSpectrumExists
===> Attribute tsysSpectrum, which is optional
void tantTsysFlagFromBin(EndianIStream &eis)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
SysCalRow(SysCalTable &table)
Create a SysCalRow.
void clearTantTsysSpectrum()
Mark tantTsysSpectrum, which is an optional field, as non-existent.
void setNumChan(int numChan)
Set numChan with the specified int.
void numReceptorFromText(const std::string &s)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
bool getTcalFlag() const
Get tcalFlag, which is optional.
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numReceptor, int numChan)
Compare each mandatory attribute except the autoincrementable one of this SysCalRow with the correspo...
void setTantSpectrum(std::vector< std::vector< float > > tantSpectrum)
Set tantSpectrum with the specified std::vector<std::vector<float > >.
void setTcalSpectrum(std::vector< std::vector< Temperature > > tcalSpectrum)
Set tcalSpectrum with the specified std::vector<std::vector<Temperature > >.
void clearPhaseDiffFlag()
Mark phaseDiffFlag, which is an optional field, as non-existent.
void trxFlagFromText(const std::string &s)
bool tcalSpectrumExists
===> Attribute tcalSpectrum, which is optional
std::vector< std::vector< Temperature > > trxSpectrum
void tskyFlagFromText(const std::string &s)
void setTcalFlag(bool tcalFlag)
Set tcalFlag with the specified bool.
std::vector< std::vector< float > > getPhaseDiffSpectrum() const
Get phaseDiffSpectrum, which is optional.
bool hasBeenAdded
Whether this row has been added to the table or not.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void trxSpectrumFromBin(EndianIStream &eis)
bool tsysFlagExists
===> Attribute tsysFlag, which is optional
void(SysCalRow::* SysCalAttributeFromBin)(EndianIStream &eis)
void setTrxSpectrum(std::vector< std::vector< Temperature > > trxSpectrum)
Set trxSpectrum with the specified std::vector<std::vector<Temperature > >.
std::string toXML() const
Return this row in the form of an XML string.
void spectralWindowIdFromText(const std::string &s)
void clearTantSpectrum()
Mark tantSpectrum, which is an optional field, as non-existent.
void tskyFlagFromBin(EndianIStream &eis)
void antennaIdFromText(const std::string &s)
void numChanFromText(const std::string &s)
bool isTskyFlagExists() const
===> Attribute tskyFlag, which is optional
void setTantTsysFlag(bool tantTsysFlag)
Set tantTsysFlag with the specified bool.
int numChan
===> Attribute numChan
bool getTantTsysFlag() const
Get tantTsysFlag, which is optional.
bool trxFlagExists
===> Attribute trxFlag, which is optional
void phaseDiffFlagFromText(const std::string &s)
bool getTantFlag() const
Get tantFlag, which is optional.
bool tantTsysSpectrumExists
===> Attribute tantTsysSpectrum, which is optional
void tsysSpectrumFromBin(EndianIStream &eis)
void tantTsysSpectrumFromText(const std::string &s)
void tcalFlagFromText(const std::string &s)
virtual ~SysCalRow()
friend class asdm::TableStreamReader<SysCalTable, SysCalRow>;
void clearTsysSpectrum()
Mark tsysSpectrum, which is an optional field, as non-existent.
void tsysFlagFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTsysSpectrum() const
Get tsysSpectrum, which is optional.
bool compareRequiredValue(int numReceptor, int numChan)
Compare each mandatory value (i.e.
bool isTrxSpectrumExists() const
===> Attribute trxSpectrum, which is optional
void feedIdFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::SysCalRowIDL x)
Fill the values of this row from the IDL struct SysCalRowIDL.
bool isPhaseDiffFlagExists() const
===> Attribute phaseDiffFlag, which is optional
bool isTantTsysSpectrumExists() const
===> Attribute tantTsysSpectrum, which is optional
asdmIDL::SysCalRowIDL * toIDL() const
Return this row in the form of an IDL struct.
bool tskyFlagExists
===> Attribute tskyFlag, which is optional
void(SysCalRow::* SysCalAttributeFromText)(const std::string &s)
void trxSpectrumFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTcalSpectrum() const
Get tcalSpectrum, which is optional.
Tag spectralWindowId
===> Attribute spectralWindowId
The AntennaRow class is a row of a AntennaTable.
bool tcalFlagExists
===> Attribute tcalFlag, which is optional
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void clearTsysFlag()
Mark tsysFlag, which is an optional field, as non-existent.
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool isPhaseDiffSpectrumExists() const
===> Attribute phaseDiffSpectrum, which is optional
bool phaseDiffSpectrumExists
===> Attribute phaseDiffSpectrum, which is optional
void tantTsysSpectrumFromBin(EndianIStream &eis)
void setTrxFlag(bool trxFlag)
Set trxFlag with the specified bool.
void tantFlagFromBin(EndianIStream &eis)
void phaseDiffSpectrumFromText(const std::string &s)
void antennaIdFromBin(EndianIStream &eis)
void setTskySpectrum(std::vector< std::vector< Temperature > > tskySpectrum)
Set tskySpectrum with the specified std::vector<std::vector<Temperature > >.
The SysCalTable class is an Alma table.
void setTsysSpectrum(std::vector< std::vector< Temperature > > tsysSpectrum)
Set tsysSpectrum with the specified std::vector<std::vector<Temperature > >.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
bool getTsysFlag() const
Get tsysFlag, which is optional.
void clearPhaseDiffSpectrum()
Mark phaseDiffSpectrum, which is an optional field, as non-existent.
void setTantTsysSpectrum(std::vector< std::vector< float > > tantTsysSpectrum)
Set tantTsysSpectrum with the specified std::vector<std::vector<float > >.
void clearTcalSpectrum()
Mark tcalSpectrum, which is an optional field, as non-existent.
std::vector< std::vector< Temperature > > tcalSpectrum
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
bool getPhaseDiffFlag() const
Get phaseDiffFlag, which is optional.
The SysCalRow class is a row of a SysCalTable.
void clearTskySpectrum()
Mark tskySpectrum, which is an optional field, as non-existent.
void numChanFromBin(EndianIStream &eis)
void tcalFlagFromBin(EndianIStream &eis)
bool getTskyFlag() const
Get tskyFlag, which is optional.
bool phaseDiffFlagExists
===> Attribute phaseDiffFlag, which is optional
void tskySpectrumFromBin(EndianIStream &eis)
void setPhaseDiffFlag(bool phaseDiffFlag)
Set phaseDiffFlag with the specified bool.
void setTskyFlag(bool tskyFlag)
Set tskyFlag with the specified bool.
void setFeedId(int feedId)
Set feedId with the specified int.
bool isTrxFlagExists() const
===> Attribute trxFlag, which is optional
bool tantFlagExists
===> Attribute tantFlag, which is optional
bool trxSpectrumExists
===> Attribute trxSpectrum, which is optional
void tcalSpectrumFromText(const std::string &s)
int getNumChan() const
===> Attribute numChan
void trxFlagFromBin(EndianIStream &eis)
bool getTrxFlag() const
Get trxFlag, which is optional.
SysCalTable & table
The table to which this row belongs.
std::vector< std::vector< Temperature > > tsysSpectrum
bool isTsysFlagExists() const
===> Attribute tsysFlag, which is optional
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void clearTantTsysFlag()
Mark tantTsysFlag, which is an optional field, as non-existent.
std::vector< std::vector< float > > tantSpectrum
void phaseDiffFlagFromBin(EndianIStream &eis)
std::vector< std::vector< Temperature > > tskySpectrum
std::vector< std::vector< float > > phaseDiffSpectrum
void tantTsysFlagFromText(const std::string &s)
void clearTrxFlag()
Mark trxFlag, which is an optional field, as non-existent.
bool isAdded() const
Has this row been added to its table ?
void tsysSpectrumFromText(const std::string &s)
int getFeedId() const
===> Attribute feedId
void tantSpectrumFromBin(EndianIStream &eis)
std::vector< FeedRow * > getFeeds()
===> Slice link from a row of SysCal table to a collection of row of Feed table.
std::vector< std::vector< float > > getTantSpectrum() const
Get tantSpectrum, which is optional.
void tsysFlagFromBin(EndianIStream &eis)
The SpectralWindowRow class is a row of a SpectralWindowTable.
void numReceptorFromBin(EndianIStream &eis)
bool isTsysSpectrumExists() const
===> Attribute tsysSpectrum, which is optional
void tantSpectrumFromText(const std::string &s)
int feedId
===> Attribute feedId
void clearTantFlag()
Mark tantFlag, which is an optional field, as non-existent.
bool tskySpectrumExists
===> Attribute tskySpectrum, which is optional
void spectralWindowIdFromBin(EndianIStream &eis)
void timeIntervalFromBin(EndianIStream &eis)
void tantFlagFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTskySpectrum() const
Get tskySpectrum, which is optional.
void setTsysFlag(bool tsysFlag)
Set tsysFlag with the specified bool.
int getNumReceptor() const
===> Attribute numReceptor
bool isTantSpectrumExists() const
===> Attribute tantSpectrum, which is optional
Links *binary deserialization material from an EndianIStream std::map< std::string, SysCalAttributeFromBin > fromBinMethods
void phaseDiffSpectrumFromBin(EndianIStream &eis)
void clearTrxSpectrum()
Mark trxSpectrum, which is an optional field, as non-existent.
void tcalSpectrumFromBin(EndianIStream &eis)