The HolographyRow class is a row of a HolographyTable.
More...
#include <HolographyRow.h>
The HolographyRow class is a row of a HolographyTable.
Generated from model's revision "-1", branch ""
Definition at line 102 of file HolographyRow.h.
virtual asdm::HolographyRow::~HolographyRow |
( |
| ) |
|
|
virtual |
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
Create a HolographyRow.
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 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.
- Parameters
-
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, |
|
|
std::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.
- Parameters
-
distance | |
focus | |
numCorr | |
type | |
bool asdm::HolographyRow::compareRequiredValue |
( |
Length |
distance, |
|
|
Length |
focus, |
|
|
int |
numCorr, |
|
|
std::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.
- Parameters
-
distance | |
focus | |
numCorr | |
type | |
void asdm::HolographyRow::distanceFromText |
( |
const std::string & |
s | ) |
|
|
private |
bool asdm::HolographyRow::equalByRequiredValue |
( |
HolographyRow * |
x | ) |
|
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 HolographyRow whose required attributes of the value part will be compared with those of this. |
- Returns
- a boolean.
void asdm::HolographyRow::focusFromText |
( |
const std::string & |
s | ) |
|
|
private |
Length asdm::HolographyRow::getDistance |
( |
| ) |
const |
===> Attribute distance
Get distance.
- Returns
- distance as Length
Length asdm::HolographyRow::getFocus |
( |
| ) |
const |
===> Attribute focus
Get focus.
- Returns
- focus as Length
int asdm::HolographyRow::getNumCorr |
( |
| ) |
const |
===> Attribute numCorr
Get numCorr.
- Returns
- numCorr as int
Return the table to which this row belongs.
std::vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::getType |
( |
| ) |
const |
===> Attribute type
Get type.
- Returns
- type as std::vector<HolographyChannelTypeMod::HolographyChannelType >
void asdm::HolographyRow::holographyIdFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::HolographyRow::holographyIdFromText |
( |
const std::string & |
s | ) |
|
|
private |
bool asdm::HolographyRow::isAdded |
( |
| ) |
const |
Has this row been added to its table ?
- Returns
- true if and only if it has been added.
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::numCorrFromText |
( |
const std::string & |
s | ) |
|
|
private |
void asdm::HolographyRow::setDistance |
( |
Length |
distance | ) |
|
Set distance with the specified Length.
- Parameters
-
distance | The Length value to which distance is to be set. |
void asdm::HolographyRow::setFocus |
( |
Length |
focus | ) |
|
Set focus with the specified Length.
- Parameters
-
focus | The Length value to which focus is to be set. |
void asdm::HolographyRow::setFromIDL |
( |
asdmIDL::HolographyRowIDL |
x | ) |
|
Fill the values of this row from the IDL struct HolographyRowIDL.
- Parameters
-
x | The IDL struct containing the values used to fill this row. |
- Exceptions
-
void asdm::HolographyRow::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::HolographyRow::setHolographyId |
( |
Tag |
holographyId | ) |
|
|
private |
Set holographyId with the specified Tag value.
- Parameters
-
holographyId | The Tag value to which holographyId is to be set. |
- Exceptions
-
void asdm::HolographyRow::setNumCorr |
( |
int |
numCorr | ) |
|
Set numCorr with the specified int.
- Parameters
-
numCorr | The int value to which numCorr is to be set. |
void asdm::HolographyRow::setType |
( |
std::vector< HolographyChannelTypeMod::HolographyChannelType > |
type | ) |
|
Set type with the specified std::vector<HolographyChannelTypeMod::HolographyChannelType >.
- Parameters
-
type | The std::vector<HolographyChannelTypeMod::HolographyChannelType > value to which type is to be set. |
Serialize this into a stream of bytes written to an EndianOSStream.
- Parameters
-
asdmIDL::HolographyRowIDL* asdm::HolographyRow::toIDL |
( |
| ) |
const |
Return this row in the form of an IDL struct.
- Returns
- The values of this row as a HolographyRowIDL struct.
void asdm::HolographyRow::toIDL |
( |
asdmIDL::HolographyRowIDL & |
x | ) |
const |
Define the content of a HolographyRowIDL struct from the values found in this row.
- Parameters
-
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.
- Returns
- The values of this row as an XML string.
void asdm::HolographyRow::typeFromText |
( |
const std::string & |
s | ) |
|
|
private |
Intrinsic Table asdm::HolographyRow::Attributes |
Length asdm::HolographyRow::distance |
|
private |
Length asdm::HolographyRow::focus |
|
private |
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 |
std::vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::type |
|
private |
The documentation for this class was generated from the following file: