OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | List of all members
openjaus::hmi::TextRecord Class Reference

#include <TextRecord.h>

Inherits openjaus::model::fields::Record.

Public Member Functions

 TextRecord ()
 
 TextRecord (const TextRecord &source)
 
 ~TextRecord ()
 
void copy (TextRecord &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
 
std::string getText (void)
 
bool setText (std::string value)
 
- Public Member Functions inherited from openjaus::model::fields::Record
 Record ()
 
virtual ~Record ()
 
const std::vector< Field *> & getFields () const
 Accessor to get the value of fields. More...
 
bool setFields (const Field &fields)
 Accessor to set value of fields. More...
 
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 ()
 

Protected Attributes

model::fields::VariableLengthString text
 
- Protected Attributes inherited from openjaus::model::fields::Record
std::vector< Field *> fields
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Constructor & Destructor Documentation

§ TextRecord() [1/2]

openjaus::hmi::TextRecord::TextRecord ( )

§ TextRecord() [2/2]

openjaus::hmi::TextRecord::TextRecord ( const TextRecord source)

§ ~TextRecord()

openjaus::hmi::TextRecord::~TextRecord ( )

Member Function Documentation

§ copy()

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

§ from()

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

Reimplemented from openjaus::model::fields::Record.

§ getText()

std::string openjaus::hmi::TextRecord::getText ( void  )

§ length()

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

Reimplemented from openjaus::model::fields::Record.

§ setText()

bool openjaus::hmi::TextRecord::setText ( std::string  value)

§ to()

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

Reimplemented from openjaus::model::fields::Record.

§ toXml()

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

Member Data Documentation

§ text

model::fields::VariableLengthString openjaus::hmi::TextRecord::text
protected

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