casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
asdm::CorrelatorModeRow Class Reference

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...
 
CorrelatorModeTablegetTable () 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

CorrelatorModeTabletable
 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 >
 

Detailed Description

The CorrelatorModeRow class is a row of a CorrelatorModeTable.

Generated from model's revision "-1", branch ""

Definition at line 116 of file CorrelatorModeRow.h.

Constructor & Destructor Documentation

virtual asdm::CorrelatorModeRow::~CorrelatorModeRow ( )
virtual

friend class asdm::TableStreamReader<CorrelatorModeTable, CorrelatorModeRow>;

asdm::CorrelatorModeRow::CorrelatorModeRow ( CorrelatorModeTable table)
private

Create a CorrelatorModeRow.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters
tableThe table to which this row belongs.
asdm::CorrelatorModeRow::CorrelatorModeRow ( CorrelatorModeTable table,
CorrelatorModeRow row 
)
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.

Parameters
tableThe table to which this row belongs.
rowThe row which is to be copied.

Member Function Documentation

void asdm::CorrelatorModeRow::accumModeFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::accumModeFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::axesOrderArrayFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::axesOrderArrayFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::basebandConfigFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::basebandConfigFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::basebandNamesFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::basebandNamesFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::binModeFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::binModeFromText ( const std::string &  s)
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.

Parameters
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.

Parameters
numBaseband
basebandNames
basebandConfig
accumMode
binMode
numAxes
axesOrderArray
filterMode
correlatorName
void asdm::CorrelatorModeRow::correlatorModeIdFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::correlatorModeIdFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::correlatorNameFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::correlatorNameFromText ( const std::string &  s)
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.

Parameters
xa pointer on the CorrelatorModeRow whose required attributes of the value part will be compared with those of this.
Returns
a boolean.
void asdm::CorrelatorModeRow::filterModeFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::filterModeFromText ( const std::string &  s)
private
AccumModeMod::AccumMode asdm::CorrelatorModeRow::getAccumMode ( ) const

===> Attribute accumMode

Get accumMode.

Returns
accumMode as AccumModeMod::AccumMode
std::vector<AxisNameMod::AxisName > asdm::CorrelatorModeRow::getAxesOrderArray ( ) const

===> Attribute axesOrderArray

Get axesOrderArray.

Returns
axesOrderArray as std::vector<AxisNameMod::AxisName >
std::vector<int > asdm::CorrelatorModeRow::getBasebandConfig ( ) const

===> Attribute basebandConfig

Get basebandConfig.

Returns
basebandConfig as std::vector<int >
std::vector<BasebandNameMod::BasebandName > asdm::CorrelatorModeRow::getBasebandNames ( ) const

===> Attribute basebandNames

Get basebandNames.

Returns
basebandNames as std::vector<BasebandNameMod::BasebandName >
int asdm::CorrelatorModeRow::getBinMode ( ) const

===> Attribute binMode

Get binMode.

Returns
binMode as int
CorrelatorNameMod::CorrelatorName asdm::CorrelatorModeRow::getCorrelatorName ( ) const

===> Attribute correlatorName

Get correlatorName.

Returns
correlatorName as CorrelatorNameMod::CorrelatorName
std::vector<FilterModeMod::FilterMode > asdm::CorrelatorModeRow::getFilterMode ( ) const

===> Attribute filterMode

Get filterMode.

Returns
filterMode as std::vector<FilterModeMod::FilterMode >
int asdm::CorrelatorModeRow::getNumAxes ( ) const

===> Attribute numAxes

Get numAxes.

Returns
numAxes as int
int asdm::CorrelatorModeRow::getNumBaseband ( ) const

===> Attribute numBaseband

Get numBaseband.

Returns
numBaseband as int
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 ?

Returns
true if and only if it has been added.
void asdm::CorrelatorModeRow::isAdded ( bool  added)
private

This method is used by the Table class when this row is added to the table.

void asdm::CorrelatorModeRow::numAxesFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::numAxesFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::numBasebandFromBin ( EndianIStream eis)
private
void asdm::CorrelatorModeRow::numBasebandFromText ( const std::string &  s)
private
void asdm::CorrelatorModeRow::setAccumMode ( AccumModeMod::AccumMode  accumMode)

Set accumMode with the specified AccumModeMod::AccumMode.

Parameters
accumModeThe 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 >.

Parameters
axesOrderArrayThe 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 >.

Parameters
basebandConfigThe 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 >.

Parameters
basebandNamesThe std::vector<BasebandNameMod::BasebandName > value to which basebandNames is to be set.
void asdm::CorrelatorModeRow::setBinMode ( int  binMode)

Set binMode with the specified int.

Parameters
binModeThe int value to which binMode is to be set.
void asdm::CorrelatorModeRow::setCorrelatorModeId ( Tag  correlatorModeId)
private

Set correlatorModeId with the specified Tag value.

Parameters
correlatorModeIdThe Tag value to which correlatorModeId is to be set.
Exceptions
IllegalAccessExceptionIf 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.

Parameters
correlatorNameThe 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 >.

Parameters
filterModeThe 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.

Parameters
xThe IDL struct containing the values used to fill this row.
Exceptions
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.

Parameters
rowDocthe XML string being used to set the values of this row.
Exceptions
ConversionException
void asdm::CorrelatorModeRow::setNumAxes ( int  numAxes)

Set numAxes with the specified int.

Parameters
numAxesThe int value to which numAxes is to be set.
void asdm::CorrelatorModeRow::setNumBaseband ( int  numBaseband)

Set numBaseband with the specified int.

Parameters
numBasebandThe int value to which numBaseband is to be set.
void asdm::CorrelatorModeRow::toBin ( EndianOSStream eoss)
private

Serialize this into a stream of bytes written to an EndianOSStream.

Parameters
eossthe EndianOSStream to be written to
asdmIDL::CorrelatorModeRowIDL* asdm::CorrelatorModeRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns
The values of this row as a CorrelatorModeRowIDL struct.
void asdm::CorrelatorModeRow::toIDL ( asdmIDL::CorrelatorModeRowIDL &  x) const

Define the content of a CorrelatorModeRowIDL struct from the values found in this row.

Parameters
xa reference to the CorrelatorModeRowIDL struct to be set.
std::string asdm::CorrelatorModeRow::toXML ( ) const

Return this row in the form of an XML string.

Returns
The values of this row as an XML string.

Friends And Related Function Documentation

friend class asdm::CorrelatorModeTable
friend

Definition at line 117 of file CorrelatorModeRow.h.

friend class asdm::RowTransformer< CorrelatorModeRow >
friend

Definition at line 118 of file CorrelatorModeRow.h.

Member Data Documentation

AccumModeMod::AccumMode asdm::CorrelatorModeRow::accumMode
private

===> Attribute accumMode

Definition at line 690 of file CorrelatorModeRow.h.

Intrinsic Table asdm::CorrelatorModeRow::Attributes

Definition at line 141 of file CorrelatorModeRow.h.

std::vector<AxisNameMod::AxisName > asdm::CorrelatorModeRow::axesOrderArray
private

===> Attribute axesOrderArray

Definition at line 723 of file CorrelatorModeRow.h.

std::vector<int > asdm::CorrelatorModeRow::basebandConfig
private

===> Attribute basebandConfig

Definition at line 679 of file CorrelatorModeRow.h.

std::vector<BasebandNameMod::BasebandName > asdm::CorrelatorModeRow::basebandNames
private

===> Attribute basebandNames

Definition at line 668 of file CorrelatorModeRow.h.

int asdm::CorrelatorModeRow::binMode
private

===> Attribute binMode

Definition at line 701 of file CorrelatorModeRow.h.

CorrelatorNameMod::CorrelatorName asdm::CorrelatorModeRow::correlatorName
private

===> Attribute correlatorName

Definition at line 745 of file CorrelatorModeRow.h.

std::vector<FilterModeMod::FilterMode > asdm::CorrelatorModeRow::filterMode
private

===> Attribute filterMode

Definition at line 734 of file CorrelatorModeRow.h.

Extrinsic Table Attributes Links* binary deserialization material from an EndianIStream std::map<std::string, CorrelatorModeAttributeFromBin> asdm::CorrelatorModeRow::fromBinMethods
private

Definition at line 764 of file CorrelatorModeRow.h.

* text deserialization material std::map<std::string, CorrelatorModeAttributeFromText> asdm::CorrelatorModeRow::fromTextMethods
private

Definition at line 782 of file CorrelatorModeRow.h.

bool asdm::CorrelatorModeRow::hasBeenAdded
private

Whether this row has been added to the table or not.

Definition at line 590 of file CorrelatorModeRow.h.

int asdm::CorrelatorModeRow::numAxes
private

===> Attribute numAxes

Definition at line 712 of file CorrelatorModeRow.h.

int asdm::CorrelatorModeRow::numBaseband
private

===> Attribute numBaseband

Definition at line 657 of file CorrelatorModeRow.h.

CorrelatorModeTable& asdm::CorrelatorModeRow::table
private

The table to which this row belongs.

Definition at line 586 of file CorrelatorModeRow.h.


The documentation for this class was generated from the following file: