Public Member Functions |
|
| MapVariable (const std::string &name, const std::string &label) |
| void | Remove (const std::string &key) |
|
void | Set (const std::string &key, Type value) |
|
Type & | operator[] (const std::string &key) |
| const std::string | Value () const |
| | Return the value of the variable as a string.
|
|
const std::string | Label () const |
| template<> |
| const string | Value () const |
| | Return the value of the variable as a string.
|
| | BaseVariable (const std::string &name) |
| | Create a new BaseVariable.
|
| virtual | ~BaseVariable () |
| const std::string | Name () const |
| | Return the name of this variable.
|
Protected Attributes |
|
std::map< std::string, Type > | m_variables |
Member Function Documentation
Remove a value from the map
- Parameters
-
Return the value of the variable as a string.
- Returns
- the value of the variable.
Implements ola::BaseVariable.
Return the value of the variable as a string.
- Returns
- the value of the variable.
Implements ola::BaseVariable.
The documentation for this class was generated from the following files:
- include/ola/ExportMap.h
- common/export_map/ExportMap.cpp