This is a convenience class to specialize ConfigVariable as a boolean type.
More...
#include "configVariableBool.h"
List of all members.
Public Member Functions |
|
| ConfigVariableBool (const string &name) |
|
| ConfigVariableBool (const string &name, bool default_value, const string &description=string(), int flags=0) |
|
| ConfigVariableBool (const string &name, const string &default_value, const string &description=string(), int flags=0) |
| bool | get_default_value () const |
| | Returns the variable's default value.
|
| bool | get_value () const |
| | Returns the variable's value.
|
| bool | get_word (int n) const |
| | Returns the variable's nth value.
|
| | operator bool () const |
| | Returns the variable's value.
|
| void | operator= (bool value) |
| | Reassigns the variable's local value.
|
| bool | operator[] (int n) const |
| | Returns the value of the variable's nth word.
|
| void | set_value (bool value) |
| | Reassigns the variable's local value.
|
| void | set_word (int n, bool value) |
| | Reassigns the variable's nth value.
|
| int | size () const |
| | Returns the number of unique words in the variable.
|
Detailed Description
This is a convenience class to specialize ConfigVariable as a boolean type.
Definition at line 26 of file configVariableBool.h.
Member Function Documentation
| ConfigVariableBool::operator bool |
( |
| ) |
const [inline] |
| void ConfigVariableBool::operator= |
( |
bool |
value | ) |
[inline] |
| bool ConfigVariableBool::operator[] |
( |
int |
n | ) |
const [inline] |
The documentation for this class was generated from the following files: