Public Member Functions | Protected Attributes | Friends

openjaus::model::fields::Boolean Class Reference

This is a brief description. More...

#include <Boolean.h>

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

List of all members.

Public Member Functions

 Boolean ()
virtual ~Boolean ()
bool isValue () const
 Accessor to get the value of value.
bool setValue (bool value)
 Accessor to set value of value.
bool isDefaultValue () const
 Accessor to get the value of defaultValue.
bool setDefaultValue (bool defaultValue)
 Accessor to set value of defaultValue.
virtual int to (system::Buffer *dst)
 Operation to.
virtual int from (system::Buffer *src)
 Operation from.
virtual int length ()
 Serializes object to internal transport buffer.
std::string toString () const
std::string toXml (unsigned char level=0) const

Protected Attributes

bool value
bool defaultValue

Friends

std::ostream & operator<< (std::ostream &output, const Boolean &object)

Detailed Description

Detailed description.

Author:
Name (name@email.com)

Constructor & Destructor Documentation

openjaus::model::fields::Boolean::Boolean (  ) 
openjaus::model::fields::Boolean::~Boolean (  )  [virtual]

Member Function Documentation

int openjaus::model::fields::Boolean::from ( system::Buffer src  )  [virtual]
Parameters:
src 

Implements openjaus::system::Transportable.

bool openjaus::model::fields::Boolean::isDefaultValue (  )  const
bool openjaus::model::fields::Boolean::isValue (  )  const
int openjaus::model::fields::Boolean::length (  )  [virtual]
bool openjaus::model::fields::Boolean::setDefaultValue ( bool  defaultValue  ) 
Parameters:
defaultValue The value of the new defaultValue.
bool openjaus::model::fields::Boolean::setValue ( bool  value  ) 
Parameters:
value The value of the new value.
int openjaus::model::fields::Boolean::to ( system::Buffer dst  )  [virtual]
Parameters:
dst 

Implements openjaus::system::Transportable.

std::string openjaus::model::fields::Boolean::toString (  )  const

Reimplemented from openjaus::system::Transportable.

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

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  output,
const Boolean object 
) [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines