casa
5.7.0-16
|
The CorrelatorModeRow class is a row of a CorrelatorModeTable. More...
#include <CorrelatorModeRow.h>
Public Member Functions | |
virtual | ~CorrelatorModeRow () |
friend class asdm::TableStreamReader<CorrelatorModeTable, CorrelatorModeRow>; More... | |
CorrelatorModeTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
int | getNumBaseband () const |
===> Attribute numBaseband More... | |
void | setNumBaseband (int numBaseband) |
Set numBaseband with the specified int. More... | |
std::vector < BasebandNameMod::BasebandName > | getBasebandNames () const |
===> Attribute basebandNames More... | |
void | setBasebandNames (std::vector< BasebandNameMod::BasebandName > basebandNames) |
Set basebandNames with the specified std::vector<BasebandNameMod::BasebandName >. More... | |
std::vector< int > | getBasebandConfig () const |
===> Attribute basebandConfig More... | |
void | setBasebandConfig (std::vector< int > basebandConfig) |
Set basebandConfig with the specified std::vector<int >. More... | |
AccumModeMod::AccumMode | getAccumMode () const |
===> Attribute accumMode More... | |
void | setAccumMode (AccumModeMod::AccumMode accumMode) |
Set accumMode with the specified AccumModeMod::AccumMode. More... | |
int | getBinMode () const |
===> Attribute binMode More... | |
void | setBinMode (int binMode) |
Set binMode with the specified int. More... | |
int | getNumAxes () const |
===> Attribute numAxes More... | |
void | setNumAxes (int numAxes) |
Set numAxes with the specified int. More... | |
std::vector < AxisNameMod::AxisName > | getAxesOrderArray () const |
===> Attribute axesOrderArray More... | |
void | setAxesOrderArray (std::vector< AxisNameMod::AxisName > axesOrderArray) |
Set axesOrderArray with the specified std::vector<AxisNameMod::AxisName >. More... | |
std::vector < FilterModeMod::FilterMode > | getFilterMode () const |
===> Attribute filterMode More... | |
void | setFilterMode (std::vector< FilterModeMod::FilterMode > filterMode) |
Set filterMode with the specified std::vector<FilterModeMod::FilterMode >. More... | |
CorrelatorNameMod::CorrelatorName | getCorrelatorName () const |
===> Attribute correlatorName More... | |
void | setCorrelatorName (CorrelatorNameMod::CorrelatorName correlatorName) |
Set correlatorName with the specified CorrelatorNameMod::CorrelatorName. More... | |
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 corresponding parameters and return true if there is a match and false otherwise. More... | |
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. More... | |
bool | equalByRequiredValue (CorrelatorModeRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CorrelatorModeRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CorrelatorModeRowIDL &x) const |
Define the content of a CorrelatorModeRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CorrelatorModeRowIDL x) |
Fill the values of this row from the IDL struct CorrelatorModeRowIDL. More... | |
std::string | toXML () const |
Return this row in the form of an XML string. More... | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. More... | |
Public Attributes | |
Intrinsic Table | Attributes |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
CorrelatorModeRow (CorrelatorModeTable &table) | |
Create a CorrelatorModeRow. More... | |
CorrelatorModeRow (CorrelatorModeTable &table, CorrelatorModeRow *row) | |
Create a CorrelatorModeRow using a copy constructor mechanism. More... | |
void | setCorrelatorModeId (Tag correlatorModeId) |
Set correlatorModeId with the specified Tag value. More... | |
void | correlatorModeIdFromBin (EndianIStream &eis) |
void | numBasebandFromBin (EndianIStream &eis) |
void | basebandNamesFromBin (EndianIStream &eis) |
void | basebandConfigFromBin (EndianIStream &eis) |
void | accumModeFromBin (EndianIStream &eis) |
void | binModeFromBin (EndianIStream &eis) |
void | numAxesFromBin (EndianIStream &eis) |
void | axesOrderArrayFromBin (EndianIStream &eis) |
void | filterModeFromBin (EndianIStream &eis) |
void | correlatorNameFromBin (EndianIStream &eis) |
void | correlatorModeIdFromText (const std::string &s) |
void | numBasebandFromText (const std::string &s) |
void | basebandNamesFromText (const std::string &s) |
void | basebandConfigFromText (const std::string &s) |
void | accumModeFromText (const std::string &s) |
void | binModeFromText (const std::string &s) |
void | numAxesFromText (const std::string &s) |
void | axesOrderArrayFromText (const std::string &s) |
void | filterModeFromText (const std::string &s) |
void | correlatorNameFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CorrelatorModeTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numBaseband |
===> Attribute numBaseband More... | |
std::vector < BasebandNameMod::BasebandName > | basebandNames |
===> Attribute basebandNames More... | |
std::vector< int > | basebandConfig |
===> Attribute basebandConfig More... | |
AccumModeMod::AccumMode | accumMode |
===> Attribute accumMode More... | |
int | binMode |
===> Attribute binMode More... | |
int | numAxes |
===> Attribute numAxes More... | |
std::vector < AxisNameMod::AxisName > | axesOrderArray |
===> Attribute axesOrderArray More... | |
std::vector < FilterModeMod::FilterMode > | filterMode |
===> Attribute filterMode More... | |
CorrelatorNameMod::CorrelatorName | correlatorName |
===> Attribute correlatorName More... | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, CorrelatorModeAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CorrelatorModeAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CorrelatorModeTable |
class | asdm::RowTransformer< CorrelatorModeRow > |
The CorrelatorModeRow class is a row of a CorrelatorModeTable.
Generated from model's revision "-1", branch ""
Definition at line 116 of file CorrelatorModeRow.h.
|
virtual |
friend class asdm::TableStreamReader<CorrelatorModeTable, CorrelatorModeRow>;
|
private |
Create a CorrelatorModeRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
|
private |
Create a CorrelatorModeRow using a copy constructor mechanism.
Given a CorrelatorModeRow row and a CorrelatorModeTable table, the method creates a new CorrelatorModeRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
row | The row which is to be copied. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Extrinsic Table Attributes Links* bool asdm::CorrelatorModeRow::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 corresponding parameters and return true if there is a match and false otherwise.
numBaseband | |
basebandNames | |
basebandConfig | |
accumMode | |
binMode | |
numAxes | |
axesOrderArray | |
filterMode | |
correlatorName |
bool asdm::CorrelatorModeRow::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.
not in the key) attribute with the corresponding parameters and return true if there is a match and false otherwise.
numBaseband | |
basebandNames | |
basebandConfig | |
accumMode | |
binMode | |
numAxes | |
axesOrderArray | |
filterMode | |
correlatorName |
|
private |
|
private |
|
private |
|
private |
bool asdm::CorrelatorModeRow::equalByRequiredValue | ( | CorrelatorModeRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | a pointer on the CorrelatorModeRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
AccumModeMod::AccumMode asdm::CorrelatorModeRow::getAccumMode | ( | ) | const |
===> Attribute accumMode
Get accumMode.
std::vector<AxisNameMod::AxisName > asdm::CorrelatorModeRow::getAxesOrderArray | ( | ) | const |
===> Attribute axesOrderArray
Get axesOrderArray.
std::vector<int > asdm::CorrelatorModeRow::getBasebandConfig | ( | ) | const |
===> Attribute basebandConfig
Get basebandConfig.
std::vector<BasebandNameMod::BasebandName > asdm::CorrelatorModeRow::getBasebandNames | ( | ) | const |
===> Attribute basebandNames
Get basebandNames.
int asdm::CorrelatorModeRow::getBinMode | ( | ) | const |
===> Attribute binMode
Get binMode.
CorrelatorNameMod::CorrelatorName asdm::CorrelatorModeRow::getCorrelatorName | ( | ) | const |
===> Attribute correlatorName
Get correlatorName.
std::vector<FilterModeMod::FilterMode > asdm::CorrelatorModeRow::getFilterMode | ( | ) | const |
===> Attribute filterMode
Get filterMode.
int asdm::CorrelatorModeRow::getNumAxes | ( | ) | const |
===> Attribute numAxes
Get numAxes.
int asdm::CorrelatorModeRow::getNumBaseband | ( | ) | const |
===> Attribute numBaseband
Get numBaseband.
CorrelatorModeTable& asdm::CorrelatorModeRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::CorrelatorModeRow::isAdded | ( | ) | const |
Has this row been added to its table ?
|
private |
This method is used by the Table class when this row is added to the table.
|
private |
|
private |
|
private |
|
private |
void asdm::CorrelatorModeRow::setAccumMode | ( | AccumModeMod::AccumMode | accumMode | ) |
Set accumMode with the specified AccumModeMod::AccumMode.
accumMode | The AccumModeMod::AccumMode value to which accumMode is to be set. |
void asdm::CorrelatorModeRow::setAxesOrderArray | ( | std::vector< AxisNameMod::AxisName > | axesOrderArray | ) |
Set axesOrderArray with the specified std::vector<AxisNameMod::AxisName >.
axesOrderArray | The std::vector<AxisNameMod::AxisName > value to which axesOrderArray is to be set. |
void asdm::CorrelatorModeRow::setBasebandConfig | ( | std::vector< int > | basebandConfig | ) |
Set basebandConfig with the specified std::vector<int >.
basebandConfig | The std::vector<int > value to which basebandConfig is to be set. |
void asdm::CorrelatorModeRow::setBasebandNames | ( | std::vector< BasebandNameMod::BasebandName > | basebandNames | ) |
Set basebandNames with the specified std::vector<BasebandNameMod::BasebandName >.
basebandNames | The std::vector<BasebandNameMod::BasebandName > value to which basebandNames is to be set. |
void asdm::CorrelatorModeRow::setBinMode | ( | int | binMode | ) |
Set binMode with the specified int.
binMode | The int value to which binMode is to be set. |
|
private |
Set correlatorModeId with the specified Tag value.
correlatorModeId | The Tag value to which correlatorModeId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CorrelatorModeRow::setCorrelatorName | ( | CorrelatorNameMod::CorrelatorName | correlatorName | ) |
Set correlatorName with the specified CorrelatorNameMod::CorrelatorName.
correlatorName | The CorrelatorNameMod::CorrelatorName value to which correlatorName is to be set. |
void asdm::CorrelatorModeRow::setFilterMode | ( | std::vector< FilterModeMod::FilterMode > | filterMode | ) |
Set filterMode with the specified std::vector<FilterModeMod::FilterMode >.
filterMode | The std::vector<FilterModeMod::FilterMode > value to which filterMode is to be set. |
void asdm::CorrelatorModeRow::setFromIDL | ( | asdmIDL::CorrelatorModeRowIDL | x | ) |
Fill the values of this row from the IDL struct CorrelatorModeRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CorrelatorModeRow::setFromXML | ( | std::string | rowDoc | ) |
Fill the values of this row from an XML string that was produced by the toXML() method.
rowDoc | the XML string being used to set the values of this row. |
ConversionException |
void asdm::CorrelatorModeRow::setNumAxes | ( | int | numAxes | ) |
Set numAxes with the specified int.
numAxes | The int value to which numAxes is to be set. |
void asdm::CorrelatorModeRow::setNumBaseband | ( | int | numBaseband | ) |
Set numBaseband with the specified int.
numBaseband | The int value to which numBaseband is to be set. |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::CorrelatorModeRowIDL* asdm::CorrelatorModeRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CorrelatorModeRow::toIDL | ( | asdmIDL::CorrelatorModeRowIDL & | x | ) | const |
Define the content of a CorrelatorModeRowIDL struct from the values found in this row.
x | a reference to the CorrelatorModeRowIDL struct to be set. |
std::string asdm::CorrelatorModeRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 117 of file CorrelatorModeRow.h.
|
friend |
Definition at line 118 of file CorrelatorModeRow.h.
|
private |
===> Attribute accumMode
Definition at line 690 of file CorrelatorModeRow.h.
Intrinsic Table asdm::CorrelatorModeRow::Attributes |
Definition at line 141 of file CorrelatorModeRow.h.
|
private |
===> Attribute axesOrderArray
Definition at line 723 of file CorrelatorModeRow.h.
|
private |
===> Attribute basebandConfig
Definition at line 679 of file CorrelatorModeRow.h.
|
private |
===> Attribute basebandNames
Definition at line 668 of file CorrelatorModeRow.h.
|
private |
===> Attribute binMode
Definition at line 701 of file CorrelatorModeRow.h.
|
private |
===> Attribute correlatorName
Definition at line 745 of file CorrelatorModeRow.h.
|
private |
===> Attribute filterMode
Definition at line 734 of file CorrelatorModeRow.h.
|
private |
Definition at line 764 of file CorrelatorModeRow.h.
|
private |
Definition at line 782 of file CorrelatorModeRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 590 of file CorrelatorModeRow.h.
|
private |
===> Attribute numAxes
Definition at line 712 of file CorrelatorModeRow.h.
|
private |
===> Attribute numBaseband
Definition at line 657 of file CorrelatorModeRow.h.
|
private |
The table to which this row belongs.
Definition at line 586 of file CorrelatorModeRow.h.