This class is used to associate (object) pointers with named strings.
More...
#include <misc.h>
This class is used to associate (object) pointers with named strings.
A virtual is used to allocate memory which can be overriden in the derived class.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m associate names with pointers.
◆ Assoc()
◆ ~Assoc()
virtual ost::Assoc::~Assoc |
( |
| ) |
|
|
protectedvirtual |
◆ clear()
void ost::Assoc::clear |
( |
void |
| ) |
|
|
protected |
◆ getMemory()
virtual void* ost::Assoc::getMemory |
( |
size_t |
size | ) |
|
|
protectedpure virtual |
◆ getPointer()
void* ost::Assoc::getPointer |
( |
const char * |
id | ) |
const |
◆ setPointer()
void ost::Assoc::setPointer |
( |
const char * |
id, |
|
|
void * |
data |
|
) |
| |
The documentation for this class was generated from the following file: