OpenJAUS Software Development Kit
4.3.1
|
#include <SystemLevelEnumeration.h>
Inherits openjaus::model::fields::Enumeration.
Public Types | |
enum | SystemLevelEnum { SYSTEM = 1, SUBSYSTEM = 2, NODE = 3, COMPONENT = 4 } |
Public Member Functions | |
SystemLevelEnumeration () | |
SystemLevelEnumeration (SystemLevelEnum value) | |
~SystemLevelEnumeration () | |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length (void) |
Serializes object to internal transport buffer. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
std::string | toString () const |
SystemLevelEnum | getValue (void) const |
void | setValue (SystemLevelEnum value) |
Public Member Functions inherited from openjaus::model::fields::Enumeration | |
Enumeration () | |
virtual | ~Enumeration () |
long | getValue () const |
Accessor to get the value of value. More... | |
bool | setValue (long value) |
Accessor to set value of value. More... | |
Public Member Functions inherited from openjaus::model::fields::ComplexField | |
virtual | ~ComplexField () |
Public Member Functions inherited from openjaus::model::fields::Field | |
Field () | |
virtual | ~Field () |
std::string | getName () const |
Accessor to get the value of name. More... | |
bool | setName (std::string name) |
Accessor to set value of name. More... | |
Public Member Functions inherited from openjaus::system::Transportable | |
virtual | ~Transportable () |
Transportable () | |
Static Public Member Functions | |
static std::string | toString (SystemLevelEnum value) |
Protected Attributes | |
SystemLevelEnum | value |
Protected Attributes inherited from openjaus::model::fields::Enumeration | |
long | value |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::core::SystemLevelEnumeration::SystemLevelEnumeration | ( | ) |
openjaus::core::SystemLevelEnumeration::SystemLevelEnumeration | ( | SystemLevelEnumeration::SystemLevelEnum | value | ) |
openjaus::core::SystemLevelEnumeration::~SystemLevelEnumeration | ( | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Enumeration.
SystemLevelEnumeration::SystemLevelEnum openjaus::core::SystemLevelEnumeration::getValue | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
void openjaus::core::SystemLevelEnumeration::setValue | ( | SystemLevelEnumeration::SystemLevelEnum | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Enumeration.
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
|
static |
std::string openjaus::core::SystemLevelEnumeration::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |