casa
$Rev:20696$
|
The SquareLawDetectorRow class is a row of a SquareLawDetectorTable. More...
#include <SquareLawDetectorRow.h>
Public Member Functions | |
virtual | ~SquareLawDetectorRow () |
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>; | |
SquareLawDetectorTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getNumBand () const |
===> Attribute numBand | |
void | setNumBand (int numBand) |
Set numBand with the specified int. | |
DetectorBandTypeMod::DetectorBandType | getBandType () const |
===> Attribute bandType | |
void | setBandType (DetectorBandTypeMod::DetectorBandType bandType) |
Set bandType with the specified DetectorBandTypeMod::DetectorBandType. | |
Extrinsic Table Attributes Links *bool | 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. | |
bool | compareRequiredValue (int numBand, DetectorBandTypeMod::DetectorBandType bandType) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (SquareLawDetectorRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::SquareLawDetectorRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::SquareLawDetectorRowIDL &x) const |
Define the content of a SquareLawDetectorRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::SquareLawDetectorRowIDL x) |
Fill the values of this row from the IDL struct SquareLawDetectorRowIDL. | |
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 | ~SquareLawDetectorRow () |
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>; | |
SquareLawDetectorTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getNumBand () const |
===> Attribute numBand | |
void | setNumBand (int numBand) |
Set numBand with the specified int. | |
DetectorBandTypeMod::DetectorBandType | getBandType () const |
===> Attribute bandType | |
void | setBandType (DetectorBandTypeMod::DetectorBandType bandType) |
Set bandType with the specified DetectorBandTypeMod::DetectorBandType. | |
Extrinsic Table Attributes Links *bool | 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. | |
bool | compareRequiredValue (int numBand, DetectorBandTypeMod::DetectorBandType bandType) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (SquareLawDetectorRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::SquareLawDetectorRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::SquareLawDetectorRowIDL x) |
Fill the values of this row from the IDL struct SquareLawDetectorRowIDL. | |
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. | |
SquareLawDetectorRow (SquareLawDetectorTable &table) | |
Create a SquareLawDetectorRow. | |
SquareLawDetectorRow (SquareLawDetectorTable &table, SquareLawDetectorRow &row) | |
Create a SquareLawDetectorRow using a copy constructor mechanism. | |
void | setSquareLawDetectorId (Tag squareLawDetectorId) |
Set squareLawDetectorId with the specified Tag value. | |
void | squareLawDetectorIdFromBin (EndianIStream &eis) |
void | numBandFromBin (EndianIStream &eis) |
void | bandTypeFromBin (EndianIStream &eis) |
void | squareLawDetectorIdFromText (const string &s) |
void | numBandFromText (const string &s) |
void | bandTypeFromText (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. | |
SquareLawDetectorRow (SquareLawDetectorTable &table) | |
Create a SquareLawDetectorRow. | |
SquareLawDetectorRow (SquareLawDetectorTable &table, SquareLawDetectorRow &row) | |
Create a SquareLawDetectorRow using a copy constructor mechanism. | |
void | setSquareLawDetectorId (Tag squareLawDetectorId) |
Set squareLawDetectorId with the specified Tag value. | |
void | squareLawDetectorIdFromBin (EndianIStream &eis) |
void | numBandFromBin (EndianIStream &eis) |
void | bandTypeFromBin (EndianIStream &eis) |
void | squareLawDetectorIdFromText (const string &s) |
void | numBandFromText (const string &s) |
void | bandTypeFromText (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 | |
SquareLawDetectorTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
int | numBand |
===> Attribute numBand | |
DetectorBandTypeMod::DetectorBandType | bandType |
===> Attribute bandType | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SquareLawDetectorAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, SquareLawDetectorAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::SquareLawDetectorTable |
class | asdm::RowTransformer< SquareLawDetectorRow > |
The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 94 of file SquareLawDetectorRow.h.
virtual asdm::SquareLawDetectorRow::~SquareLawDetectorRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>;
asdm::SquareLawDetectorRow::SquareLawDetectorRow | ( | SquareLawDetectorTable & | table | ) | [private] |
Create a SquareLawDetectorRow.
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::SquareLawDetectorRow::SquareLawDetectorRow | ( | SquareLawDetectorTable & | table, |
SquareLawDetectorRow & | row | ||
) | [private] |
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.
table | The table to which this row belongs. |
row | The row which is to be copied. |
virtual asdm::SquareLawDetectorRow::~SquareLawDetectorRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>;
asdm::SquareLawDetectorRow::SquareLawDetectorRow | ( | SquareLawDetectorTable & | table | ) | [private] |
Create a SquareLawDetectorRow.
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::SquareLawDetectorRow::SquareLawDetectorRow | ( | SquareLawDetectorTable & | table, |
SquareLawDetectorRow & | row | ||
) | [private] |
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.
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::bandTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::SquareLawDetectorRow::bandTypeFromText | ( | const string & | s | ) | [private] |
void asdm::SquareLawDetectorRow::bandTypeFromText | ( | const 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.
numBand | |
bandType |
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.
numBand | |
bandType |
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.
numBand | |
bandType |
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.
numBand | |
bandType |
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 SquareLawDetectorRow 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 SquareLawDetectorRow whose required attributes of the value part will be compared with those of this. |
void asdm::SquareLawDetectorRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType | ( | ) | const |
===> Attribute bandType
Get bandType.
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType | ( | ) | const |
===> Attribute bandType
Get bandType.
int asdm::SquareLawDetectorRow::getNumBand | ( | ) | const |
===> Attribute numBand
Get numBand.
int asdm::SquareLawDetectorRow::getNumBand | ( | ) | const |
===> Attribute numBand
Get numBand.
Return the table to which this row belongs.
Return the table to which this row belongs.
bool asdm::SquareLawDetectorRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::SquareLawDetectorRow::isAdded | ( | ) | const |
Has this row been added to its table ?
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::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::numBandFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::SquareLawDetectorRow::numBandFromText | ( | const string & | s | ) | [private] |
void asdm::SquareLawDetectorRow::numBandFromText | ( | const string & | s | ) | [private] |
void asdm::SquareLawDetectorRow::setBandType | ( | DetectorBandTypeMod::DetectorBandType | bandType | ) |
Set bandType with the specified DetectorBandTypeMod::DetectorBandType.
bandType | The DetectorBandTypeMod::DetectorBandType value to which bandType is to be set. |
void asdm::SquareLawDetectorRow::setBandType | ( | DetectorBandTypeMod::DetectorBandType | bandType | ) |
Set bandType with the specified DetectorBandTypeMod::DetectorBandType.
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.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::SquareLawDetectorRow::setFromIDL | ( | asdmIDL::SquareLawDetectorRowIDL | x | ) |
Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::SquareLawDetectorRow::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::SquareLawDetectorRow::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::SquareLawDetectorRow::setNumBand | ( | int | numBand | ) |
Set numBand with the specified int.
numBand | The int value to which numBand is to be set. |
void asdm::SquareLawDetectorRow::setNumBand | ( | int | numBand | ) |
Set numBand with the specified int.
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.
squareLawDetectorId | The Tag value to which squareLawDetectorId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SquareLawDetectorRow::setSquareLawDetectorId | ( | Tag | squareLawDetectorId | ) | [private] |
Set squareLawDetectorId with the specified Tag value.
squareLawDetectorId | The Tag value to which squareLawDetectorId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromText | ( | const string & | s | ) | [private] |
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromText | ( | const string & | s | ) | [private] |
void asdm::SquareLawDetectorRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::SquareLawDetectorRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::SquareLawDetectorRowIDL* asdm::SquareLawDetectorRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::SquareLawDetectorRowIDL* asdm::SquareLawDetectorRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::SquareLawDetectorRow::toIDL | ( | asdmIDL::SquareLawDetectorRowIDL & | x | ) | const |
Define the content of a SquareLawDetectorRowIDL struct from the values found in this row.
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.
std::string asdm::SquareLawDetectorRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
friend class asdm::RowTransformer< SquareLawDetectorRow > [friend] |
Definition at line 96 of file SquareLawDetectorRow.h.
asdm::SquareLawDetectorTable [friend] |
Definition at line 95 of file SquareLawDetectorRow.h.
Intrinsic Table asdm::SquareLawDetectorRow::Attributes |
Definition at line 119 of file SquareLawDetectorRow.h.
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::bandType [private] |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SquareLawDetectorAttributeFromBin > asdm::SquareLawDetectorRow::fromBinMethods [private] |
Definition at line 420 of file SquareLawDetectorRow.h.
*text deserialization material std::map< std::string, SquareLawDetectorAttributeFromText > asdm::SquareLawDetectorRow::fromTextMethods [private] |
Definition at line 431 of file SquareLawDetectorRow.h.
bool asdm::SquareLawDetectorRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 323 of file SquareLawDetectorRow.h.
int asdm::SquareLawDetectorRow::numBand [private] |
The table to which this row belongs.
Definition at line 319 of file SquareLawDetectorRow.h.