Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::IntMap Class Reference

Detailed Description

An map of integer values. This provides an increment operation.

Inheritance diagram for ola::IntMap:
ola::MapVariable< int > ola::BaseVariable

Public Member Functions

 IntMap (const std::string &name, const std::string &label)
 
void Increment (const std::string &key)
 
- Public Member Functions inherited from ola::MapVariable< int >
 MapVariable (const std::string &name, const std::string &label)
 
void Remove (const std::string &key)
 
void Set (const std::string &key, int value)
 
int & operator[] (const std::string &key)
 
const std::string Value () const
 Return the value of the variable as a string.
 
const std::string Value () const
 Return the value of the variable as a string.
 
const std::string Label () const
 
- Public Member Functions inherited from ola::BaseVariable
 BaseVariable (const std::string &name)
 Create a new BaseVariable.
 
virtual ~BaseVariable ()
 
const std::string Name () const
 Return the name of this variable.
 

Additional Inherited Members

- Protected Attributes inherited from ola::MapVariable< int >
std::map< std::string, int > m_variables
 

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