Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::BaseVariable Class Reference

Detailed Description

The base variable class.

All other exported variables derive from this.

Inheritance diagram for ola::BaseVariable:
ola::MapVariable< int > ola::MapVariable< unsigned int > ola::BoolVariable ola::CounterVariable ola::IntegerVariable ola::MapVariable< Type > ola::StringVariable ola::IntMap ola::UIntMap

Public Member Functions

 BaseVariable (const string &name)
 Create a new BaseVariable.
virtual ~BaseVariable ()
const string Name () const
 Return the name of this variable.
virtual const string Value () const =0
 Return the value of the variable as a string.

Constructor & Destructor Documentation

ola::BaseVariable::BaseVariable ( const string &  name)
inlineexplicit

Create a new BaseVariable.

Parameters
namethe variable name.
virtual ola::BaseVariable::~BaseVariable ( )
inlinevirtual

The Destructor.

Member Function Documentation

const string ola::BaseVariable::Name ( ) const
inline

Return the name of this variable.

Returns
the variable name.
virtual const string ola::BaseVariable::Value ( ) const
pure virtual

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