34 #ifndef ConfigDescriptionRow_CLASS
35 #define ConfigDescriptionRow_CLASS
110 class ConfigDescriptionRow;
119 class SwitchCycleRow;
122 class DataDescriptionRow;
128 class ConfigDescriptionRow;
173 int getNumAntenna()
const;
444 SpectralResolutionTypeMod::SpectralResolutionType
getSpectralType()
const;
522 std::vector<SpectralResolutionTypeMod::SpectralResolutionType >
getAssocNature()
const;
884 const std::vector <FeedRow *>
getFeeds(
int i);
892 const std::vector <FeedRow *>
getFeeds();
1053 bool compareNoAutoInc(
int numAntenna,
int numDataDescription,
int numFeed, CorrelationModeMod::CorrelationMode
correlationMode,
int numAtmPhaseCorrection, std::vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >
atmPhaseCorrection, ProcessorTypeMod::ProcessorType
processorType, SpectralResolutionTypeMod::SpectralResolutionType
spectralType, std::vector<Tag> antennaId, std::vector<int>
feedId, std::vector<Tag>
switchCycleId, std::vector<Tag>
dataDescriptionId,
Tag processorId);
1089 bool compareRequiredValue(
int numAntenna,
int numDataDescription,
int numFeed, CorrelationModeMod::CorrelationMode
correlationMode,
int numAtmPhaseCorrection, std::vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >
atmPhaseCorrection, ProcessorTypeMod::ProcessorType
processorType, SpectralResolutionTypeMod::SpectralResolutionType
spectralType, std::vector<Tag> antennaId, std::vector<int>
feedId, std::vector<Tag>
switchCycleId, std::vector<Tag>
dataDescriptionId,
Tag processorId);
1107 asdmIDL::ConfigDescriptionRowIDL *
toIDL()
const;
1116 void toIDL(asdmIDL::ConfigDescriptionRowIDL& x)
const;
1125 void setFromIDL (asdmIDL::ConfigDescriptionRowIDL x) ;
1132 std::string
toXML()
const;
1147 std::map<std::string, ConfigDescriptionAttributeFromBin>
fromBinMethods;
1184 void fromText(
const std::string& attributeName,
const std::string& t);
1378 std::vector<SpectralResolutionTypeMod::SpectralResolutionType >
assocNature;
1393 std::vector<Tag> antennaId;
std::vector< Tag > assocConfigDescriptionId
void setProcessorId(Tag processorId)
Set processorId with the specified Tag.
AntennaRow * getAntennaUsingAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in antennaId at position i...
void switchCycleIdFromText(const std::string &s)
void assocConfigDescriptionIdFromText(const std::string &s)
void setFromIDL(asdmIDL::ConfigDescriptionRowIDL x)
Fill the values of this row from the IDL struct ConfigDescriptionRowIDL.
void setNumFeed(int numFeed)
Set numFeed with the specified int.
CorrelationModeMod::CorrelationMode correlationMode
===> Attribute correlationMode
void configDescriptionIdFromText(const std::string &s)
void setAssocConfigDescriptionId(std::vector< Tag > assocConfigDescriptionId)
Set assocConfigDescriptionId with the specified std::vector<Tag> .
Links *binary deserialization material from an EndianIStream std::map< std::string, ConfigDescriptionAttributeFromBin > fromBinMethods
bool compareRequiredValue(int numAntenna, int numDataDescription, int numFeed, CorrelationModeMod::CorrelationMode correlationMode, int numAtmPhaseCorrection, std::vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrection, ProcessorTypeMod::ProcessorType processorType, SpectralResolutionTypeMod::SpectralResolutionType spectralType, std::vector< Tag > antennaId, std::vector< int > feedId, std::vector< Tag > switchCycleId, std::vector< Tag > dataDescriptionId, Tag processorId)
Compare each mandatory value (i.e.
int numDataDescription
===> Attribute numDataDescription
void numAtmPhaseCorrectionFromText(const std::string &s)
void processorIdFromBin(EndianIStream &eis)
void correlationModeFromBin(EndianIStream &eis)
std::vector< DataDescriptionRow * > getDataDescriptionsUsingDataDescriptionId()
Returns the vector of DataDescriptionRow* linked to this row via the Tags stored in dataDescriptionId...
void addSwitchCycleId(Tag id)
Append a Tag to switchCycleId.
void numFeedFromBin(EndianIStream &eis)
Tag getProcessorId() const
===> Attribute processorId
bool hasBeenAdded
Whether this row has been added to the table or not.
void numAntennaFromText(const std::string &s)
ProcessorTypeMod::ProcessorType getProcessorType() const
===> Attribute processorType
void addAssocConfigDescriptionId(Tag id)
Append a Tag to assocConfigDescriptionId.
int getNumDataDescription() const
===> Attribute numDataDescription
void spectralTypeFromText(const std::string &s)
DataDescriptionRow * getDataDescriptionUsingDataDescriptionId(int i)
Returns the DataDescriptionRow linked to this row via the tag stored in dataDescriptionId at position...
std::vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrection
===> Attribute atmPhaseCorrection
bool compareNoAutoInc(int numAntenna, int numDataDescription, int numFeed, CorrelationModeMod::CorrelationMode correlationMode, int numAtmPhaseCorrection, std::vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrection, ProcessorTypeMod::ProcessorType processorType, SpectralResolutionTypeMod::SpectralResolutionType spectralType, std::vector< Tag > antennaId, std::vector< int > feedId, std::vector< Tag > switchCycleId, std::vector< Tag > dataDescriptionId, Tag processorId)
Compare each mandatory attribute except the autoincrementable one of this ConfigDescriptionRow with t...
bool isNumAssocValuesExists() const
===> Attribute numAssocValues, which is optional
virtual ~ConfigDescriptionRow()
friend class asdm::TableStreamReader<ConfigDescriptionTable, ConfigDescriptionRow>; ...
ProcessorTypeMod::ProcessorType processorType
===> Attribute processorType
const std::vector< FeedRow * > getFeeds()
Get the collection of rows in the Feed table having feedId == feedId[i] for any i in [O...
void atmPhaseCorrectionFromText(const std::string &s)
The ConfigDescriptionTable class is an Alma table.
void dataDescriptionIdFromBin(EndianIStream &eis)
bool assocConfigDescriptionIdExists
===> Attribute assocConfigDescriptionId, which is optional
void assocNatureFromBin(EndianIStream &eis)
void setFeedId(std::vector< int > feedId)
Set feedId with the specified std::vector<int> .
void clearNumAssocValues()
Mark numAssocValues, which is an optional field, as non-existent.
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector<Tag> .
std::vector< int > feedId
===> Attribute feedId
void setPhasedArrayList(std::vector< int > phasedArrayList)
Set phasedArrayList with the specified std::vector<int >.
ConfigDescriptionRow * getConfigDescriptionUsingAssocConfigDescriptionId(int i)
Returns the ConfigDescriptionRow linked to this row via the tag stored in assocConfigDescriptionId at...
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
bool numAssocValuesExists
===> Attribute numAssocValues, which is optional
void setAssocNature(std::vector< SpectralResolutionTypeMod::SpectralResolutionType > assocNature)
Set assocNature with the specified std::vector<SpectralResolutionTypeMod::SpectralResolutionType >...
void atmPhaseCorrectionFromBin(EndianIStream &eis)
std::vector< SpectralResolutionTypeMod::SpectralResolutionType > assocNature
int getNumAtmPhaseCorrection() const
===> Attribute numAtmPhaseCorrection
std::vector< int > phasedArrayList
std::vector< int > getFeedId() const
===> Attribute feedId
std::vector< Tag > dataDescriptionId
===> Attribute dataDescriptionId
The SwitchCycleRow class is a row of a SwitchCycleTable.
void numAssocValuesFromBin(EndianIStream &eis)
ConfigDescriptionTable & getTable() const
Return the table to which this row belongs.
void clearAssocNature()
Mark assocNature, which is an optional field, as non-existent.
void addDataDescriptionId(Tag id)
Append a Tag to dataDescriptionId.
void clearAssocConfigDescriptionId()
Mark assocConfigDescriptionId, which is an optional field, as non-existent.
void phasedArrayListFromText(const std::string &s)
bool isAssocNatureExists() const
===> Attribute assocNature, which is optional
std::vector< SpectralResolutionTypeMod::SpectralResolutionType > getAssocNature() const
Get assocNature, which is optional.
ConfigDescriptionRow(ConfigDescriptionTable &table)
Create a ConfigDescriptionRow.
void phasedArrayListFromBin(EndianIStream &eis)
std::vector< ConfigDescriptionRow * > getConfigDescriptionsUsingAssocConfigDescriptionId()
Returns the vector of ConfigDescriptionRow* linked to this row via the Tags stored in assocConfigDesc...
void numAntennaFromBin(EndianIStream &eis)
void numAtmPhaseCorrectionFromBin(EndianIStream &eis)
Tag configDescriptionId
===> Attribute configDescriptionId
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool assocNatureExists
===> Attribute assocNature, which is optional
void assocNatureFromText(const std::string &s)
int getNumAssocValues() const
Get numAssocValues, which is optional.
void setNumAssocValues(int numAssocValues)
Set numAssocValues with the specified int.
The AntennaRow class is a row of a AntennaTable.
void antennaIdFromBin(EndianIStream &eis)
bool equalByRequiredValue(ConfigDescriptionRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void switchCycleIdFromBin(EndianIStream &eis)
void setAtmPhaseCorrection(std::vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrection)
Set atmPhaseCorrection with the specified std::vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >...
std::vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
bool isAdded() const
Has this row been added to its table ?
CorrelationModeMod::CorrelationMode getCorrelationMode() const
===> Attribute correlationMode
void setDataDescriptionId(std::vector< Tag > dataDescriptionId)
Set dataDescriptionId with the specified std::vector<Tag> .
SpectralResolutionTypeMod::SpectralResolutionType spectralType
===> Attribute spectralType
bool isPhasedArrayListExists() const
===> Attribute phasedArrayList, which is optional
ProcessorRow * getProcessorUsingProcessorId()
processorId pointer to the row in the Processor table having Processor.processorId == processorId ...
void processorTypeFromBin(EndianIStream &eis)
void setNumDataDescription(int numDataDescription)
Set numDataDescription with the specified int.
Tag processorId
===> Attribute processorId
void addAntennaId(Tag id)
Append a Tag to antennaId.
std::vector< Tag > getDataDescriptionId() const
===> Attribute dataDescriptionId
int numAtmPhaseCorrection
===> Attribute numAtmPhaseCorrection
void setCorrelationMode(CorrelationModeMod::CorrelationMode correlationMode)
Set correlationMode with the specified CorrelationModeMod::CorrelationMode.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
The DataDescriptionRow class is a row of a DataDescriptionTable.
void(ConfigDescriptionRow::* ConfigDescriptionAttributeFromText)(const std::string &s)
void setSwitchCycleId(std::vector< Tag > switchCycleId)
Set switchCycleId with the specified std::vector<Tag> .
bool phasedArrayListExists
===> Attribute phasedArrayList, which is optional
SpectralResolutionTypeMod::SpectralResolutionType getSpectralType() const
===> Attribute spectralType
void numAssocValuesFromText(const std::string &s)
std::vector< Tag > getAssocConfigDescriptionId() const
Get assocConfigDescriptionId, which is optional.
void processorTypeFromText(const std::string &s)
void correlationModeFromText(const std::string &s)
asdmIDL::ConfigDescriptionRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
std::vector< SwitchCycleRow * > getSwitchCyclesUsingSwitchCycleId()
Returns the vector of SwitchCycleRow* linked to this row via the Tags stored in switchCycleId.
int numFeed
===> Attribute numFeed
void numDataDescriptionFromText(const std::string &s)
Tag getConfigDescriptionId() const
===> Attribute configDescriptionId
The ConfigDescriptionRow class is a row of a ConfigDescriptionTable.
void processorIdFromText(const std::string &s)
void setSpectralType(SpectralResolutionTypeMod::SpectralResolutionType spectralType)
Set spectralType with the specified SpectralResolutionTypeMod::SpectralResolutionType.
bool isAssocConfigDescriptionIdExists() const
===> Attribute assocConfigDescriptionId, which is optional
const Tag getAntennaId(int i)
Returns the Tag stored in antennaId at position i.
std::vector< Tag > getSwitchCycleId() const
===> Attribute switchCycleId
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void configDescriptionIdFromBin(EndianIStream &eis)
void(ConfigDescriptionRow::* ConfigDescriptionAttributeFromBin)(EndianIStream &eis)
SwitchCycleRow * getSwitchCycleUsingSwitchCycleId(int i)
Returns the SwitchCycleRow linked to this row via the tag stored in switchCycleId at position i...
void clearPhasedArrayList()
Mark phasedArrayList, which is an optional field, as non-existent.
void setConfigDescriptionId(Tag configDescriptionId)
Set configDescriptionId with the specified Tag value.
void setProcessorType(ProcessorTypeMod::ProcessorType processorType)
Set processorType with the specified ProcessorTypeMod::ProcessorType.
void setNumAtmPhaseCorrection(int numAtmPhaseCorrection)
Set numAtmPhaseCorrection with the specified int.
std::vector< Tag > switchCycleId
===> Attribute switchCycleId
void addFeedId(int id)
===> Slices link from a row of ConfigDescription table to a collection of row of Feed table...
void feedIdFromBin(EndianIStream &eis)
std::vector< int > getPhasedArrayList() const
Get phasedArrayList, which is optional.
void numFeedFromText(const std::string &s)
The ProcessorRow class is a row of a ProcessorTable.
void numDataDescriptionFromBin(EndianIStream &eis)
void assocConfigDescriptionIdFromBin(EndianIStream &eis)
void feedIdFromText(const std::string &s)
int getNumFeed() const
===> Attribute numFeed
void spectralTypeFromBin(EndianIStream &eis)
void dataDescriptionIdFromText(const std::string &s)
*text deserialization material std::map< std::string, ConfigDescriptionAttributeFromText > fromTextMethods
std::string toXML() const
Return this row in the form of an XML string.
ConfigDescriptionTable & table
The table to which this row belongs.
void antennaIdFromText(const std::string &s)