SYNOPSIS

#include <misc.h>

Public Member Functions

void * getPointer (const char *id) const

void setPointer (const char *id, void *data)

Protected Member Functions

Assoc ()

virtual ~Assoc ()

void clear (void)

virtual void * getMemory (size_t size)=0

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 [email protected] associate names with pointers.

Constructor & Destructor Documentation

ost::Assoc::Assoc ()\fC [protected]\fP

virtual ost::Assoc::~Assoc ()\fC [protected]\fP, \fC [virtual]\fP

Member Function Documentation

void ost::Assoc::clear (void)\fC [protected]\fP

virtual void* ost::Assoc::getMemory (size_tsize)\fC [protected]\fP, \fC [pure virtual]\fP

void* ost::Assoc::getPointer (const char *id) const

void ost::Assoc::setPointer (const char *id, void *data)

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.