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

This is a brief description. More...

#include <UnsignedLong.h>

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

Public Member Functions

 UnsignedLong ()
 
virtual ~UnsignedLong ()
 
uint64_t getValue () const
 Accessor to get the value of value. More...
 
bool setValue (uint64_t value)
 Accessor to set value of value. 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::Unsigned
 Unsigned ()
 
virtual ~Unsigned ()
 
- Public Member Functions inherited from openjaus::model::fields::FixedPoint
virtual ~FixedPoint ()
 
- Public Member Functions inherited from openjaus::model::fields::Unitized
virtual ~Unitized ()
 
Units getUnits () const
 Accessor to get the value of units. More...
 
bool setUnits (Units units)
 Accessor to set value of units. More...
 
- 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

uint64_t value
 
- Protected Attributes inherited from openjaus::model::fields::Unitized
Units units
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Friends

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

Detailed Description

Detailed description.

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

Constructor & Destructor Documentation

§ UnsignedLong()

openjaus::model::fields::UnsignedLong::UnsignedLong ( )

§ ~UnsignedLong()

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

Member Function Documentation

§ from()

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

Implements openjaus::system::Transportable.

§ getValue()

uint64_t openjaus::model::fields::UnsignedLong::getValue ( ) const

§ length()

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

§ setValue()

bool openjaus::model::fields::UnsignedLong::setValue ( uint64_t  value)
Parameters
valueThe value of the new value.

§ to()

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

Implements openjaus::system::Transportable.

§ toString()

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

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

§ toXml()

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

Friends And Related Function Documentation

§ operator<< [1/2]

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

§ operator<< [2/2]

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

Member Data Documentation

§ value

uint64_t openjaus::model::fields::UnsignedLong::value
protected

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