This class is used to associate (object) pointers with named strings.
More...
#include <misc.h>
Inheritance diagram for Assoc:
Collaboration diagram for Assoc:
Data Structures
Public Member Functions
Protected Member Functions
Private Attributes
Detailed Description
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.
Definition at line 674 of file misc.h.
Constructor & Destructor Documentation
Assoc::Assoc
(
)
protected
virtual Assoc::~Assoc
(
)
protectedvirtual
Member Function Documentation
void Assoc::clear
(
void
)
protected
virtual void* Assoc::getMemory
(
size_t
size )
protectedpure virtual
void* Assoc::getPointer
(
const char *
id )
const
void Assoc::setPointer
(
const char *
id,
void *
data
)
Field Documentation
entry* Assoc::entries[97]
private
The documentation for this class was generated from the following file: