ConfigDB Class Reference
[
kab Index
] [
kab Hierarchy
] [
Headers
]
#include <
configDB.h
>
Public Members
ConfigDB
()
virtual
~ConfigDB
()
bool
get
(const string& key, KeyValueMap*& map)
bool
get
(const list<string>& key, KeyValueMap*& map)
bool
get
(const string& key, Section*&)
bool
get
(const list<string>& key, Section*&)
KeyValueMap*
get
()
bool
createSection
(const string& key)
bool
createSection
(const list<string>& key)
bool
load
()
bool
save
(const char* header=0)
bool
setFileName
(const string& name, bool mustexist=true, bool readonly_=false)
bool
fileChanged
()
bool
storeFileAge
()
string
fileName
()
bool
isRO
()
bool
clear
()
virtual void
changed
()
static const char*
version
()
static int
IsLocked
(const string& filename_)
static bool
CheckLockFile
(const string& filename)
static void
CleanLockFiles
(int)
bool
lock
()
bool
unlock
()
Protected Members
Section
top
list<string>
stringToKeylist
(const string&)
string
filename
bool
readonly
bool
locked
time_t
mtime
bool
lock
(const string& file)
bool
invariant
()
Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:39:05 CEST 1999
K
doc