Bayonne2 / Common C++ 2 Framework
Data Structures | Public Member Functions | Protected Member Functions | Private Attributes
Assoc Class Referenceabstract

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

#include <misc.h>

Inheritance diagram for Assoc:
Inheritance graph
[legend]
Collaboration diagram for Assoc:
Collaboration graph
[legend]

Data Structures

struct   entry
 

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
 

Private Attributes

entryentries [97]
 

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

Implemented in ost::ScriptImage.

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

Field Documentation

entry* Assoc::entries[97]
private

Definition at line 683 of file misc.h.


The documentation for this class was generated from the following file:

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /