OpenJAUS Software Development Kit
4.3.1
|
#include <X2Variant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { LITERAL = 0, REFERENCE = 1 } |
Public Member Functions | |
X2Variant () | |
~X2Variant () | |
X2Variant::TypeEnum | getType (void) |
void | setType (X2Variant::TypeEnum type) |
void | copy (X2Variant &source) |
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 |
LiteralRecord & | getLiteral (void) |
ReferenceRecord & | getReference (void) |
std::string | typeToString (void) |
Public Member Functions inherited from openjaus::model::fields::Variant | |
Variant () | |
virtual | ~Variant () |
virtual std::string | toString () const |
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 () | |
Private Attributes | |
TypeEnum | type |
LiteralRecord | literal |
ReferenceRecord | reference |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::hmi::X2Variant::X2Variant | ( | ) |
openjaus::hmi::X2Variant::~X2Variant | ( | ) |
void openjaus::hmi::X2Variant::copy | ( | X2Variant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
LiteralRecord & openjaus::hmi::X2Variant::getLiteral | ( | void | ) |
ReferenceRecord & openjaus::hmi::X2Variant::getReference | ( | void | ) |
X2Variant::TypeEnum openjaus::hmi::X2Variant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
void openjaus::hmi::X2Variant::setType | ( | X2Variant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::hmi::X2Variant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::hmi::X2Variant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |