Data Structures |
class | keyvalue |
| A key value set is used for iterative access. More...
|
Public Types |
typedef linked_pointer< keyvalue > | iterator |
| Convenience typedef for iterative pointer.
|
Public Member Functions |
keyvalue * | begin (void) const |
| Get first value object, for iterative examinations.
|
void | clear (const char *id) |
| Remove a keyword id from the keydata structure.
|
keyvalue * | end (void) const |
| Get last value object, for iterative examinations.
|
const char * | get (void) const |
| Get the name of this section.
|
const char * | get (const char *id) const |
| Lookup a key value by it's id.
|
const char * | operator() (const char *id) const |
| Lookup a key value by it's id.
|
void | set (const char *id, const char *value) |
| Set a keyword and value in the keydata structure.
|
Friends |
class | keyfile |
class | keyvalue |
Data keys parsed from a keyfile.
This is a specific [] section from a fully loaded keyfile, and offers common means to access data members. This is related to the original GNU Common C++ keydata object, although it is formed in a keyfile class which is loaded from a config file all at once.
- Author:
- David Sugar <dyfet@gnutelephony.org>
Definition at line 57 of file keydata.h.