The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.
More...
#include <SquareLawDetectorRow.h>
The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.
Generated from model's revision "-1", branch ""
Definition at line 94 of file SquareLawDetectorRow.h.
virtual asdm::SquareLawDetectorRow::~SquareLawDetectorRow |
( |
| ) |
|
|
virtual |
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>;
Create a SquareLawDetectorRow.
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 SquareLawDetectorRow using a copy constructor mechanism.
Given a SquareLawDetectorRow row and a SquareLawDetectorTable table, the method creates a new SquareLawDetectorRow 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. |
void asdm::SquareLawDetectorRow::bandTypeFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::SquareLawDetectorRow::bandTypeFromText |
( |
const std::string & |
s | ) |
|
|
private |
Extrinsic Table Attributes Links* bool asdm::SquareLawDetectorRow::compareNoAutoInc |
( |
int |
numBand, |
|
|
DetectorBandTypeMod::DetectorBandType |
bandType |
|
) |
| |
Compare each mandatory attribute except the autoincrementable one of this SquareLawDetectorRow with the corresponding parameters and return true if there is a match and false otherwise.
- Parameters
-
bool asdm::SquareLawDetectorRow::compareRequiredValue |
( |
int |
numBand, |
|
|
DetectorBandTypeMod::DetectorBandType |
bandType |
|
) |
| |
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
-
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 SquareLawDetectorRow whose required attributes of the value part will be compared with those of this. |
- Returns
- a boolean.
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType |
( |
| ) |
const |
===> Attribute bandType
Get bandType.
- Returns
- bandType as DetectorBandTypeMod::DetectorBandType
int asdm::SquareLawDetectorRow::getNumBand |
( |
| ) |
const |
===> Attribute numBand
Get numBand.
- Returns
- numBand as int
Return the table to which this row belongs.
bool asdm::SquareLawDetectorRow::isAdded |
( |
| ) |
const |
Has this row been added to its table ?
- Returns
- true if and only if it has been added.
void asdm::SquareLawDetectorRow::isAdded |
( |
bool |
added | ) |
|
|
private |
This method is used by the Table class when this row is added to the table.
void asdm::SquareLawDetectorRow::numBandFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::SquareLawDetectorRow::numBandFromText |
( |
const std::string & |
s | ) |
|
|
private |
void asdm::SquareLawDetectorRow::setBandType |
( |
DetectorBandTypeMod::DetectorBandType |
bandType | ) |
|
Set bandType with the specified DetectorBandTypeMod::DetectorBandType.
- Parameters
-
bandType | The DetectorBandTypeMod::DetectorBandType value to which bandType is to be set. |
void asdm::SquareLawDetectorRow::setFromIDL |
( |
asdmIDL::SquareLawDetectorRowIDL |
x | ) |
|
Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.
- Parameters
-
x | The IDL struct containing the values used to fill this row. |
- Exceptions
-
void asdm::SquareLawDetectorRow::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::SquareLawDetectorRow::setNumBand |
( |
int |
numBand | ) |
|
Set numBand with the specified int.
- Parameters
-
numBand | The int value to which numBand is to be set. |
void asdm::SquareLawDetectorRow::setSquareLawDetectorId |
( |
Tag |
squareLawDetectorId | ) |
|
|
private |
Set squareLawDetectorId with the specified Tag value.
- Parameters
-
squareLawDetectorId | The Tag value to which squareLawDetectorId is to be set. |
- Exceptions
-
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromBin |
( |
EndianIStream & |
eis | ) |
|
|
private |
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromText |
( |
const std::string & |
s | ) |
|
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
- Parameters
-
asdmIDL::SquareLawDetectorRowIDL* asdm::SquareLawDetectorRow::toIDL |
( |
| ) |
const |
Return this row in the form of an IDL struct.
- Returns
- The values of this row as a SquareLawDetectorRowIDL struct.
void asdm::SquareLawDetectorRow::toIDL |
( |
asdmIDL::SquareLawDetectorRowIDL & |
x | ) |
const |
Define the content of a SquareLawDetectorRowIDL struct from the values found in this row.
- Parameters
-
x | a reference to the SquareLawDetectorRowIDL struct to be set. |
std::string asdm::SquareLawDetectorRow::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::SquareLawDetectorRow::Attributes |
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::bandType |
|
private |
bool asdm::SquareLawDetectorRow::hasBeenAdded |
|
private |
int asdm::SquareLawDetectorRow::numBand |
|
private |
The documentation for this class was generated from the following file: