OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Private Attributes | List of all members
openjaus::hmi::X1Variant Class Reference

#include <X1Variant.h>

Inherits openjaus::model::fields::Variant.

Public Types

enum  TypeEnum { LITERAL = 0, REFERENCE = 1 }
 

Public Member Functions

 X1Variant ()
 
 ~X1Variant ()
 
X1Variant::TypeEnum getType (void)
 
void setType (X1Variant::TypeEnum type)
 
void copy (X1Variant &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
 
LiteralRecordgetLiteral (void)
 
ReferenceRecordgetReference (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
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
LITERAL 
REFERENCE 

Constructor & Destructor Documentation

§ X1Variant()

openjaus::hmi::X1Variant::X1Variant ( )

§ ~X1Variant()

openjaus::hmi::X1Variant::~X1Variant ( )

Member Function Documentation

§ copy()

void openjaus::hmi::X1Variant::copy ( X1Variant source)

§ from()

int openjaus::hmi::X1Variant::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Variant.

§ getLiteral()

LiteralRecord & openjaus::hmi::X1Variant::getLiteral ( void  )

§ getReference()

ReferenceRecord & openjaus::hmi::X1Variant::getReference ( void  )

§ getType()

X1Variant::TypeEnum openjaus::hmi::X1Variant::getType ( void  )

§ length()

int openjaus::hmi::X1Variant::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Variant.

§ setType()

void openjaus::hmi::X1Variant::setType ( X1Variant::TypeEnum  type)

§ to()

int openjaus::hmi::X1Variant::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Variant.

§ toXml()

std::string openjaus::hmi::X1Variant::toXml ( unsigned char  ojIndentLevel = 0) const

§ typeToString()

std::string openjaus::hmi::X1Variant::typeToString ( void  )

Member Data Documentation

§ literal

LiteralRecord openjaus::hmi::X1Variant::literal
private

§ reference

ReferenceRecord openjaus::hmi::X1Variant::reference
private

§ type

TypeEnum openjaus::hmi::X1Variant::type
private

The documentation for this class was generated from the following files: