This is a convenience class to specialize ConfigVariable as a string type.
More...
#include "configVariableString.h"
List of all members.
Public Member Functions |
|
| ConfigVariableString (const string &name) |
|
| ConfigVariableString (const string &name, const string &default_value, const string &description=string(), int flags=0) |
|
const char * | c_str () const |
|
bool | empty () const |
| string | get_default_value () const |
| | Returns the variable's default value.
|
| const string & | get_value () const |
| | Returns the variable's value.
|
| string | get_word (int n) const |
| | Returns the variable's nth value.
|
|
size_t | length () const |
| | operator const string & () const |
| | Returns the variable's value.
|
|
bool | operator!= (const string &other) const |
|
bool | operator< (const string &other) const |
| void | operator= (const string &value) |
| | Reassigns the variable's local value.
|
|
bool | operator== (const string &other) const |
|
char | operator[] (int n) const |
| void | set_value (const string &value) |
| | Reassigns the variable's local value.
|
| void | set_word (int n, const string &value) |
| | Reassigns the variable's nth value.
|
Detailed Description
This is a convenience class to specialize ConfigVariable as a string type.
Definition at line 26 of file configVariableString.h.
Member Function Documentation
| ConfigVariableString::operator const string & |
( |
| ) |
const [inline] |
| void ConfigVariableString::operator= |
( |
const string & |
value | ) |
[inline] |
The documentation for this class was generated from the following files: