ost_Assoc(3)

ost_Assoc3

This class is used to associate (object) pointers with named strings.

Usage

#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 () [protected]

virtual ost::Assoc::~Assoc () [protected], [virtual]

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) const

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

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

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

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.