34 #ifndef CorrelatorModeRow_CLASS
35 #define CorrelatorModeRow_CLASS
106 class CorrelatorModeRow;
151 Tag getCorrelatorModeId()
const;
381 std::vector<FilterModeMod::FilterMode >
getFilterMode()
const;
510 asdmIDL::CorrelatorModeRowIDL *
toIDL()
const;
519 void toIDL(asdmIDL::CorrelatorModeRowIDL& x)
const;
528 void setFromIDL (asdmIDL::CorrelatorModeRowIDL x) ;
535 std::string
toXML()
const;
550 std::map<std::string, CorrelatorModeAttributeFromBin>
fromBinMethods;
579 void fromText(
const std::string& attributeName,
const std::string& t);
634 Tag correlatorModeId;
bool isAdded() const
Has this row been added to its table ?
The CorrelatorModeRow class is a row of a CorrelatorModeTable.
void setBinMode(int binMode)
Set binMode with the specified int.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
CorrelatorModeTable & getTable() const
Return the table to which this row belongs.
void filterModeFromText(const std::string &s)
std::vector< AxisNameMod::AxisName > getAxesOrderArray() const
===> Attribute axesOrderArray
int numBaseband
===> Attribute numBaseband
int getNumBaseband() const
===> Attribute numBaseband
void numAxesFromBin(EndianIStream &eis)
std::vector< BasebandNameMod::BasebandName > basebandNames
===> Attribute basebandNames
CorrelatorNameMod::CorrelatorName correlatorName
===> Attribute correlatorName
void basebandNamesFromText(const std::string &s)
CorrelatorModeRow(CorrelatorModeTable &table)
Create a CorrelatorModeRow.
void correlatorModeIdFromText(const std::string &s)
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, CorrelatorModeAttributeFromBin > fromBinMethods
void setFilterMode(std::vector< FilterModeMod::FilterMode > filterMode)
Set filterMode with the specified std::vector<FilterModeMod::FilterMode >.
bool equalByRequiredValue(CorrelatorModeRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
std::vector< AxisNameMod::AxisName > axesOrderArray
===> Attribute axesOrderArray
void setNumAxes(int numAxes)
Set numAxes with the specified int.
std::vector< FilterModeMod::FilterMode > getFilterMode() const
===> Attribute filterMode
void filterModeFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void numAxesFromText(const std::string &s)
void binModeFromText(const std::string &s)
void correlatorNameFromBin(EndianIStream &eis)
void setBasebandNames(std::vector< BasebandNameMod::BasebandName > basebandNames)
Set basebandNames with the specified std::vector<BasebandNameMod::BasebandName >. ...
AccumModeMod::AccumMode accumMode
===> Attribute accumMode
void numBasebandFromBin(EndianIStream &eis)
void(CorrelatorModeRow::* CorrelatorModeAttributeFromText)(const std::string &s)
std::vector< FilterModeMod::FilterMode > filterMode
===> Attribute filterMode
void axesOrderArrayFromText(const std::string &s)
void basebandConfigFromText(const std::string &s)
void accumModeFromBin(EndianIStream &eis)
int binMode
===> Attribute binMode
void numBasebandFromText(const std::string &s)
bool compareRequiredValue(int numBaseband, std::vector< BasebandNameMod::BasebandName > basebandNames, std::vector< int > basebandConfig, AccumModeMod::AccumMode accumMode, int binMode, int numAxes, std::vector< AxisNameMod::AxisName > axesOrderArray, std::vector< FilterModeMod::FilterMode > filterMode, CorrelatorNameMod::CorrelatorName correlatorName)
Compare each mandatory value (i.e.
void setBasebandConfig(std::vector< int > basebandConfig)
Set basebandConfig with the specified std::vector<int >.
CorrelatorModeTable & table
The table to which this row belongs.
asdmIDL::CorrelatorModeRowIDL * 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.
void binModeFromBin(EndianIStream &eis)
int getBinMode() const
===> Attribute binMode
void setFromIDL(asdmIDL::CorrelatorModeRowIDL x)
Fill the values of this row from the IDL struct CorrelatorModeRowIDL.
The CorrelatorModeTable class is an Alma table.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setCorrelatorModeId(Tag correlatorModeId)
Set correlatorModeId with the specified Tag value.
CorrelatorNameMod::CorrelatorName getCorrelatorName() const
===> Attribute correlatorName
void axesOrderArrayFromBin(EndianIStream &eis)
void correlatorModeIdFromBin(EndianIStream &eis)
int getNumAxes() const
===> Attribute numAxes
Extrinsic Table Attributes Links *bool compareNoAutoInc(int numBaseband, std::vector< BasebandNameMod::BasebandName > basebandNames, std::vector< int > basebandConfig, AccumModeMod::AccumMode accumMode, int binMode, int numAxes, std::vector< AxisNameMod::AxisName > axesOrderArray, std::vector< FilterModeMod::FilterMode > filterMode, CorrelatorNameMod::CorrelatorName correlatorName)
Compare each mandatory attribute except the autoincrementable one of this CorrelatorModeRow with the ...
void(CorrelatorModeRow::* CorrelatorModeAttributeFromBin)(EndianIStream &eis)
void basebandConfigFromBin(EndianIStream &eis)
std::vector< int > basebandConfig
===> Attribute basebandConfig
void setNumBaseband(int numBaseband)
Set numBaseband with the specified int.
AccumModeMod::AccumMode getAccumMode() const
===> Attribute accumMode
std::vector< int > getBasebandConfig() const
===> Attribute basebandConfig
std::vector< BasebandNameMod::BasebandName > getBasebandNames() const
===> Attribute basebandNames
virtual ~CorrelatorModeRow()
friend class asdm::TableStreamReader<CorrelatorModeTable, CorrelatorModeRow>;
*text deserialization material std::map< std::string, CorrelatorModeAttributeFromText > fromTextMethods
void setAccumMode(AccumModeMod::AccumMode accumMode)
Set accumMode with the specified AccumModeMod::AccumMode.
void setCorrelatorName(CorrelatorNameMod::CorrelatorName correlatorName)
Set correlatorName with the specified CorrelatorNameMod::CorrelatorName.
void setAxesOrderArray(std::vector< AxisNameMod::AxisName > axesOrderArray)
Set axesOrderArray with the specified std::vector<AxisNameMod::AxisName >.
void basebandNamesFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
void accumModeFromText(const std::string &s)
int numAxes
===> Attribute numAxes
void correlatorNameFromText(const std::string &s)