Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::IntMap Class Reference

Detailed Description

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

Inheritance diagram for ola::IntMap:
Inheritance graph
[legend]
Collaboration diagram for ola::IntMap:
Collaboration graph
[legend]

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. More...
 
const std::string Value () const
 Return the value of the variable as a string. More...
 
const std::string Label () const
 
- Public Member Functions inherited from ola::BaseVariable
 BaseVariable (const std::string &name)
 Create a new BaseVariable. More...
 
virtual ~BaseVariable ()
 
const std::string Name () const
 Return the name of this variable. More...
 

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: