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

#include <BitFieldEnumerationValue.h>

Public Member Functions

 BitFieldEnumerationValue ()
 
virtual ~BitFieldEnumerationValue ()
 
long getValue () const
 Accessor to get the value of value. More...
 
bool setValue (long value)
 Accessor to set value of value. More...
 
std::string getName () const
 Accessor to get the value of name. More...
 
bool setName (std::string name)
 Accessor to set value of name. More...
 
virtual std::string toString () const
 

Protected Attributes

long value
 
std::string name
 

Friends

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

Constructor & Destructor Documentation

§ BitFieldEnumerationValue()

openjaus::model::fields::BitFieldEnumerationValue::BitFieldEnumerationValue ( )

§ ~BitFieldEnumerationValue()

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

Member Function Documentation

§ getName()

std::string openjaus::model::fields::BitFieldEnumerationValue::getName ( void  ) const

§ getValue()

long openjaus::model::fields::BitFieldEnumerationValue::getValue ( ) const

§ setName()

bool openjaus::model::fields::BitFieldEnumerationValue::setName ( std::string  name)
Parameters
nameThe value of the new name.

§ setValue()

bool openjaus::model::fields::BitFieldEnumerationValue::setValue ( long  value)
Parameters
valueThe value of the new value.

§ toString()

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

Friends And Related Function Documentation

§ operator<< [1/2]

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

§ operator<< [2/2]

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

Member Data Documentation

§ name

std::string openjaus::model::fields::BitFieldEnumerationValue::name
protected

§ value

long openjaus::model::fields::BitFieldEnumerationValue::value
protected

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