#include <AStorageHandler.h>
Public Member Functions |
| AStorageHandler () |
| ~AStorageHandler () |
virtual void * | handle (char code,...) |
void | setValue (const char *name, long long value, int slot=0) |
void | setValue (const char *name, double value, int slot=0) |
void | setValue (const char *name, const char *value, int slot=0) |
bool | addToValue (const char *name, long long delta, int slot=0) |
bool | addToValue (const char *name, double delta, int slot=0) |
long long | getInteger (const char *name, int slot=0) |
double | getFloat (const char *name, int slot=0) |
char * | getString (const char *name, int slot=0) |
int | dump (const char *filename) |
bool | load (const char *filename) |
Public Member Functions inherited from BaseHandler |
| BaseHandler (unsigned int id) |
virtual | ~BaseHandler () |
unsigned int | getId () |
void | setError (int code, const char *description) |
int | getError (char **description) |
Protected Member Functions |
void * | handle (char code, va_list &list) |
Detailed Description
Definition at line 91 of file AStorageHandler.h.
Constructor & Destructor Documentation
AStorageHandler::AStorageHandler |
( |
| ) |
|
|
inline |
AStorageHandler::~AStorageHandler |
( |
| ) |
|
|
inline |
Member Function Documentation
bool AStorageHandler::addToValue |
( |
const char * |
name, |
|
|
long long |
delta, |
|
|
int |
slot = 0 |
|
) |
| |
bool AStorageHandler::addToValue |
( |
const char * |
name, |
|
|
double |
delta, |
|
|
int |
slot = 0 |
|
) |
| |
int AStorageHandler::dump |
( |
const char * |
filename | ) |
|
|
inline |
double AStorageHandler::getFloat |
( |
const char * |
name, |
|
|
int |
slot = 0 |
|
) |
| |
long long AStorageHandler::getInteger |
( |
const char * |
name, |
|
|
int |
slot = 0 |
|
) |
| |
char * AStorageHandler::getString |
( |
const char * |
name, |
|
|
int |
slot = 0 |
|
) |
| |
void * AStorageHandler::handle |
( |
char |
code, |
|
|
|
... |
|
) |
| |
|
virtual |
void * AStorageHandler::handle |
( |
char |
code, |
|
|
va_list & |
list |
|
) |
| |
|
protected |
bool AStorageHandler::load |
( |
const char * |
filename | ) |
|
|
inline |
void AStorageHandler::setValue |
( |
const char * |
name, |
|
|
long long |
value, |
|
|
int |
slot = 0 |
|
) |
| |
void AStorageHandler::setValue |
( |
const char * |
name, |
|
|
double |
value, |
|
|
int |
slot = 0 |
|
) |
| |
void AStorageHandler::setValue |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
int |
slot = 0 |
|
) |
| |
The documentation for this class was generated from the following files: