This is a convenience class to specialize ConfigVariable as an integer type.
More...
#include "configVariableInt.h"
List of all members.
Public Member Functions |
|
| ConfigVariableInt (const string &name) |
|
| ConfigVariableInt (const string &name, int default_value, const string &description=string(), int flags=0) |
|
| ConfigVariableInt (const string &name, const string &default_value, const string &description=string(), int flags=0) |
| int | get_default_value () const |
| | Returns the variable's default value.
|
| int | get_value () const |
| | Returns the variable's value.
|
| int | get_word (int n) const |
| | Returns the variable's nth value.
|
| | operator int () const |
| | Returns the variable's value.
|
| void | operator= (int value) |
| | Reassigns the variable's local value.
|
| int | operator[] (int n) const |
| | Returns the value of the variable's nth word.
|
| void | set_value (int value) |
| | Reassigns the variable's local value.
|
| void | set_word (int n, int 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 an integer type.
Definition at line 26 of file configVariableInt.h.
Member Function Documentation
| ConfigVariableInt::operator int |
( |
| ) |
const [inline] |
| void ConfigVariableInt::operator= |
( |
int |
value | ) |
[inline] |
| int ConfigVariableInt::operator[] |
( |
int |
n | ) |
const [inline] |
The documentation for this class was generated from the following files: