casa
5.7.0-16
|
The FlagCmdRow class is a row of a FlagCmdTable. More...
#include <FlagCmdRow.h>
Public Member Functions | |
virtual | ~FlagCmdRow () |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>; More... | |
FlagCmdTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. More... | |
std::string | getType () const |
===> Attribute type More... | |
void | setType (std::string type) |
Set type with the specified std::string. More... | |
std::string | getReason () const |
===> Attribute reason More... | |
void | setReason (std::string reason) |
Set reason with the specified std::string. More... | |
int | getLevel () const |
===> Attribute level More... | |
void | setLevel (int level) |
Set level with the specified int. More... | |
int | getSeverity () const |
===> Attribute severity More... | |
void | setSeverity (int severity) |
Set severity with the specified int. More... | |
bool | getApplied () const |
===> Attribute applied More... | |
void | setApplied (bool applied) |
Set applied with the specified bool. More... | |
std::string | getCommand () const |
===> Attribute command More... | |
void | setCommand (std::string command) |
Set command with the specified std::string. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTimeInterval timeInterval, std::string type, std::string reason, int level, int severity, bool applied, std::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. More... | |
bool | compareRequiredValue (std::string type, std::string reason, int level, int severity, bool applied, std::string command) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (FlagCmdRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::FlagCmdRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::FlagCmdRowIDL &x) const |
Define the content of a FlagCmdRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::FlagCmdRowIDL x) |
Fill the values of this row from the IDL struct FlagCmdRowIDL. More... | |
std::string | toXML () const |
Return this row in the form of an XML string. More... | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. More... | |
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. More... | |
FlagCmdRow (FlagCmdTable &table) | |
Create a FlagCmdRow. More... | |
FlagCmdRow (FlagCmdTable &table, FlagCmdRow *row) | |
Create a FlagCmdRow using a copy constructor mechanism. More... | |
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 std::string &s) |
void | typeFromText (const std::string &s) |
void | reasonFromText (const std::string &s) |
void | levelFromText (const std::string &s) |
void | severityFromText (const std::string &s) |
void | appliedFromText (const std::string &s) |
void | commandFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
FlagCmdTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
std::string | type |
===> Attribute type More... | |
std::string | reason |
===> Attribute reason More... | |
int | level |
===> Attribute level More... | |
int | severity |
===> Attribute severity More... | |
bool | applied |
===> Attribute applied More... | |
std::string | command |
===> Attribute command More... | |
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", branch ""
Definition at line 100 of file FlagCmdRow.h.
|
virtual |
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>;
|
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. |
|
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. |
|
private |
|
private |
|
private |
|
private |
Extrinsic Table Attributes Links* bool asdm::FlagCmdRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, |
std::string | type, | ||
std::string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
std::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 | ( | std::string | type, |
std::string | reason, | ||
int | level, | ||
int | severity, | ||
bool | applied, | ||
std::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::getApplied | ( | ) | const |
===> Attribute applied
Get applied.
std::string asdm::FlagCmdRow::getCommand | ( | ) | const |
===> Attribute command
Get command.
int asdm::FlagCmdRow::getLevel | ( | ) | const |
===> Attribute level
Get level.
std::string asdm::FlagCmdRow::getReason | ( | ) | const |
===> Attribute reason
Get reason.
int asdm::FlagCmdRow::getSeverity | ( | ) | const |
===> Attribute severity
Get severity.
FlagCmdTable& asdm::FlagCmdRow::getTable | ( | ) | const |
Return the table to which this row belongs.
std::string asdm::FlagCmdRow::getType | ( | ) | const |
===> Attribute type
Get type.
bool asdm::FlagCmdRow::isAdded | ( | ) | const |
Has this row been added to its table ?
|
private |
This method is used by the Table class when this row is added to the table.
|
private |
|
private |
|
private |
|
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::setCommand | ( | std::string | command | ) |
Set command with the specified std::string.
command | The std::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::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::setReason | ( | std::string | reason | ) |
Set reason with the specified std::string.
reason | The std::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::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 | ( | std::string | type | ) |
Set type with the specified std::string.
type | The std::string value to which type is to be set. |
|
private |
|
private |
|
private |
|
private |
|
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.
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.
|
private |
|
private |
|
friend |
Definition at line 101 of file FlagCmdRow.h.
|
friend |
Definition at line 102 of file FlagCmdRow.h.
|
private |
===> Attribute applied
Definition at line 582 of file FlagCmdRow.h.
Intrinsic Table asdm::FlagCmdRow::Attributes |
Definition at line 125 of file FlagCmdRow.h.
|
private |
===> Attribute command
Definition at line 593 of file FlagCmdRow.h.
|
private |
Definition at line 612 of file FlagCmdRow.h.
|
private |
Definition at line 627 of file FlagCmdRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 483 of file FlagCmdRow.h.
|
private |
===> Attribute level
Definition at line 560 of file FlagCmdRow.h.
|
private |
===> Attribute reason
Definition at line 549 of file FlagCmdRow.h.
|
private |
===> Attribute severity
Definition at line 571 of file FlagCmdRow.h.
|
private |
The table to which this row belongs.
Definition at line 479 of file FlagCmdRow.h.
|
private |
===> Attribute type
Definition at line 538 of file FlagCmdRow.h.