HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AStorageHandler Class Reference

#include <AStorageHandler.h>

Inheritance diagram for AStorageHandler:
Collaboration diagram for AStorageHandler:

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

Definition at line 94 of file AStorageHandler.h.

AStorageHandler::~AStorageHandler ( )
inline

Definition at line 95 of file AStorageHandler.h.

Member Function Documentation

bool AStorageHandler::addToValue ( const char *  name,
long long  delta,
int  slot = 0 
)

Definition at line 276 of file AStorageHandler.cpp.

Here is the caller graph for this function:

bool AStorageHandler::addToValue ( const char *  name,
double  delta,
int  slot = 0 
)

Definition at line 299 of file AStorageHandler.cpp.

int AStorageHandler::dump ( const char *  filename)
inline

Definition at line 105 of file AStorageHandler.h.

Here is the call graph for this function:

double AStorageHandler::getFloat ( const char *  name,
int  slot = 0 
)

Definition at line 328 of file AStorageHandler.cpp.

long long AStorageHandler::getInteger ( const char *  name,
int  slot = 0 
)

Definition at line 316 of file AStorageHandler.cpp.

Here is the caller graph for this function:

char * AStorageHandler::getString ( const char *  name,
int  slot = 0 
)

Definition at line 344 of file AStorageHandler.cpp.

void * AStorageHandler::handle ( char  code,
  ... 
)
virtual

Implements BaseHandler.

Definition at line 116 of file AStorageHandler.cpp.

void * AStorageHandler::handle ( char  code,
va_list &  list 
)
protected

Definition at line 125 of file AStorageHandler.cpp.

Here is the call graph for this function:

bool AStorageHandler::load ( const char *  filename)
inline

Definition at line 106 of file AStorageHandler.h.

Here is the call graph for this function:

void AStorageHandler::setValue ( const char *  name,
long long  value,
int  slot = 0 
)

Definition at line 194 of file AStorageHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AStorageHandler::setValue ( const char *  name,
double  value,
int  slot = 0 
)

Definition at line 221 of file AStorageHandler.cpp.

Here is the call graph for this function:

void AStorageHandler::setValue ( const char *  name,
const char *  value,
int  slot = 0 
)

Definition at line 248 of file AStorageHandler.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: