#include <Variable.h>
Inheritance diagram for Console::VariableTemplate< bool >:
Public Member Functions | |
VariableTemplate (bool *variable) | |
std::string | getValue () const |
std::string | setValue (const std::string ¶meter) |
|
Initializes the VariableTemplate with the given bool pointer.
|
|
Gets the bool value represented as a string.
Implements Console::Variable. |
|
Sets the bool value. If the passed parameter is "toggle", the bool will be set to its inverse.
Implements Console::Variable. |