man ost_Assoc (Fonctions bibliothèques) - This class is used to associate (object) pointers with named strings.associate names with pointers.
NAME
ost::Assoc - This class is used to associate (object) pointers with named strings.associate names with pointers.
SYNOPSIS
#include <misc.h>
Public Member Functions
void * getPointer (const char *id)
void setPointer (const char *id, void *data)
Protected Member Functions
Assoc ()
void clear (void)
virtual void * getMemory (size_t size)=0
Classes
class entry
Detailed Description
This class is used to associate (object) pointers with named strings.associate names with pointers.
A virtual is used to allocate memory which can be overriden in the derived class.
Author: David Sugar <dyfet@ostel.com>
Constructor & Destructor Documentation
ost::Assoc::Assoc () [protected]
Member Function Documentation
void ost::Assoc::clear (void) [protected]
virtual void* ost::Assoc::getMemory (size_t size) [protected, pure virtual]
void* ost::Assoc::getPointer (const char * id)
void ost::Assoc::setPointer (const char * id, void * data)
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.