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

#include <StructureFieldVariant.h>

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

Public Types

enum  TypeEnum {
  BYTEREC = 0, SHORTINTREC = 1, INTEGERREC = 2, LONGINTREC = 3,
  USHORTINTREC = 4, UINTEGERREC = 5, ULONGINTREC = 6, FLOATREC = 7,
  LONGFLOATREC = 8, BYTELIST = 9, SHORTINTLIST = 10, INTEGERLIST = 11,
  LONGINTLIST = 12, USHORTINTLIST = 13, UINTEGERLIST = 14, ULONGINTLIST = 15,
  FLOATLIST = 16, LONGFLOATLIST = 17, CHARLIST = 18
}
 

Public Member Functions

 StructureFieldVariant ()
 
 ~StructureFieldVariant ()
 
StructureFieldVariant::TypeEnum getType (void)
 
void setType (StructureFieldVariant::TypeEnum type)
 
void copy (StructureFieldVariant &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
 
ByteRecordgetByteRec (void)
 
ShortIntRecordgetShortIntRec (void)
 
IntegerRecordgetIntegerRec (void)
 
LongIntRecordgetLongIntRec (void)
 
UShortIntRecordgetUShortIntRec (void)
 
UIntegerRecordgetUIntegerRec (void)
 
ULongIntRecordgetULongIntRec (void)
 
FloatRecordgetFloatRec (void)
 
LongFloatRecordgetLongFloatRec (void)
 
ByteListgetByteList (void)
 
ShortIntListgetShortIntList (void)
 
IntegerListgetIntegerList (void)
 
LongIntListgetLongIntList (void)
 
UShortIntListgetUShortIntList (void)
 
UIntegerListgetUIntegerList (void)
 
ULongIntListgetULongIntList (void)
 
FloatListgetFloatList (void)
 
LongFloatListgetLongFloatList (void)
 
CharListgetCharList (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
 
ByteRecord byteRec
 
ShortIntRecord shortIntRec
 
IntegerRecord integerRec
 
LongIntRecord longIntRec
 
UShortIntRecord uShortIntRec
 
UIntegerRecord uIntegerRec
 
ULongIntRecord uLongIntRec
 
FloatRecord floatRec
 
LongFloatRecord longFloatRec
 
ByteList byteList
 
ShortIntList shortIntList
 
IntegerList integerList
 
LongIntList longIntList
 
UShortIntList uShortIntList
 
UIntegerList uIntegerList
 
ULongIntList uLongIntList
 
FloatList floatList
 
LongFloatList longFloatList
 
CharList charList
 

Additional Inherited Members

- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
BYTEREC 
SHORTINTREC 
INTEGERREC 
LONGINTREC 
USHORTINTREC 
UINTEGERREC 
ULONGINTREC 
FLOATREC 
LONGFLOATREC 
BYTELIST 
SHORTINTLIST 
INTEGERLIST 
LONGINTLIST 
USHORTINTLIST 
UINTEGERLIST 
ULONGINTLIST 
FLOATLIST 
LONGFLOATLIST 
CHARLIST 

Constructor & Destructor Documentation

§ StructureFieldVariant()

openjaus::hmi::StructureFieldVariant::StructureFieldVariant ( )

§ ~StructureFieldVariant()

openjaus::hmi::StructureFieldVariant::~StructureFieldVariant ( )

Member Function Documentation

§ copy()

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

§ from()

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

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

§ getByteList()

ByteList & openjaus::hmi::StructureFieldVariant::getByteList ( void  )

§ getByteRec()

ByteRecord & openjaus::hmi::StructureFieldVariant::getByteRec ( void  )

§ getCharList()

CharList & openjaus::hmi::StructureFieldVariant::getCharList ( void  )

§ getFloatList()

FloatList & openjaus::hmi::StructureFieldVariant::getFloatList ( void  )

§ getFloatRec()

FloatRecord & openjaus::hmi::StructureFieldVariant::getFloatRec ( void  )

§ getIntegerList()

IntegerList & openjaus::hmi::StructureFieldVariant::getIntegerList ( void  )

§ getIntegerRec()

IntegerRecord & openjaus::hmi::StructureFieldVariant::getIntegerRec ( void  )

§ getLongFloatList()

LongFloatList & openjaus::hmi::StructureFieldVariant::getLongFloatList ( void  )

§ getLongFloatRec()

LongFloatRecord & openjaus::hmi::StructureFieldVariant::getLongFloatRec ( void  )

§ getLongIntList()

LongIntList & openjaus::hmi::StructureFieldVariant::getLongIntList ( void  )

§ getLongIntRec()

LongIntRecord & openjaus::hmi::StructureFieldVariant::getLongIntRec ( void  )

§ getShortIntList()

ShortIntList & openjaus::hmi::StructureFieldVariant::getShortIntList ( void  )

§ getShortIntRec()

ShortIntRecord & openjaus::hmi::StructureFieldVariant::getShortIntRec ( void  )

§ getType()

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

§ getUIntegerList()

UIntegerList & openjaus::hmi::StructureFieldVariant::getUIntegerList ( void  )

§ getUIntegerRec()

UIntegerRecord & openjaus::hmi::StructureFieldVariant::getUIntegerRec ( void  )

§ getULongIntList()

ULongIntList & openjaus::hmi::StructureFieldVariant::getULongIntList ( void  )

§ getULongIntRec()

ULongIntRecord & openjaus::hmi::StructureFieldVariant::getULongIntRec ( void  )

§ getUShortIntList()

UShortIntList & openjaus::hmi::StructureFieldVariant::getUShortIntList ( void  )

§ getUShortIntRec()

UShortIntRecord & openjaus::hmi::StructureFieldVariant::getUShortIntRec ( void  )

§ length()

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

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

§ setType()

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

§ to()

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

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

§ toXml()

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

§ typeToString()

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

Member Data Documentation

§ byteList

ByteList openjaus::hmi::StructureFieldVariant::byteList
private

§ byteRec

ByteRecord openjaus::hmi::StructureFieldVariant::byteRec
private

§ charList

CharList openjaus::hmi::StructureFieldVariant::charList
private

§ floatList

FloatList openjaus::hmi::StructureFieldVariant::floatList
private

§ floatRec

FloatRecord openjaus::hmi::StructureFieldVariant::floatRec
private

§ integerList

IntegerList openjaus::hmi::StructureFieldVariant::integerList
private

§ integerRec

IntegerRecord openjaus::hmi::StructureFieldVariant::integerRec
private

§ longFloatList

LongFloatList openjaus::hmi::StructureFieldVariant::longFloatList
private

§ longFloatRec

LongFloatRecord openjaus::hmi::StructureFieldVariant::longFloatRec
private

§ longIntList

LongIntList openjaus::hmi::StructureFieldVariant::longIntList
private

§ longIntRec

LongIntRecord openjaus::hmi::StructureFieldVariant::longIntRec
private

§ shortIntList

ShortIntList openjaus::hmi::StructureFieldVariant::shortIntList
private

§ shortIntRec

ShortIntRecord openjaus::hmi::StructureFieldVariant::shortIntRec
private

§ type

TypeEnum openjaus::hmi::StructureFieldVariant::type
private

§ uIntegerList

UIntegerList openjaus::hmi::StructureFieldVariant::uIntegerList
private

§ uIntegerRec

UIntegerRecord openjaus::hmi::StructureFieldVariant::uIntegerRec
private

§ uLongIntList

ULongIntList openjaus::hmi::StructureFieldVariant::uLongIntList
private

§ uLongIntRec

ULongIntRecord openjaus::hmi::StructureFieldVariant::uLongIntRec
private

§ uShortIntList

UShortIntList openjaus::hmi::StructureFieldVariant::uShortIntList
private

§ uShortIntRec

UShortIntRecord openjaus::hmi::StructureFieldVariant::uShortIntRec
private

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