casa
$Rev:20696$
|
The HolographyRow class is a row of a HolographyTable. More...
#include <HolographyRow.h>
Public Member Functions | |
virtual | ~HolographyRow () |
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>; | |
HolographyTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Length | getDistance () const |
===> Attribute distance | |
void | setDistance (Length distance) |
Set distance with the specified Length. | |
Length | getFocus () const |
===> Attribute focus | |
void | setFocus (Length focus) |
Set focus with the specified Length. | |
int | getNumCorr () const |
===> Attribute numCorr | |
void | setNumCorr (int numCorr) |
Set numCorr with the specified int. | |
vector < HolographyChannelTypeMod::HolographyChannelType > | getType () const |
===> Attribute type | |
void | setType (vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (HolographyRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::HolographyRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::HolographyRowIDL &x) const |
Define the content of a HolographyRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::HolographyRowIDL x) |
Fill the values of this row from the IDL struct HolographyRowIDL. | |
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 | ~HolographyRow () |
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>; | |
HolographyTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Length | getDistance () const |
===> Attribute distance | |
void | setDistance (Length distance) |
Set distance with the specified Length. | |
Length | getFocus () const |
===> Attribute focus | |
void | setFocus (Length focus) |
Set focus with the specified Length. | |
int | getNumCorr () const |
===> Attribute numCorr | |
void | setNumCorr (int numCorr) |
Set numCorr with the specified int. | |
vector < HolographyChannelTypeMod::HolographyChannelType > | getType () const |
===> Attribute type | |
void | setType (vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (HolographyRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::HolographyRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::HolographyRowIDL x) |
Fill the values of this row from the IDL struct HolographyRowIDL. | |
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. | |
HolographyRow (HolographyTable &table) | |
Create a HolographyRow. | |
HolographyRow (HolographyTable &table, HolographyRow &row) | |
Create a HolographyRow using a copy constructor mechanism. | |
void | setHolographyId (Tag holographyId) |
Set holographyId with the specified Tag value. | |
void | holographyIdFromBin (EndianIStream &eis) |
void | distanceFromBin (EndianIStream &eis) |
void | focusFromBin (EndianIStream &eis) |
void | numCorrFromBin (EndianIStream &eis) |
void | typeFromBin (EndianIStream &eis) |
void | holographyIdFromText (const string &s) |
void | distanceFromText (const string &s) |
void | focusFromText (const string &s) |
void | numCorrFromText (const string &s) |
void | typeFromText (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. | |
HolographyRow (HolographyTable &table) | |
Create a HolographyRow. | |
HolographyRow (HolographyTable &table, HolographyRow &row) | |
Create a HolographyRow using a copy constructor mechanism. | |
void | setHolographyId (Tag holographyId) |
Set holographyId with the specified Tag value. | |
void | holographyIdFromBin (EndianIStream &eis) |
void | distanceFromBin (EndianIStream &eis) |
void | focusFromBin (EndianIStream &eis) |
void | numCorrFromBin (EndianIStream &eis) |
void | typeFromBin (EndianIStream &eis) |
void | holographyIdFromText (const string &s) |
void | distanceFromText (const string &s) |
void | focusFromText (const string &s) |
void | numCorrFromText (const string &s) |
void | typeFromText (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 | |
HolographyTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
Length | distance |
===> Attribute distance | |
Length | focus |
===> Attribute focus | |
int | numCorr |
===> Attribute numCorr | |
vector < HolographyChannelTypeMod::HolographyChannelType > | type |
===> Attribute type | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, HolographyAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, HolographyAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::HolographyTable |
class | asdm::RowTransformer< HolographyRow > |
The HolographyRow class is a row of a HolographyTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 102 of file HolographyRow.h.
virtual asdm::HolographyRow::~HolographyRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
asdm::HolographyRow::HolographyRow | ( | HolographyTable & | table | ) | [private] |
Create a HolographyRow.
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::HolographyRow::HolographyRow | ( | HolographyTable & | table, |
HolographyRow & | row | ||
) | [private] |
Create a HolographyRow using a copy constructor mechanism.
Given a HolographyRow row and a HolographyTable table, the method creates a new HolographyRow 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::HolographyRow::~HolographyRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
asdm::HolographyRow::HolographyRow | ( | HolographyTable & | table | ) | [private] |
Create a HolographyRow.
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::HolographyRow::HolographyRow | ( | HolographyTable & | table, |
HolographyRow & | row | ||
) | [private] |
Create a HolographyRow using a copy constructor mechanism.
Given a HolographyRow row and a HolographyTable table, the method creates a new HolographyRow 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::HolographyRow::compareNoAutoInc | ( | Length | distance, |
Length | focus, | ||
int | numCorr, | ||
vector< HolographyChannelTypeMod::HolographyChannelType > | type | ||
) |
Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise.
distance | |
focus | |
numCorr | |
type |
Extrinsic Table Attributes Links* bool asdm::HolographyRow::compareNoAutoInc | ( | Length | distance, |
Length | focus, | ||
int | numCorr, | ||
vector< HolographyChannelTypeMod::HolographyChannelType > | type | ||
) |
Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise.
distance | |
focus | |
numCorr | |
type |
bool asdm::HolographyRow::compareRequiredValue | ( | Length | distance, |
Length | focus, | ||
int | numCorr, | ||
vector< HolographyChannelTypeMod::HolographyChannelType > | type | ||
) |
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.
distance | |
focus | |
numCorr | |
type |
bool asdm::HolographyRow::compareRequiredValue | ( | Length | distance, |
Length | focus, | ||
int | numCorr, | ||
vector< HolographyChannelTypeMod::HolographyChannelType > | type | ||
) |
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.
distance | |
focus | |
numCorr | |
type |
void asdm::HolographyRow::distanceFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::distanceFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::distanceFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::distanceFromText | ( | 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 HolographyRow 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 HolographyRow whose required attributes of the value part will be compared with those of this. |
void asdm::HolographyRow::focusFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::focusFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::focusFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::focusFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
Length asdm::HolographyRow::getDistance | ( | ) | const |
Length asdm::HolographyRow::getDistance | ( | ) | const |
Length asdm::HolographyRow::getFocus | ( | ) | const |
Length asdm::HolographyRow::getFocus | ( | ) | const |
int asdm::HolographyRow::getNumCorr | ( | ) | const |
===> Attribute numCorr
Get numCorr.
int asdm::HolographyRow::getNumCorr | ( | ) | const |
===> Attribute numCorr
Get numCorr.
HolographyTable& asdm::HolographyRow::getTable | ( | ) | const |
Return the table to which this row belongs.
HolographyTable& asdm::HolographyRow::getTable | ( | ) | const |
Return the table to which this row belongs.
vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::getType | ( | ) | const |
===> Attribute type
Get type.
vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::getType | ( | ) | const |
===> Attribute type
Get type.
void asdm::HolographyRow::holographyIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::holographyIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::holographyIdFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::holographyIdFromText | ( | const string & | s | ) | [private] |
bool asdm::HolographyRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::HolographyRow::isAdded | ( | ) | const |
Has this row been added to its table ?
void asdm::HolographyRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::HolographyRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::HolographyRow::numCorrFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::numCorrFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::numCorrFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::numCorrFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::setDistance | ( | Length | distance | ) |
void asdm::HolographyRow::setDistance | ( | Length | distance | ) |
void asdm::HolographyRow::setFocus | ( | Length | focus | ) |
void asdm::HolographyRow::setFocus | ( | Length | focus | ) |
void asdm::HolographyRow::setFromIDL | ( | asdmIDL::HolographyRowIDL | x | ) |
Fill the values of this row from the IDL struct HolographyRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::HolographyRow::setFromIDL | ( | asdmIDL::HolographyRowIDL | x | ) |
Fill the values of this row from the IDL struct HolographyRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::HolographyRow::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::HolographyRow::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::HolographyRow::setHolographyId | ( | Tag | holographyId | ) | [private] |
Set holographyId with the specified Tag value.
holographyId | The Tag value to which holographyId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::HolographyRow::setHolographyId | ( | Tag | holographyId | ) | [private] |
Set holographyId with the specified Tag value.
holographyId | The Tag value to which holographyId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::HolographyRow::setNumCorr | ( | int | numCorr | ) |
Set numCorr with the specified int.
numCorr | The int value to which numCorr is to be set. |
void asdm::HolographyRow::setNumCorr | ( | int | numCorr | ) |
Set numCorr with the specified int.
numCorr | The int value to which numCorr is to be set. |
void asdm::HolographyRow::setType | ( | vector< HolographyChannelTypeMod::HolographyChannelType > | type | ) |
Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.
type | The vector<HolographyChannelTypeMod::HolographyChannelType > value to which type is to be set. |
void asdm::HolographyRow::setType | ( | vector< HolographyChannelTypeMod::HolographyChannelType > | type | ) |
Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.
type | The vector<HolographyChannelTypeMod::HolographyChannelType > value to which type is to be set. |
void asdm::HolographyRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::HolographyRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::HolographyRowIDL* asdm::HolographyRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::HolographyRowIDL* asdm::HolographyRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::HolographyRow::toIDL | ( | asdmIDL::HolographyRowIDL & | x | ) | const |
Define the content of a HolographyRowIDL struct from the values found in this row.
x | a reference to the HolographyRowIDL struct to be set. |
std::string asdm::HolographyRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::HolographyRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::HolographyRow::typeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::typeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::HolographyRow::typeFromText | ( | const string & | s | ) | [private] |
void asdm::HolographyRow::typeFromText | ( | const string & | s | ) | [private] |
asdm::HolographyTable [friend] |
Definition at line 103 of file HolographyRow.h.
friend class asdm::RowTransformer< HolographyRow > [friend] |
Definition at line 104 of file HolographyRow.h.
Intrinsic Table asdm::HolographyRow::Attributes |
Definition at line 127 of file HolographyRow.h.
Length asdm::HolographyRow::distance [private] |
Length asdm::HolographyRow::focus [private] |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, HolographyAttributeFromBin > asdm::HolographyRow::fromBinMethods [private] |
Definition at line 520 of file HolographyRow.h.
*text deserialization material std::map< std::string, HolographyAttributeFromText > asdm::HolographyRow::fromTextMethods [private] |
Definition at line 533 of file HolographyRow.h.
bool asdm::HolographyRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 401 of file HolographyRow.h.
int asdm::HolographyRow::numCorr [private] |
HolographyTable & asdm::HolographyRow::table [private] |
The table to which this row belongs.
Definition at line 397 of file HolographyRow.h.
vector< HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::type [private] |