casa
$Rev:20696$
|
The DopplerRow class is a row of a DopplerTable. More...
#include <DopplerRow.h>
Public Member Functions | |
virtual | ~DopplerRow () |
friend class asdm::TableStreamReader<DopplerTable, DopplerRow>; | |
DopplerTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getTransitionIndex () const |
===> Attribute transitionIndex | |
void | setTransitionIndex (int transitionIndex) |
Set transitionIndex with the specified int. | |
DopplerReferenceCodeMod::DopplerReferenceCode | getVelDef () const |
===> Attribute velDef | |
void | setVelDef (DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Set velDef with the specified DopplerReferenceCodeMod::DopplerReferenceCode. | |
void | setSourceId (int sourceId) |
Set sourceId with the specified int. | |
bool | compareNoAutoInc (int sourceId, int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Compare each mandatory attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (DopplerRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::DopplerRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::DopplerRowIDL &x) const |
Define the content of a DopplerRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::DopplerRowIDL x) |
Fill the values of this row from the IDL struct DopplerRowIDL. | |
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 | ~DopplerRow () |
friend class asdm::TableStreamReader<DopplerTable, DopplerRow>; | |
DopplerTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
int | getTransitionIndex () const |
===> Attribute transitionIndex | |
void | setTransitionIndex (int transitionIndex) |
Set transitionIndex with the specified int. | |
DopplerReferenceCodeMod::DopplerReferenceCode | getVelDef () const |
===> Attribute velDef | |
void | setVelDef (DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Set velDef with the specified DopplerReferenceCodeMod::DopplerReferenceCode. | |
void | setSourceId (int sourceId) |
Set sourceId with the specified int. | |
bool | compareNoAutoInc (int sourceId, int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Compare each mandatory attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (DopplerRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::DopplerRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::DopplerRowIDL x) |
Fill the values of this row from the IDL struct DopplerRowIDL. | |
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 |
Extrinsic Table | Attributes |
Links | |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. | |
DopplerRow (DopplerTable &table) | |
Create a DopplerRow. | |
DopplerRow (DopplerTable &table, DopplerRow &row) | |
Create a DopplerRow using a copy constructor mechanism. | |
void | setDopplerId (int dopplerId) |
Set dopplerId with the specified int value. | |
void | dopplerIdFromBin (EndianIStream &eis) |
void | sourceIdFromBin (EndianIStream &eis) |
void | transitionIndexFromBin (EndianIStream &eis) |
void | velDefFromBin (EndianIStream &eis) |
void | dopplerIdFromText (const string &s) |
void | sourceIdFromText (const string &s) |
void | transitionIndexFromText (const string &s) |
void | velDefFromText (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. | |
DopplerRow (DopplerTable &table) | |
Create a DopplerRow. | |
DopplerRow (DopplerTable &table, DopplerRow &row) | |
Create a DopplerRow using a copy constructor mechanism. | |
void | setDopplerId (int dopplerId) |
Set dopplerId with the specified int value. | |
void | dopplerIdFromBin (EndianIStream &eis) |
void | sourceIdFromBin (EndianIStream &eis) |
void | transitionIndexFromBin (EndianIStream &eis) |
void | velDefFromBin (EndianIStream &eis) |
void | dopplerIdFromText (const string &s) |
void | sourceIdFromText (const string &s) |
void | transitionIndexFromText (const string &s) |
void | velDefFromText (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 | |
DopplerTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
int | transitionIndex |
===> Attribute transitionIndex | |
DopplerReferenceCodeMod::DopplerReferenceCode | velDef |
===> Attribute velDef | |
Links *binary deserialization material from an EndianIStream std::map< std::string, DopplerAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, DopplerAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::DopplerTable |
class | asdm::RowTransformer< DopplerRow > |
The DopplerRow class is a row of a DopplerTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 93 of file DopplerRow.h.
virtual asdm::DopplerRow::~DopplerRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<DopplerTable, DopplerRow>;
asdm::DopplerRow::DopplerRow | ( | DopplerTable & | table | ) | [private] |
Create a DopplerRow.
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::DopplerRow::DopplerRow | ( | DopplerTable & | table, |
DopplerRow & | row | ||
) | [private] |
Create a DopplerRow using a copy constructor mechanism.
Given a DopplerRow row and a DopplerTable table, the method creates a new DopplerRow 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::DopplerRow::~DopplerRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<DopplerTable, DopplerRow>;
asdm::DopplerRow::DopplerRow | ( | DopplerTable & | table | ) | [private] |
Create a DopplerRow.
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::DopplerRow::DopplerRow | ( | DopplerTable & | table, |
DopplerRow & | row | ||
) | [private] |
Create a DopplerRow using a copy constructor mechanism.
Given a DopplerRow row and a DopplerTable table, the method creates a new DopplerRow 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. |
bool asdm::DopplerRow::compareNoAutoInc | ( | int | sourceId, |
int | transitionIndex, | ||
DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ||
) |
Compare each mandatory attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise.
sourceId | |
transitionIndex | |
velDef |
bool asdm::DopplerRow::compareNoAutoInc | ( | int | sourceId, |
int | transitionIndex, | ||
DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ||
) |
Compare each mandatory attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise.
sourceId | |
transitionIndex | |
velDef |
bool asdm::DopplerRow::compareRequiredValue | ( | int | transitionIndex, |
DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ||
) |
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.
transitionIndex | |
velDef |
bool asdm::DopplerRow::compareRequiredValue | ( | int | transitionIndex, |
DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ||
) |
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.
transitionIndex | |
velDef |
void asdm::DopplerRow::dopplerIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::dopplerIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::dopplerIdFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::dopplerIdFromText | ( | const string & | s | ) | [private] |
bool asdm::DopplerRow::equalByRequiredValue | ( | DopplerRow * | x | ) |
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 DopplerRow whose required attributes of the value part will be compared with those of this. |
bool asdm::DopplerRow::equalByRequiredValue | ( | DopplerRow * | x | ) |
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 DopplerRow whose required attributes of the value part will be compared with those of this. |
void asdm::DopplerRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
DopplerTable& asdm::DopplerRow::getTable | ( | ) | const |
Return the table to which this row belongs.
DopplerTable& asdm::DopplerRow::getTable | ( | ) | const |
Return the table to which this row belongs.
int asdm::DopplerRow::getTransitionIndex | ( | ) | const |
===> Attribute transitionIndex
Get transitionIndex.
int asdm::DopplerRow::getTransitionIndex | ( | ) | const |
===> Attribute transitionIndex
Get transitionIndex.
DopplerReferenceCodeMod::DopplerReferenceCode asdm::DopplerRow::getVelDef | ( | ) | const |
===> Attribute velDef
Get velDef.
DopplerReferenceCodeMod::DopplerReferenceCode asdm::DopplerRow::getVelDef | ( | ) | const |
===> Attribute velDef
Get velDef.
bool asdm::DopplerRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::DopplerRow::isAdded | ( | ) | const |
Has this row been added to its table ?
void asdm::DopplerRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::DopplerRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::DopplerRow::setDopplerId | ( | int | dopplerId | ) | [private] |
Set dopplerId with the specified int value.
dopplerId | The int value to which dopplerId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::DopplerRow::setDopplerId | ( | int | dopplerId | ) | [private] |
Set dopplerId with the specified int value.
dopplerId | The int value to which dopplerId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::DopplerRow::setFromIDL | ( | asdmIDL::DopplerRowIDL | x | ) |
Fill the values of this row from the IDL struct DopplerRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::DopplerRow::setFromIDL | ( | asdmIDL::DopplerRowIDL | x | ) |
Fill the values of this row from the IDL struct DopplerRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::DopplerRow::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::DopplerRow::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::DopplerRow::setSourceId | ( | int | sourceId | ) |
Set sourceId with the specified int.
sourceId | The int value to which sourceId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::DopplerRow::setSourceId | ( | int | sourceId | ) |
Set sourceId with the specified int.
sourceId | The int value to which sourceId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::DopplerRow::setTransitionIndex | ( | int | transitionIndex | ) |
Set transitionIndex with the specified int.
transitionIndex | The int value to which transitionIndex is to be set. |
void asdm::DopplerRow::setTransitionIndex | ( | int | transitionIndex | ) |
Set transitionIndex with the specified int.
transitionIndex | The int value to which transitionIndex is to be set. |
void asdm::DopplerRow::setVelDef | ( | DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ) |
Set velDef with the specified DopplerReferenceCodeMod::DopplerReferenceCode.
velDef | The DopplerReferenceCodeMod::DopplerReferenceCode value to which velDef is to be set. |
void asdm::DopplerRow::setVelDef | ( | DopplerReferenceCodeMod::DopplerReferenceCode | velDef | ) |
Set velDef with the specified DopplerReferenceCodeMod::DopplerReferenceCode.
velDef | The DopplerReferenceCodeMod::DopplerReferenceCode value to which velDef is to be set. |
void asdm::DopplerRow::sourceIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::sourceIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::sourceIdFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::sourceIdFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::DopplerRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::DopplerRowIDL* asdm::DopplerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::DopplerRowIDL* asdm::DopplerRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::DopplerRow::toIDL | ( | asdmIDL::DopplerRowIDL & | x | ) | const |
Define the content of a DopplerRowIDL struct from the values found in this row.
x | a reference to the DopplerRowIDL struct to be set. |
std::string asdm::DopplerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::DopplerRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::DopplerRow::transitionIndexFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::transitionIndexFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::transitionIndexFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::transitionIndexFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::velDefFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::velDefFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::DopplerRow::velDefFromText | ( | const string & | s | ) | [private] |
void asdm::DopplerRow::velDefFromText | ( | const string & | s | ) | [private] |
asdm::DopplerTable [friend] |
Definition at line 94 of file DopplerRow.h.
friend class asdm::RowTransformer< DopplerRow > [friend] |
Definition at line 95 of file DopplerRow.h.
Extrinsic Table asdm::DopplerRow::Attributes |
Definition at line 118 of file DopplerRow.h.
Extrinsic Table asdm::DopplerRow::Attributes |
Definition at line 202 of file DopplerRow.h.
Links *binary deserialization material from an EndianIStream std::map< std::string, DopplerAttributeFromBin > asdm::DopplerRow::fromBinMethods [private] |
Definition at line 488 of file DopplerRow.h.
*text deserialization material std::map< std::string, DopplerAttributeFromText > asdm::DopplerRow::fromTextMethods [private] |
Definition at line 500 of file DopplerRow.h.
bool asdm::DopplerRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 374 of file DopplerRow.h.
Definition at line 241 of file DopplerRow.h.
DopplerTable & asdm::DopplerRow::table [private] |
The table to which this row belongs.
Definition at line 370 of file DopplerRow.h.
int asdm::DopplerRow::transitionIndex [private] |
DopplerReferenceCodeMod::DopplerReferenceCode asdm::DopplerRow::velDef [private] |