OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | Friends | List of all members
openjaus::model::fields::FixedLengthString Class Reference

This is a brief description. More...

#include <FixedLengthString.h>

Inherits openjaus::model::fields::Field, and openjaus::system::Transportable.

Public Member Functions

 FixedLengthString ()
 
virtual ~FixedLengthString ()
 
std::string getValue () const
 Accessor to get the value of value. More...
 
bool setValue (std::string value)
 Accessor to set value of value. More...
 
std::string getDefaultValue () const
 Accessor to get the value of defaultValue. More...
 
bool setDefaultValue (std::string defaultValue)
 Accessor to set value of defaultValue. More...
 
int getMaxLength () const
 Accessor to get the value of maxLength. More...
 
bool setMaxLength (int maxLength)
 Accessor to set value of maxLength. More...
 
virtual int to (system::Buffer *dst)
 Operation to. More...
 
virtual int from (system::Buffer *src)
 Operation from. More...
 
virtual int length ()
 Serializes object to internal transport buffer. More...
 
virtual std::string toString () const
 
std::string toXml (unsigned char level=0) const
 
- 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

std::string value
 
std::string defaultValue
 
int maxLength
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const FixedLengthString &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const FixedLengthString *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

§ FixedLengthString()

openjaus::model::fields::FixedLengthString::FixedLengthString ( )

§ ~FixedLengthString()

openjaus::model::fields::FixedLengthString::~FixedLengthString ( )
virtual

Member Function Documentation

§ from()

int openjaus::model::fields::FixedLengthString::from ( system::Buffer src)
virtual
Parameters
src

Implements openjaus::system::Transportable.

§ getDefaultValue()

std::string openjaus::model::fields::FixedLengthString::getDefaultValue ( ) const

§ getMaxLength()

int openjaus::model::fields::FixedLengthString::getMaxLength ( ) const

§ getValue()

std::string openjaus::model::fields::FixedLengthString::getValue ( ) const

§ length()

int openjaus::model::fields::FixedLengthString::length ( )
virtual

§ setDefaultValue()

bool openjaus::model::fields::FixedLengthString::setDefaultValue ( std::string  defaultValue)
Parameters
defaultValueThe value of the new defaultValue.

§ setMaxLength()

bool openjaus::model::fields::FixedLengthString::setMaxLength ( int  maxLength)
Parameters
maxLengthThe value of the new maxLength.

§ setValue()

bool openjaus::model::fields::FixedLengthString::setValue ( std::string  value)
Parameters
valueThe value of the new value.

§ to()

int openjaus::model::fields::FixedLengthString::to ( system::Buffer dst)
virtual
Parameters
dst

Implements openjaus::system::Transportable.

§ toString()

std::string openjaus::model::fields::FixedLengthString::toString ( ) const
virtual

Reimplemented from openjaus::model::fields::Field.

§ toXml()

std::string openjaus::model::fields::FixedLengthString::toXml ( unsigned char  level = 0) const

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const FixedLengthString object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const FixedLengthString object 
)
friend

Member Data Documentation

§ defaultValue

std::string openjaus::model::fields::FixedLengthString::defaultValue
protected

§ maxLength

int openjaus::model::fields::FixedLengthString::maxLength
protected

§ value

std::string openjaus::model::fields::FixedLengthString::value
protected

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