The PolarizationRow class is a row of a PolarizationTable.
More...
#include <PolarizationRow.h>
|
virtual | ~PolarizationRow () |
| friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>; More...
|
|
PolarizationTable & | getTable () const |
| Return the table to which this row belongs. More...
|
|
bool | isAdded () const |
| Has this row been added to its table ? More...
|
|
int | getNumCorr () const |
| ===> Attribute numCorr More...
|
|
void | setNumCorr (int numCorr) |
| Set numCorr with the specified int. More...
|
|
std::vector
< StokesParameterMod::StokesParameter > | getCorrType () const |
| ===> Attribute corrType More...
|
|
void | setCorrType (std::vector< StokesParameterMod::StokesParameter > corrType) |
| Set corrType with the specified std::vector<StokesParameterMod::StokesParameter >. More...
|
|
std::vector< std::vector
< PolarizationTypeMod::PolarizationType > > | getCorrProduct () const |
| ===> Attribute corrProduct More...
|
|
void | setCorrProduct (std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
| Set corrProduct with the specified std::vector<std::vector<PolarizationTypeMod::PolarizationType > >. More...
|
|
Extrinsic Table Attributes
Links *bool | compareNoAutoInc (int numCorr, std::vector< StokesParameterMod::StokesParameter > corrType, std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
| Compare each mandatory attribute except the autoincrementable one of this PolarizationRow with the corresponding parameters and return true if there is a match and false otherwise. More...
|
|
bool | compareRequiredValue (int numCorr, std::vector< StokesParameterMod::StokesParameter > corrType, std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
| Compare each mandatory value (i.e. More...
|
|
bool | equalByRequiredValue (PolarizationRow *x) |
| Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More...
|
|
asdmIDL::PolarizationRowIDL * | toIDL () const |
| Return this row in the form of an IDL struct. More...
|
|
void | toIDL (asdmIDL::PolarizationRowIDL &x) const |
| Define the content of a PolarizationRowIDL struct from the values found in this row. More...
|
|
void | setFromIDL (asdmIDL::PolarizationRowIDL x) |
| Fill the values of this row from the IDL struct PolarizationRowIDL. 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...
|
|
The PolarizationRow class is a row of a PolarizationTable.
Generated from model's revision "-1", branch ""
Definition at line 98 of file PolarizationRow.h.
virtual asdm::PolarizationRow::~PolarizationRow |
( |
| ) |
|
|
virtual |
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>;
Create a PolarizationRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
- Parameters
-
table | The table to which this row belongs. |
Create a PolarizationRow using a copy constructor mechanism.
Given a PolarizationRow row and a PolarizationTable table, the method creates a new PolarizationRow 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
-
table | The table to which this row belongs. |
row | The row which is to be copied. |
Extrinsic Table Attributes Links* bool asdm::PolarizationRow::compareNoAutoInc |
( |
int |
numCorr, |
|
|
std::vector< StokesParameterMod::StokesParameter > |
corrType, |
|
|
std::vector< std::vector< PolarizationTypeMod::PolarizationType > > |
corrProduct |
|
) |
| |
Compare each mandatory attribute except the autoincrementable one of this PolarizationRow with the corresponding parameters and return true if there is a match and false otherwise.
- Parameters
-
numCorr | |
corrType | |
corrProduct | |
bool asdm::PolarizationRow::compareRequiredValue |
( |
int |
numCorr, |
|
|
std::vector< StokesParameterMod::StokesParameter > |
corrType, |
|
|
std::vector< std::vector< PolarizationTypeMod::PolarizationType > > |
corrProduct |
|
) |
| |
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
-
numCorr | |
corrType | |
corrProduct | |
void asdm::PolarizationRow::corrProductFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::PolarizationRow::corrProductFromText |
( |
const std::string & |
s | ) |
|
|
private |
void asdm::PolarizationRow::corrTypeFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::PolarizationRow::corrTypeFromText |
( |
const std::string & |
s | ) |
|
|
private |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
- Parameters
-
x | a pointer on the PolarizationRow whose required attributes of the value part will be compared with those of this. |
- Returns
- a boolean.
std::vector<std::vector<PolarizationTypeMod::PolarizationType > > asdm::PolarizationRow::getCorrProduct |
( |
| ) |
const |
===> Attribute corrProduct
Get corrProduct.
- Returns
- corrProduct as std::vector<std::vector<PolarizationTypeMod::PolarizationType > >
std::vector<StokesParameterMod::StokesParameter > asdm::PolarizationRow::getCorrType |
( |
| ) |
const |
===> Attribute corrType
Get corrType.
- Returns
- corrType as std::vector<StokesParameterMod::StokesParameter >
int asdm::PolarizationRow::getNumCorr |
( |
| ) |
const |
===> Attribute numCorr
Get numCorr.
- Returns
- numCorr as int
Return the table to which this row belongs.
bool asdm::PolarizationRow::isAdded |
( |
| ) |
const |
Has this row been added to its table ?
- Returns
- true if and only if it has been added.
void asdm::PolarizationRow::isAdded |
( |
bool |
added | ) |
|
|
private |
This method is used by the Table class when this row is added to the table.
void asdm::PolarizationRow::numCorrFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::PolarizationRow::numCorrFromText |
( |
const std::string & |
s | ) |
|
|
private |
void asdm::PolarizationRow::polarizationIdFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::PolarizationRow::polarizationIdFromText |
( |
const std::string & |
s | ) |
|
|
private |
void asdm::PolarizationRow::setCorrProduct |
( |
std::vector< std::vector< PolarizationTypeMod::PolarizationType > > |
corrProduct | ) |
|
Set corrProduct with the specified std::vector<std::vector<PolarizationTypeMod::PolarizationType > >.
- Parameters
-
corrProduct | The std::vector<std::vector<PolarizationTypeMod::PolarizationType > > value to which corrProduct is to be set. |
void asdm::PolarizationRow::setCorrType |
( |
std::vector< StokesParameterMod::StokesParameter > |
corrType | ) |
|
Set corrType with the specified std::vector<StokesParameterMod::StokesParameter >.
- Parameters
-
corrType | The std::vector<StokesParameterMod::StokesParameter > value to which corrType is to be set. |
void asdm::PolarizationRow::setFromIDL |
( |
asdmIDL::PolarizationRowIDL |
x | ) |
|
Fill the values of this row from the IDL struct PolarizationRowIDL.
- Parameters
-
x | The IDL struct containing the values used to fill this row. |
- Exceptions
-
void asdm::PolarizationRow::setFromXML |
( |
std::string |
rowDoc | ) |
|
Fill the values of this row from an XML string that was produced by the toXML() method.
- Parameters
-
rowDoc | the XML string being used to set the values of this row. |
- Exceptions
-
void asdm::PolarizationRow::setNumCorr |
( |
int |
numCorr | ) |
|
Set numCorr with the specified int.
- Parameters
-
numCorr | The int value to which numCorr is to be set. |
void asdm::PolarizationRow::setPolarizationId |
( |
Tag |
polarizationId | ) |
|
|
private |
Set polarizationId with the specified Tag value.
- Parameters
-
polarizationId | The Tag value to which polarizationId is to be set. |
- Exceptions
-
Serialize this into a stream of bytes written to an EndianOSStream.
- Parameters
-
asdmIDL::PolarizationRowIDL* asdm::PolarizationRow::toIDL |
( |
| ) |
const |
Return this row in the form of an IDL struct.
- Returns
- The values of this row as a PolarizationRowIDL struct.
void asdm::PolarizationRow::toIDL |
( |
asdmIDL::PolarizationRowIDL & |
x | ) |
const |
Define the content of a PolarizationRowIDL struct from the values found in this row.
- Parameters
-
x | a reference to the PolarizationRowIDL struct to be set. |
std::string asdm::PolarizationRow::toXML |
( |
| ) |
const |
Return this row in the form of an XML string.
- Returns
- The values of this row as an XML string.
Intrinsic Table asdm::PolarizationRow::Attributes |
std::vector<std::vector<PolarizationTypeMod::PolarizationType > > asdm::PolarizationRow::corrProduct |
|
private |
std::vector<StokesParameterMod::StokesParameter > asdm::PolarizationRow::corrType |
|
private |
bool asdm::PolarizationRow::hasBeenAdded |
|
private |
Whether this row has been added to the table or not.
Definition at line 362 of file PolarizationRow.h.
int asdm::PolarizationRow::numCorr |
|
private |
The documentation for this class was generated from the following file: