casa
$Rev:20696$
|
The EphemerisRow class is a row of a EphemerisTable. More...
#include <EphemerisRow.h>
Public Member Functions | |
virtual | ~EphemerisRow () |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>; | |
EphemerisTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Extrinsic Table Attributes Links *bool | equalByRequiredValue (EphemerisRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::EphemerisRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::EphemerisRowIDL &x) const |
Define the content of a EphemerisRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::EphemerisRowIDL x) |
Fill the values of this row from the IDL struct EphemerisRowIDL. | |
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 | ~EphemerisRow () |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>; | |
EphemerisTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Extrinsic Table Attributes Links *bool | equalByRequiredValue (EphemerisRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::EphemerisRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::EphemerisRowIDL x) |
Fill the values of this row from the IDL struct EphemerisRowIDL. | |
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. | |
EphemerisRow (EphemerisTable &table) | |
Create a EphemerisRow. | |
EphemerisRow (EphemerisTable &table, EphemerisRow &row) | |
Create a EphemerisRow using a copy constructor mechanism. | |
void | setEphemerisId (Tag ephemerisId) |
Set ephemerisId with the specified Tag value. | |
void | ephemerisIdFromBin (EndianIStream &eis) |
void | ephemerisIdFromText (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. | |
EphemerisRow (EphemerisTable &table) | |
Create a EphemerisRow. | |
EphemerisRow (EphemerisTable &table, EphemerisRow &row) | |
Create a EphemerisRow using a copy constructor mechanism. | |
void | setEphemerisId (Tag ephemerisId) |
Set ephemerisId with the specified Tag value. | |
void | ephemerisIdFromBin (EndianIStream &eis) |
void | ephemerisIdFromText (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 | |
EphemerisTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, EphemerisAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, EphemerisAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::EphemerisTable |
class | asdm::RowTransformer< EphemerisRow > |
The EphemerisRow class is a row of a EphemerisTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 88 of file EphemerisRow.h.
virtual asdm::EphemerisRow::~EphemerisRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>;
asdm::EphemerisRow::EphemerisRow | ( | EphemerisTable & | table | ) | [private] |
Create a EphemerisRow.
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::EphemerisRow::EphemerisRow | ( | EphemerisTable & | table, |
EphemerisRow & | row | ||
) | [private] |
Create a EphemerisRow using a copy constructor mechanism.
Given a EphemerisRow row and a EphemerisTable table, the method creates a new EphemerisRow 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::EphemerisRow::~EphemerisRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>;
asdm::EphemerisRow::EphemerisRow | ( | EphemerisTable & | table | ) | [private] |
Create a EphemerisRow.
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::EphemerisRow::EphemerisRow | ( | EphemerisTable & | table, |
EphemerisRow & | row | ||
) | [private] |
Create a EphemerisRow using a copy constructor mechanism.
Given a EphemerisRow row and a EphemerisTable table, the method creates a new EphemerisRow 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::EphemerisRow::ephemerisIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::EphemerisRow::ephemerisIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::EphemerisRow::ephemerisIdFromText | ( | const string & | s | ) | [private] |
void asdm::EphemerisRow::ephemerisIdFromText | ( | const string & | s | ) | [private] |
Extrinsic Table Attributes Links* bool asdm::EphemerisRow::equalByRequiredValue | ( | EphemerisRow * | 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 EphemerisRow whose required attributes of the value part will be compared with those of this. |
Extrinsic Table Attributes Links* bool asdm::EphemerisRow::equalByRequiredValue | ( | EphemerisRow * | 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 EphemerisRow whose required attributes of the value part will be compared with those of this. |
void asdm::EphemerisRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
EphemerisTable& asdm::EphemerisRow::getTable | ( | ) | const |
Return the table to which this row belongs.
EphemerisTable& asdm::EphemerisRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::EphemerisRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::EphemerisRow::isAdded | ( | ) | const |
Has this row been added to its table ?
void asdm::EphemerisRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::EphemerisRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::EphemerisRow::setEphemerisId | ( | Tag | ephemerisId | ) | [private] |
Set ephemerisId with the specified Tag value.
ephemerisId | The Tag value to which ephemerisId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::EphemerisRow::setEphemerisId | ( | Tag | ephemerisId | ) | [private] |
Set ephemerisId with the specified Tag value.
ephemerisId | The Tag value to which ephemerisId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::EphemerisRow::setFromIDL | ( | asdmIDL::EphemerisRowIDL | x | ) |
Fill the values of this row from the IDL struct EphemerisRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::EphemerisRow::setFromIDL | ( | asdmIDL::EphemerisRowIDL | x | ) |
Fill the values of this row from the IDL struct EphemerisRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::EphemerisRow::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::EphemerisRow::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::EphemerisRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::EphemerisRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::EphemerisRowIDL* asdm::EphemerisRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::EphemerisRowIDL* asdm::EphemerisRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::EphemerisRow::toIDL | ( | asdmIDL::EphemerisRowIDL & | x | ) | const |
Define the content of a EphemerisRowIDL struct from the values found in this row.
x | a reference to the EphemerisRowIDL struct to be set. |
std::string asdm::EphemerisRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::EphemerisRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
asdm::EphemerisTable [friend] |
Definition at line 89 of file EphemerisRow.h.
friend class asdm::RowTransformer< EphemerisRow > [friend] |
Definition at line 90 of file EphemerisRow.h.
Intrinsic Table asdm::EphemerisRow::Attributes |
Definition at line 113 of file EphemerisRow.h.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, EphemerisAttributeFromBin > asdm::EphemerisRow::fromBinMethods [private] |
Definition at line 307 of file EphemerisRow.h.
*text deserialization material std::map< std::string, EphemerisAttributeFromText > asdm::EphemerisRow::fromTextMethods [private] |
Definition at line 316 of file EphemerisRow.h.
bool asdm::EphemerisRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 232 of file EphemerisRow.h.
EphemerisTable & asdm::EphemerisRow::table [private] |
The table to which this row belongs.
Definition at line 228 of file EphemerisRow.h.