◆ BoolVariable()
ola::BoolVariable::BoolVariable |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ Get()
bool ola::BoolVariable::Get |
( |
| ) |
const |
|
inline |
Get the value of this variable.
- Returns
- the value of the boolean variable.
◆ Set()
void ola::BoolVariable::Set |
( |
bool |
value | ) |
|
|
inline |
Set the value of the variable.
- Parameters
-
◆ Value()
const std::string ola::BoolVariable::Value |
( |
| ) |
const |
|
inlinevirtual |
Get the value of this variable as a string.
- Returns
- the value of the boolean variable.
Booleans are represented by a 1 or 0.
Implements ola::BaseVariable.
The documentation for this class was generated from the following file: