|
The Pedigree Project
0.1
|
#include <ConfigurationBackend.h>
Inheritance diagram for ConfigurationBackend:
Collaboration diagram for ConfigurationBackend:Public Member Functions | |
| ConfigurationBackend (const String &configStore) | |
| virtual size_t | createTable (const String &table)=0 |
| virtual void | insert (const String &table, const String &key, const ConfigValue &value)=0 |
| virtual ConfigValue & | select (const String &table, const String &key)=0 |
| virtual void | watch (const String &table, const String &key, ConfigurationWatcher watcher)=0 |
| virtual void | unwatch (const String &table, const String &key, ConfigurationWatcher watcher)=0 |
| virtual const String & | getConfigStore () |
| virtual const String & | getTypeName ()=0 |
Protected Attributes | |
| String | m_ConfigStore |
A configuration backend for the Pedigree configuration system.
By subclassing this class, it is possible to handle different methods for configuration (for instance, a backend for SQL, flat files, and pure memory access).
Definition at line 33 of file ConfigurationBackend.h.
|
pure virtual |
Inserts the value 'value' into the table 'table', with its key as 'key'
Implemented in MemoryBackend.
|
pure virtual |
Returns the value in table, with key matching 'key', or zero.
Implemented in MemoryBackend.
|
pure virtual |
Remove a watcher from a table entry.
Implemented in MemoryBackend.
|
pure virtual |
Watch a specific table entry.
Implemented in MemoryBackend.
1.8.11