OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
openjaus::environment::DataErrorCodeEnumeration Class Reference

#include <DataErrorCodeEnumeration.h>

Inherits openjaus::model::fields::Enumeration.

Public Types

enum  DataErrorCodeEnum { SENSOR_IS_NOT_ACTIVE = 0, INVALID_COMPRESSION_FORMAT = 1, UNKNOWN_ERROR_OR_FAILURE = 255 }
 

Public Member Functions

 DataErrorCodeEnumeration ()
 
 DataErrorCodeEnumeration (DataErrorCodeEnum value)
 
 ~DataErrorCodeEnumeration ()
 
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
 
DataErrorCodeEnum getValue (void) const
 
void setValue (DataErrorCodeEnum 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 (DataErrorCodeEnum value)
 

Protected Attributes

DataErrorCodeEnum value
 
- Protected Attributes inherited from openjaus::model::fields::Enumeration
long value
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ DataErrorCodeEnum

Enumerator
SENSOR_IS_NOT_ACTIVE 
INVALID_COMPRESSION_FORMAT 
UNKNOWN_ERROR_OR_FAILURE 

Constructor & Destructor Documentation

§ DataErrorCodeEnumeration() [1/2]

openjaus::environment::DataErrorCodeEnumeration::DataErrorCodeEnumeration ( )

§ DataErrorCodeEnumeration() [2/2]

openjaus::environment::DataErrorCodeEnumeration::DataErrorCodeEnumeration ( DataErrorCodeEnumeration::DataErrorCodeEnum  value)

§ ~DataErrorCodeEnumeration()

openjaus::environment::DataErrorCodeEnumeration::~DataErrorCodeEnumeration ( )

Member Function Documentation

§ from()

int openjaus::environment::DataErrorCodeEnumeration::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Enumeration.

§ getValue()

DataErrorCodeEnumeration::DataErrorCodeEnum openjaus::environment::DataErrorCodeEnumeration::getValue ( void  ) const

§ length()

int openjaus::environment::DataErrorCodeEnumeration::length ( void  )
virtual

§ setValue()

void openjaus::environment::DataErrorCodeEnumeration::setValue ( DataErrorCodeEnumeration::DataErrorCodeEnum  value)

§ to()

int openjaus::environment::DataErrorCodeEnumeration::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Enumeration.

§ toString() [1/2]

std::string openjaus::environment::DataErrorCodeEnumeration::toString ( ) const
virtual

§ toString() [2/2]

std::string openjaus::environment::DataErrorCodeEnumeration::toString ( DataErrorCodeEnumeration::DataErrorCodeEnum  value)
static

§ toXml()

std::string openjaus::environment::DataErrorCodeEnumeration::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ value

DataErrorCodeEnum openjaus::environment::DataErrorCodeEnumeration::value
protected

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