casa
$Rev:20696$
|
The PolarizationRow class is a row of a PolarizationTable. More...
#include <PolarizationRow.h>
Public Member Functions | |
virtual | ~PolarizationRow () |
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>; | |
PolarizationTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getNumCorr () const |
===> Attribute numCorr | |
void | setNumCorr (int numCorr) |
Set numCorr with the specified int. | |
vector < StokesParameterMod::StokesParameter > | getCorrType () const |
===> Attribute corrType | |
void | setCorrType (vector< StokesParameterMod::StokesParameter > corrType) |
Set corrType with the specified vector<StokesParameterMod::StokesParameter >. | |
vector< vector < PolarizationTypeMod::PolarizationType > > | getCorrProduct () const |
===> Attribute corrProduct | |
void | setCorrProduct (vector< vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
Set corrProduct with the specified vector<vector<PolarizationTypeMod::PolarizationType > >. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (int numCorr, vector< StokesParameterMod::StokesParameter > corrType, vector< 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. | |
bool | compareRequiredValue (int numCorr, vector< StokesParameterMod::StokesParameter > corrType, vector< vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (PolarizationRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::PolarizationRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::PolarizationRowIDL &x) const |
Define the content of a PolarizationRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::PolarizationRowIDL x) |
Fill the values of this row from the IDL struct PolarizationRowIDL. | |
std::string | toXML () const |
Return this row in the form of an XML string. | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. | |
virtual | ~PolarizationRow () |
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>; | |
PolarizationTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getNumCorr () const |
===> Attribute numCorr | |
void | setNumCorr (int numCorr) |
Set numCorr with the specified int. | |
vector < StokesParameterMod::StokesParameter > | getCorrType () const |
===> Attribute corrType | |
void | setCorrType (vector< StokesParameterMod::StokesParameter > corrType) |
Set corrType with the specified vector<StokesParameterMod::StokesParameter >. | |
vector< vector < PolarizationTypeMod::PolarizationType > > | getCorrProduct () const |
===> Attribute corrProduct | |
void | setCorrProduct (vector< vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
Set corrProduct with the specified vector<vector<PolarizationTypeMod::PolarizationType > >. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (int numCorr, vector< StokesParameterMod::StokesParameter > corrType, vector< 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. | |
bool | compareRequiredValue (int numCorr, vector< StokesParameterMod::StokesParameter > corrType, vector< vector< PolarizationTypeMod::PolarizationType > > corrProduct) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (PolarizationRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::PolarizationRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::PolarizationRowIDL x) |
Fill the values of this row from the IDL struct PolarizationRowIDL. | |
std::string | toXML () const |
Return this row in the form of an XML string. | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. | |
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. | |
PolarizationRow (PolarizationTable &table) | |
Create a PolarizationRow. | |
PolarizationRow (PolarizationTable &table, PolarizationRow &row) | |
Create a PolarizationRow using a copy constructor mechanism. | |
void | setPolarizationId (Tag polarizationId) |
Set polarizationId with the specified Tag value. | |
void | polarizationIdFromBin (EndianIStream &eis) |
void | numCorrFromBin (EndianIStream &eis) |
void | corrTypeFromBin (EndianIStream &eis) |
void | corrProductFromBin (EndianIStream &eis) |
void | polarizationIdFromText (const string &s) |
void | numCorrFromText (const string &s) |
void | corrTypeFromText (const string &s) |
void | corrProductFromText (const string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. | |
PolarizationRow (PolarizationTable &table) | |
Create a PolarizationRow. | |
PolarizationRow (PolarizationTable &table, PolarizationRow &row) | |
Create a PolarizationRow using a copy constructor mechanism. | |
void | setPolarizationId (Tag polarizationId) |
Set polarizationId with the specified Tag value. | |
void | polarizationIdFromBin (EndianIStream &eis) |
void | numCorrFromBin (EndianIStream &eis) |
void | corrTypeFromBin (EndianIStream &eis) |
void | corrProductFromBin (EndianIStream &eis) |
void | polarizationIdFromText (const string &s) |
void | numCorrFromText (const string &s) |
void | corrTypeFromText (const string &s) |
void | corrProductFromText (const string &s) |
void | fromText (const std::string &attributeName, const std::string &t) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. | |
Private Attributes | |
PolarizationTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
int | numCorr |
===> Attribute numCorr | |
vector < StokesParameterMod::StokesParameter > | corrType |
===> Attribute corrType | |
vector< vector < PolarizationTypeMod::PolarizationType > > | corrProduct |
===> Attribute corrProduct | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, PolarizationAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, PolarizationAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::PolarizationTable |
class | asdm::RowTransformer< PolarizationRow > |
The PolarizationRow class is a row of a PolarizationTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 98 of file PolarizationRow.h.
virtual asdm::PolarizationRow::~PolarizationRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>;
asdm::PolarizationRow::PolarizationRow | ( | PolarizationTable & | table | ) | [private] |
Create a PolarizationRow.
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. |
asdm::PolarizationRow::PolarizationRow | ( | PolarizationTable & | table, |
PolarizationRow & | row | ||
) | [private] |
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.
table | The table to which this row belongs. |
row | The row which is to be copied. |
virtual asdm::PolarizationRow::~PolarizationRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>;
asdm::PolarizationRow::PolarizationRow | ( | PolarizationTable & | table | ) | [private] |
Create a PolarizationRow.
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. |
asdm::PolarizationRow::PolarizationRow | ( | PolarizationTable & | table, |
PolarizationRow & | row | ||
) | [private] |
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.
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, |
vector< StokesParameterMod::StokesParameter > | corrType, | ||
vector< 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.
numCorr | |
corrType | |
corrProduct |
Extrinsic Table Attributes Links* bool asdm::PolarizationRow::compareNoAutoInc | ( | int | numCorr, |
vector< StokesParameterMod::StokesParameter > | corrType, | ||
vector< 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.
numCorr | |
corrType | |
corrProduct |
bool asdm::PolarizationRow::compareRequiredValue | ( | int | numCorr, |
vector< StokesParameterMod::StokesParameter > | corrType, | ||
vector< 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.
numCorr | |
corrType | |
corrProduct |
bool asdm::PolarizationRow::compareRequiredValue | ( | int | numCorr, |
vector< StokesParameterMod::StokesParameter > | corrType, | ||
vector< 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.
numCorr | |
corrType | |
corrProduct |
void asdm::PolarizationRow::corrProductFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::corrProductFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::corrProductFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::corrProductFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::corrTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::corrTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::corrTypeFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::corrTypeFromText | ( | const string & | s | ) | [private] |
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 PolarizationRow whose required attributes of the value part will be compared with those of this. |
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 PolarizationRow whose required attributes of the value part will be compared with those of this. |
void asdm::PolarizationRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
vector<vector<PolarizationTypeMod::PolarizationType > > asdm::PolarizationRow::getCorrProduct | ( | ) | const |
===> Attribute corrProduct
Get corrProduct.
vector<vector<PolarizationTypeMod::PolarizationType > > asdm::PolarizationRow::getCorrProduct | ( | ) | const |
===> Attribute corrProduct
Get corrProduct.
vector<StokesParameterMod::StokesParameter > asdm::PolarizationRow::getCorrType | ( | ) | const |
===> Attribute corrType
Get corrType.
vector<StokesParameterMod::StokesParameter > asdm::PolarizationRow::getCorrType | ( | ) | const |
===> Attribute corrType
Get corrType.
int asdm::PolarizationRow::getNumCorr | ( | ) | const |
===> Attribute numCorr
Get numCorr.
int asdm::PolarizationRow::getNumCorr | ( | ) | const |
===> Attribute numCorr
Get numCorr.
PolarizationTable& asdm::PolarizationRow::getTable | ( | ) | const |
Return the table to which this row belongs.
PolarizationTable& asdm::PolarizationRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::PolarizationRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::PolarizationRow::isAdded | ( | ) | const |
Has this row been added to its table ?
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::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::numCorrFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::numCorrFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::numCorrFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::polarizationIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::polarizationIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::PolarizationRow::polarizationIdFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::polarizationIdFromText | ( | const string & | s | ) | [private] |
void asdm::PolarizationRow::setCorrProduct | ( | vector< vector< PolarizationTypeMod::PolarizationType > > | corrProduct | ) |
Set corrProduct with the specified vector<vector<PolarizationTypeMod::PolarizationType > >.
corrProduct | The vector<vector<PolarizationTypeMod::PolarizationType > > value to which corrProduct is to be set. |
void asdm::PolarizationRow::setCorrProduct | ( | vector< vector< PolarizationTypeMod::PolarizationType > > | corrProduct | ) |
Set corrProduct with the specified vector<vector<PolarizationTypeMod::PolarizationType > >.
corrProduct | The vector<vector<PolarizationTypeMod::PolarizationType > > value to which corrProduct is to be set. |
void asdm::PolarizationRow::setCorrType | ( | vector< StokesParameterMod::StokesParameter > | corrType | ) |
Set corrType with the specified vector<StokesParameterMod::StokesParameter >.
corrType | The vector<StokesParameterMod::StokesParameter > value to which corrType is to be set. |
void asdm::PolarizationRow::setCorrType | ( | vector< StokesParameterMod::StokesParameter > | corrType | ) |
Set corrType with the specified vector<StokesParameterMod::StokesParameter >.
corrType | The 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.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::PolarizationRow::setFromIDL | ( | asdmIDL::PolarizationRowIDL | x | ) |
Fill the values of this row from the IDL struct PolarizationRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::PolarizationRow::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::PolarizationRow::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::PolarizationRow::setNumCorr | ( | int | numCorr | ) |
Set numCorr with the specified int.
numCorr | The int value to which numCorr is to be set. |
void asdm::PolarizationRow::setNumCorr | ( | int | numCorr | ) |
Set numCorr with the specified int.
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.
polarizationId | The Tag value to which polarizationId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::PolarizationRow::setPolarizationId | ( | Tag | polarizationId | ) | [private] |
Set polarizationId with the specified Tag value.
polarizationId | The Tag value to which polarizationId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::PolarizationRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::PolarizationRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::PolarizationRowIDL* asdm::PolarizationRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::PolarizationRowIDL* asdm::PolarizationRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::PolarizationRow::toIDL | ( | asdmIDL::PolarizationRowIDL & | x | ) | const |
Define the content of a PolarizationRowIDL struct from the values found in this row.
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.
std::string asdm::PolarizationRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
asdm::PolarizationTable [friend] |
Definition at line 99 of file PolarizationRow.h.
friend class asdm::RowTransformer< PolarizationRow > [friend] |
Definition at line 100 of file PolarizationRow.h.
Intrinsic Table asdm::PolarizationRow::Attributes |
Definition at line 123 of file PolarizationRow.h.
vector< vector< PolarizationTypeMod::PolarizationType > > asdm::PolarizationRow::corrProduct [private] |
vector< StokesParameterMod::StokesParameter > asdm::PolarizationRow::corrType [private] |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, PolarizationAttributeFromBin > asdm::PolarizationRow::fromBinMethods [private] |
Definition at line 470 of file PolarizationRow.h.
*text deserialization material std::map< std::string, PolarizationAttributeFromText > asdm::PolarizationRow::fromTextMethods [private] |
Definition at line 482 of file PolarizationRow.h.
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] |
PolarizationTable & asdm::PolarizationRow::table [private] |
The table to which this row belongs.
Definition at line 358 of file PolarizationRow.h.