casa
$Rev:20696$
|
The ProcessorRow class is a row of a ProcessorTable. More...
#include <ProcessorRow.h>
Public Member Functions | |
virtual | ~ProcessorRow () |
friend class asdm::TableStreamReader<ProcessorTable, ProcessorRow>; | |
ProcessorTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Tag | getModeId () const |
===> Attribute modeId | |
void | setModeId (Tag modeId) |
Set modeId with the specified Tag. | |
ProcessorTypeMod::ProcessorType | getProcessorType () const |
===> Attribute processorType | |
void | setProcessorType (ProcessorTypeMod::ProcessorType processorType) |
Set processorType with the specified ProcessorTypeMod::ProcessorType. | |
ProcessorSubTypeMod::ProcessorSubType | getProcessorSubType () const |
===> Attribute processorSubType | |
void | setProcessorSubType (ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Set processorSubType with the specified ProcessorSubTypeMod::ProcessorSubType. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Compare each mandatory attribute except the autoincrementable one of this ProcessorRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (ProcessorRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::ProcessorRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::ProcessorRowIDL &x) const |
Define the content of a ProcessorRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::ProcessorRowIDL x) |
Fill the values of this row from the IDL struct ProcessorRowIDL. | |
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 | ~ProcessorRow () |
friend class asdm::TableStreamReader<ProcessorTable, ProcessorRow>; | |
ProcessorTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
Tag | getModeId () const |
===> Attribute modeId | |
void | setModeId (Tag modeId) |
Set modeId with the specified Tag. | |
ProcessorTypeMod::ProcessorType | getProcessorType () const |
===> Attribute processorType | |
void | setProcessorType (ProcessorTypeMod::ProcessorType processorType) |
Set processorType with the specified ProcessorTypeMod::ProcessorType. | |
ProcessorSubTypeMod::ProcessorSubType | getProcessorSubType () const |
===> Attribute processorSubType | |
void | setProcessorSubType (ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Set processorSubType with the specified ProcessorSubTypeMod::ProcessorSubType. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Compare each mandatory attribute except the autoincrementable one of this ProcessorRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (ProcessorRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::ProcessorRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::ProcessorRowIDL x) |
Fill the values of this row from the IDL struct ProcessorRowIDL. | |
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. | |
ProcessorRow (ProcessorTable &table) | |
Create a ProcessorRow. | |
ProcessorRow (ProcessorTable &table, ProcessorRow &row) | |
Create a ProcessorRow using a copy constructor mechanism. | |
void | setProcessorId (Tag processorId) |
Set processorId with the specified Tag value. | |
void | processorIdFromBin (EndianIStream &eis) |
void | modeIdFromBin (EndianIStream &eis) |
void | processorTypeFromBin (EndianIStream &eis) |
void | processorSubTypeFromBin (EndianIStream &eis) |
void | processorIdFromText (const string &s) |
void | modeIdFromText (const string &s) |
void | processorTypeFromText (const string &s) |
void | processorSubTypeFromText (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. | |
ProcessorRow (ProcessorTable &table) | |
Create a ProcessorRow. | |
ProcessorRow (ProcessorTable &table, ProcessorRow &row) | |
Create a ProcessorRow using a copy constructor mechanism. | |
void | setProcessorId (Tag processorId) |
Set processorId with the specified Tag value. | |
void | processorIdFromBin (EndianIStream &eis) |
void | modeIdFromBin (EndianIStream &eis) |
void | processorTypeFromBin (EndianIStream &eis) |
void | processorSubTypeFromBin (EndianIStream &eis) |
void | processorIdFromText (const string &s) |
void | modeIdFromText (const string &s) |
void | processorTypeFromText (const string &s) |
void | processorSubTypeFromText (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 | |
ProcessorTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
Tag | modeId |
===> Attribute modeId | |
ProcessorTypeMod::ProcessorType | processorType |
===> Attribute processorType | |
ProcessorSubTypeMod::ProcessorSubType | processorSubType |
===> Attribute processorSubType | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, ProcessorAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, ProcessorAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::ProcessorTable |
class | asdm::RowTransformer< ProcessorRow > |
The ProcessorRow class is a row of a ProcessorTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 98 of file ProcessorRow.h.
virtual asdm::ProcessorRow::~ProcessorRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<ProcessorTable, ProcessorRow>;
asdm::ProcessorRow::ProcessorRow | ( | ProcessorTable & | table | ) | [private] |
Create a ProcessorRow.
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::ProcessorRow::ProcessorRow | ( | ProcessorTable & | table, |
ProcessorRow & | row | ||
) | [private] |
Create a ProcessorRow using a copy constructor mechanism.
Given a ProcessorRow row and a ProcessorTable table, the method creates a new ProcessorRow 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::ProcessorRow::~ProcessorRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<ProcessorTable, ProcessorRow>;
asdm::ProcessorRow::ProcessorRow | ( | ProcessorTable & | table | ) | [private] |
Create a ProcessorRow.
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::ProcessorRow::ProcessorRow | ( | ProcessorTable & | table, |
ProcessorRow & | row | ||
) | [private] |
Create a ProcessorRow using a copy constructor mechanism.
Given a ProcessorRow row and a ProcessorTable table, the method creates a new ProcessorRow 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. |
Extrinsic Table Attributes Links* bool asdm::ProcessorRow::compareNoAutoInc | ( | Tag | modeId, |
ProcessorTypeMod::ProcessorType | processorType, | ||
ProcessorSubTypeMod::ProcessorSubType | processorSubType | ||
) |
Compare each mandatory attribute except the autoincrementable one of this ProcessorRow with the corresponding parameters and return true if there is a match and false otherwise.
modeId | |
processorType | |
processorSubType |
Extrinsic Table Attributes Links* bool asdm::ProcessorRow::compareNoAutoInc | ( | Tag | modeId, |
ProcessorTypeMod::ProcessorType | processorType, | ||
ProcessorSubTypeMod::ProcessorSubType | processorSubType | ||
) |
Compare each mandatory attribute except the autoincrementable one of this ProcessorRow with the corresponding parameters and return true if there is a match and false otherwise.
modeId | |
processorType | |
processorSubType |
bool asdm::ProcessorRow::compareRequiredValue | ( | Tag | modeId, |
ProcessorTypeMod::ProcessorType | processorType, | ||
ProcessorSubTypeMod::ProcessorSubType | processorSubType | ||
) |
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.
modeId | |
processorType | |
processorSubType |
bool asdm::ProcessorRow::compareRequiredValue | ( | Tag | modeId, |
ProcessorTypeMod::ProcessorType | processorType, | ||
ProcessorSubTypeMod::ProcessorSubType | processorSubType | ||
) |
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.
modeId | |
processorType | |
processorSubType |
bool asdm::ProcessorRow::equalByRequiredValue | ( | ProcessorRow * | 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 ProcessorRow whose required attributes of the value part will be compared with those of this. |
bool asdm::ProcessorRow::equalByRequiredValue | ( | ProcessorRow * | 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 ProcessorRow whose required attributes of the value part will be compared with those of this. |
void asdm::ProcessorRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
Tag asdm::ProcessorRow::getModeId | ( | ) | const |
Tag asdm::ProcessorRow::getModeId | ( | ) | const |
ProcessorSubTypeMod::ProcessorSubType asdm::ProcessorRow::getProcessorSubType | ( | ) | const |
===> Attribute processorSubType
Get processorSubType.
ProcessorSubTypeMod::ProcessorSubType asdm::ProcessorRow::getProcessorSubType | ( | ) | const |
===> Attribute processorSubType
Get processorSubType.
ProcessorTypeMod::ProcessorType asdm::ProcessorRow::getProcessorType | ( | ) | const |
===> Attribute processorType
Get processorType.
ProcessorTypeMod::ProcessorType asdm::ProcessorRow::getProcessorType | ( | ) | const |
===> Attribute processorType
Get processorType.
ProcessorTable& asdm::ProcessorRow::getTable | ( | ) | const |
Return the table to which this row belongs.
ProcessorTable& asdm::ProcessorRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::ProcessorRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::ProcessorRow::isAdded | ( | ) | const |
Has this row been added to its table ?
void asdm::ProcessorRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::ProcessorRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::ProcessorRow::modeIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::modeIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::modeIdFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::modeIdFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorIdFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorIdFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorIdFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorSubTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorSubTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorSubTypeFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorSubTypeFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorTypeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::ProcessorRow::processorTypeFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::processorTypeFromText | ( | const string & | s | ) | [private] |
void asdm::ProcessorRow::setFromIDL | ( | asdmIDL::ProcessorRowIDL | x | ) |
Fill the values of this row from the IDL struct ProcessorRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::ProcessorRow::setFromIDL | ( | asdmIDL::ProcessorRowIDL | x | ) |
Fill the values of this row from the IDL struct ProcessorRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::ProcessorRow::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::ProcessorRow::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::ProcessorRow::setModeId | ( | Tag | modeId | ) |
void asdm::ProcessorRow::setModeId | ( | Tag | modeId | ) |
void asdm::ProcessorRow::setProcessorId | ( | Tag | processorId | ) | [private] |
Set processorId with the specified Tag value.
processorId | The Tag value to which processorId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::ProcessorRow::setProcessorId | ( | Tag | processorId | ) | [private] |
Set processorId with the specified Tag value.
processorId | The Tag value to which processorId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::ProcessorRow::setProcessorSubType | ( | ProcessorSubTypeMod::ProcessorSubType | processorSubType | ) |
Set processorSubType with the specified ProcessorSubTypeMod::ProcessorSubType.
processorSubType | The ProcessorSubTypeMod::ProcessorSubType value to which processorSubType is to be set. |
void asdm::ProcessorRow::setProcessorSubType | ( | ProcessorSubTypeMod::ProcessorSubType | processorSubType | ) |
Set processorSubType with the specified ProcessorSubTypeMod::ProcessorSubType.
processorSubType | The ProcessorSubTypeMod::ProcessorSubType value to which processorSubType is to be set. |
void asdm::ProcessorRow::setProcessorType | ( | ProcessorTypeMod::ProcessorType | processorType | ) |
Set processorType with the specified ProcessorTypeMod::ProcessorType.
processorType | The ProcessorTypeMod::ProcessorType value to which processorType is to be set. |
void asdm::ProcessorRow::setProcessorType | ( | ProcessorTypeMod::ProcessorType | processorType | ) |
Set processorType with the specified ProcessorTypeMod::ProcessorType.
processorType | The ProcessorTypeMod::ProcessorType value to which processorType is to be set. |
void asdm::ProcessorRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::ProcessorRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::ProcessorRowIDL* asdm::ProcessorRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::ProcessorRowIDL* asdm::ProcessorRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::ProcessorRow::toIDL | ( | asdmIDL::ProcessorRowIDL & | x | ) | const |
Define the content of a ProcessorRowIDL struct from the values found in this row.
x | a reference to the ProcessorRowIDL struct to be set. |
std::string asdm::ProcessorRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::ProcessorRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
asdm::ProcessorTable [friend] |
Definition at line 99 of file ProcessorRow.h.
friend class asdm::RowTransformer< ProcessorRow > [friend] |
Definition at line 100 of file ProcessorRow.h.
Intrinsic Table asdm::ProcessorRow::Attributes |
Definition at line 123 of file ProcessorRow.h.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, ProcessorAttributeFromBin > asdm::ProcessorRow::fromBinMethods [private] |
Definition at line 470 of file ProcessorRow.h.
*text deserialization material std::map< std::string, ProcessorAttributeFromText > asdm::ProcessorRow::fromTextMethods [private] |
Definition at line 482 of file ProcessorRow.h.
bool asdm::ProcessorRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 362 of file ProcessorRow.h.
Tag asdm::ProcessorRow::modeId [private] |
ProcessorSubTypeMod::ProcessorSubType asdm::ProcessorRow::processorSubType [private] |
ProcessorTypeMod::ProcessorType asdm::ProcessorRow::processorType [private] |
ProcessorTable & asdm::ProcessorRow::table [private] |
The table to which this row belongs.
Definition at line 358 of file ProcessorRow.h.