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