12 #ifndef _PtConfigDb_h_ 13 #define _PtConfigDb_h_ 66 PtStatus set(
const char* pKey,
const char* pNewValue);
77 PtStatus get(
const char* pKey,
char*& rpValue);
88 PtStatus get(
const char* pKey,
int& rValue);
100 char*& rpNextKey,
char*& rpNextValue);
138 #endif // _PtConfigDb_h_ PtStatus getNext(const char *pKey, char *&rpNextKey, char *&rpNextValue)
param: pKey - The lookup key param: rValue - Set to the integer value corresponding to pKey retcode: ...
PtStatus
Definition: PtDefs.h:49
PtConfigDb()
Definition: PtConfigDb.cpp:28
int PtBoolean
Definition: PtDefs.h:71
Definition: PtConfigDb.h:33
PtStatus storeToFile(FILE *fp)
retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available ...
PtStatus loadFromFile(FILE *fp)
PtStatus numEntries(int &rNumEntries)
retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available ...
PtStatus isEmpty(PtBoolean &rIsEmpty)
param: pKey - The lookup key param: rpNextKey - Set to point to the key for the next key/value pair s...
virtual ~PtConfigDb()
Definition: PtConfigDb.cpp:33