casa
$Rev:20696$
|
The FlagCmdRow class is a row of a FlagCmdTable. More...
#include <FlagCmdRow.h>
Public Member Functions | |
virtual | ~FlagCmdRow () |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>; | |
FlagCmdTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. | |
string | getType () const |
===> Attribute type | |
void | setType (string type) |
Set type with the specified string. | |
string | getReason () const |
===> Attribute reason | |
void | setReason (string reason) |
Set reason with the specified string. | |
int | getLevel () const |
===> Attribute level | |
void | setLevel (int level) |
Set level with the specified int. | |
int | getSeverity () const |
===> Attribute severity | |
void | setSeverity (int severity) |
Set severity with the specified int. | |
bool | getApplied () const |
===> Attribute applied | |
void | setApplied (bool applied) |
Set applied with the specified bool. | |
string | getCommand () const |
===> Attribute command | |
void | setCommand (string command) |
Set command with the specified string. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTimeInterval timeInterval, string type, string reason, int level, int severity, bool applied, string command) |
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (string type, string reason, int level, int severity, bool applied, string command) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (FlagCmdRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::FlagCmdRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | toIDL (asdmIDL::FlagCmdRowIDL &x) const |
Define the content of a FlagCmdRowIDL struct from the values found in this row. | |
void | setFromIDL (asdmIDL::FlagCmdRowIDL x) |
Fill the values of this row from the IDL struct FlagCmdRowIDL. | |
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 | ~FlagCmdRow () |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>; | |
FlagCmdTable & | getTable () const |
Return the table to which this row belongs. | |
bool | isAdded () const |
Has this row been added to its table ? | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. | |
string | getType () const |
===> Attribute type | |
void | setType (string type) |
Set type with the specified string. | |
string | getReason () const |
===> Attribute reason | |
void | setReason (string reason) |
Set reason with the specified string. | |
int | getLevel () const |
===> Attribute level | |
void | setLevel (int level) |
Set level with the specified int. | |
int | getSeverity () const |
===> Attribute severity | |
void | setSeverity (int severity) |
Set severity with the specified int. | |
bool | getApplied () const |
===> Attribute applied | |
void | setApplied (bool applied) |
Set applied with the specified bool. | |
string | getCommand () const |
===> Attribute command | |
void | setCommand (string command) |
Set command with the specified string. | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTimeInterval timeInterval, string type, string reason, int level, int severity, bool applied, string command) |
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise. | |
bool | compareRequiredValue (string type, string reason, int level, int severity, bool applied, string command) |
Compare each mandatory value (i.e. | |
bool | equalByRequiredValue (FlagCmdRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
asdmIDL::FlagCmdRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. | |
void | setFromIDL (asdmIDL::FlagCmdRowIDL x) |
Fill the values of this row from the IDL struct FlagCmdRowIDL. | |
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. | |
FlagCmdRow (FlagCmdTable &table) | |
Create a FlagCmdRow. | |
FlagCmdRow (FlagCmdTable &table, FlagCmdRow &row) | |
Create a FlagCmdRow using a copy constructor mechanism. | |
void | timeIntervalFromBin (EndianIStream &eis) |
void | typeFromBin (EndianIStream &eis) |
void | reasonFromBin (EndianIStream &eis) |
void | levelFromBin (EndianIStream &eis) |
void | severityFromBin (EndianIStream &eis) |
void | appliedFromBin (EndianIStream &eis) |
void | commandFromBin (EndianIStream &eis) |
void | timeIntervalFromText (const string &s) |
void | typeFromText (const string &s) |
void | reasonFromText (const string &s) |
void | levelFromText (const string &s) |
void | severityFromText (const string &s) |
void | appliedFromText (const string &s) |
void | commandFromText (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. | |
FlagCmdRow (FlagCmdTable &table) | |
Create a FlagCmdRow. | |
FlagCmdRow (FlagCmdTable &table, FlagCmdRow &row) | |
Create a FlagCmdRow using a copy constructor mechanism. | |
void | timeIntervalFromBin (EndianIStream &eis) |
void | typeFromBin (EndianIStream &eis) |
void | reasonFromBin (EndianIStream &eis) |
void | levelFromBin (EndianIStream &eis) |
void | severityFromBin (EndianIStream &eis) |
void | appliedFromBin (EndianIStream &eis) |
void | commandFromBin (EndianIStream &eis) |
void | timeIntervalFromText (const string &s) |
void | typeFromText (const string &s) |
void | reasonFromText (const string &s) |
void | levelFromText (const string &s) |
void | severityFromText (const string &s) |
void | appliedFromText (const string &s) |
void | commandFromText (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 | |
FlagCmdTable & | table |
The table to which this row belongs. | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. | |
string | type |
===> Attribute type | |
string | reason |
===> Attribute reason | |
int | level |
===> Attribute level | |
int | severity |
===> Attribute severity | |
bool | applied |
===> Attribute applied | |
string | command |
===> Attribute command | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, FlagCmdAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, FlagCmdAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::FlagCmdTable |
class | asdm::RowTransformer< FlagCmdRow > |
The FlagCmdRow class is a row of a FlagCmdTable.
Generated from model's revision "1.64", branch "HEAD"
Generated from model's revision "1.61", branch "HEAD"
Definition at line 100 of file FlagCmdRow.h.
virtual asdm::FlagCmdRow::~FlagCmdRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>;
asdm::FlagCmdRow::FlagCmdRow | ( | FlagCmdTable & | table | ) | [private] |
Create a FlagCmdRow.
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::FlagCmdRow::FlagCmdRow | ( | FlagCmdTable & | table, |
FlagCmdRow & | row | ||
) | [private] |
Create a FlagCmdRow using a copy constructor mechanism.
Given a FlagCmdRow row and a FlagCmdTable table, the method creates a new FlagCmdRow 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::FlagCmdRow::~FlagCmdRow | ( | ) | [virtual] |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>;
asdm::FlagCmdRow::FlagCmdRow | ( | FlagCmdTable & | table | ) | [private] |
Create a FlagCmdRow.
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::FlagCmdRow::FlagCmdRow | ( | FlagCmdTable & | table, |
FlagCmdRow & | row | ||
) | [private] |
Create a FlagCmdRow using a copy constructor mechanism.
Given a FlagCmdRow row and a FlagCmdTable table, the method creates a new FlagCmdRow 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::FlagCmdRow::appliedFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::appliedFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::appliedFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::appliedFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::commandFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::commandFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::commandFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::commandFromText | ( | const string & | s | ) | [private] |
Extrinsic Table Attributes Links* bool asdm::FlagCmdRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, |
string | type, | ||
string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
string | command | ||
) |
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise.
timeInterval | |
type | |
reason | |
level | |
severity | |
applied | |
command |
Extrinsic Table Attributes Links* bool asdm::FlagCmdRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, |
string | type, | ||
string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
string | command | ||
) |
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise.
timeInterval | |
type | |
reason | |
level | |
severity | |
applied | |
command |
bool asdm::FlagCmdRow::compareRequiredValue | ( | string | type, |
string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
string | command | ||
) |
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.
type | |
reason | |
level | |
severity | |
applied | |
command |
bool asdm::FlagCmdRow::compareRequiredValue | ( | string | type, |
string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
string | command | ||
) |
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.
type | |
reason | |
level | |
severity | |
applied | |
command |
bool asdm::FlagCmdRow::equalByRequiredValue | ( | FlagCmdRow * | 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 FlagCmdRow whose required attributes of the value part will be compared with those of this. |
bool asdm::FlagCmdRow::equalByRequiredValue | ( | FlagCmdRow * | 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 FlagCmdRow whose required attributes of the value part will be compared with those of this. |
void asdm::FlagCmdRow::fromText | ( | const std::string & | attributeName, |
const std::string & | t | ||
) | [private] |
bool asdm::FlagCmdRow::getApplied | ( | ) | const |
===> Attribute applied
Get applied.
bool asdm::FlagCmdRow::getApplied | ( | ) | const |
===> Attribute applied
Get applied.
string asdm::FlagCmdRow::getCommand | ( | ) | const |
===> Attribute command
Get command.
string asdm::FlagCmdRow::getCommand | ( | ) | const |
===> Attribute command
Get command.
int asdm::FlagCmdRow::getLevel | ( | ) | const |
===> Attribute level
Get level.
int asdm::FlagCmdRow::getLevel | ( | ) | const |
===> Attribute level
Get level.
string asdm::FlagCmdRow::getReason | ( | ) | const |
===> Attribute reason
Get reason.
string asdm::FlagCmdRow::getReason | ( | ) | const |
===> Attribute reason
Get reason.
int asdm::FlagCmdRow::getSeverity | ( | ) | const |
===> Attribute severity
Get severity.
int asdm::FlagCmdRow::getSeverity | ( | ) | const |
===> Attribute severity
Get severity.
FlagCmdTable& asdm::FlagCmdRow::getTable | ( | ) | const |
Return the table to which this row belongs.
FlagCmdTable& asdm::FlagCmdRow::getTable | ( | ) | const |
Return the table to which this row belongs.
string asdm::FlagCmdRow::getType | ( | ) | const |
===> Attribute type
Get type.
string asdm::FlagCmdRow::getType | ( | ) | const |
===> Attribute type
Get type.
bool asdm::FlagCmdRow::isAdded | ( | ) | const |
Has this row been added to its table ?
bool asdm::FlagCmdRow::isAdded | ( | ) | const |
Has this row been added to its table ?
void asdm::FlagCmdRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::FlagCmdRow::isAdded | ( | bool | added | ) | [private] |
This method is used by the Table class when this row is added to the table.
void asdm::FlagCmdRow::levelFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::levelFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::levelFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::levelFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::reasonFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::reasonFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::reasonFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::reasonFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::setApplied | ( | bool | applied | ) |
Set applied with the specified bool.
applied | The bool value to which applied is to be set. |
void asdm::FlagCmdRow::setApplied | ( | bool | applied | ) |
Set applied with the specified bool.
applied | The bool value to which applied is to be set. |
void asdm::FlagCmdRow::setCommand | ( | string | command | ) |
Set command with the specified string.
command | The string value to which command is to be set. |
void asdm::FlagCmdRow::setCommand | ( | string | command | ) |
Set command with the specified string.
command | The string value to which command is to be set. |
void asdm::FlagCmdRow::setFromIDL | ( | asdmIDL::FlagCmdRowIDL | x | ) |
Fill the values of this row from the IDL struct FlagCmdRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::FlagCmdRow::setFromIDL | ( | asdmIDL::FlagCmdRowIDL | x | ) |
Fill the values of this row from the IDL struct FlagCmdRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::FlagCmdRow::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::FlagCmdRow::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::FlagCmdRow::setLevel | ( | int | level | ) |
Set level with the specified int.
level | The int value to which level is to be set. |
void asdm::FlagCmdRow::setLevel | ( | int | level | ) |
Set level with the specified int.
level | The int value to which level is to be set. |
void asdm::FlagCmdRow::setReason | ( | string | reason | ) |
Set reason with the specified string.
reason | The string value to which reason is to be set. |
void asdm::FlagCmdRow::setReason | ( | string | reason | ) |
Set reason with the specified string.
reason | The string value to which reason is to be set. |
void asdm::FlagCmdRow::setSeverity | ( | int | severity | ) |
Set severity with the specified int.
severity | The int value to which severity is to be set. |
void asdm::FlagCmdRow::setSeverity | ( | int | severity | ) |
Set severity with the specified int.
severity | The int value to which severity is to be set. |
void asdm::FlagCmdRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::FlagCmdRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::FlagCmdRow::setType | ( | string | type | ) |
Set type with the specified string.
type | The string value to which type is to be set. |
void asdm::FlagCmdRow::setType | ( | string | type | ) |
Set type with the specified string.
type | The string value to which type is to be set. |
void asdm::FlagCmdRow::severityFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::severityFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::severityFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::severityFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::timeIntervalFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::timeIntervalFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::timeIntervalFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::timeIntervalFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
void asdm::FlagCmdRow::toBin | ( | EndianOSStream & | eoss | ) | [private] |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::FlagCmdRowIDL* asdm::FlagCmdRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
asdmIDL::FlagCmdRowIDL* asdm::FlagCmdRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::FlagCmdRow::toIDL | ( | asdmIDL::FlagCmdRowIDL & | x | ) | const |
Define the content of a FlagCmdRowIDL struct from the values found in this row.
x | a reference to the FlagCmdRowIDL struct to be set. |
std::string asdm::FlagCmdRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
std::string asdm::FlagCmdRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::FlagCmdRow::typeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::typeFromBin | ( | EndianIStream & | eis | ) | [private] |
void asdm::FlagCmdRow::typeFromText | ( | const string & | s | ) | [private] |
void asdm::FlagCmdRow::typeFromText | ( | const string & | s | ) | [private] |
asdm::FlagCmdTable [friend] |
Definition at line 101 of file FlagCmdRow.h.
friend class asdm::RowTransformer< FlagCmdRow > [friend] |
Definition at line 102 of file FlagCmdRow.h.
bool asdm::FlagCmdRow::applied [private] |
Intrinsic Table asdm::FlagCmdRow::Attributes |
Definition at line 125 of file FlagCmdRow.h.
string asdm::FlagCmdRow::command [private] |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, FlagCmdAttributeFromBin > asdm::FlagCmdRow::fromBinMethods [private] |
Definition at line 612 of file FlagCmdRow.h.
*text deserialization material std::map< std::string, FlagCmdAttributeFromText > asdm::FlagCmdRow::fromTextMethods [private] |
Definition at line 627 of file FlagCmdRow.h.
bool asdm::FlagCmdRow::hasBeenAdded [private] |
Whether this row has been added to the table or not.
Definition at line 483 of file FlagCmdRow.h.
int asdm::FlagCmdRow::level [private] |
string asdm::FlagCmdRow::reason [private] |
int asdm::FlagCmdRow::severity [private] |
FlagCmdTable & asdm::FlagCmdRow::table [private] |
The table to which this row belongs.
Definition at line 479 of file FlagCmdRow.h.
string asdm::FlagCmdRow::type [private] |