DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
dcmtk::log4cplus::spi::ObjectRegistryBase Class Reference

This is the base class used to implement the functionality required by the ObjectRegistry template class. More...

+ Inheritance diagram for dcmtk::log4cplus::spi::ObjectRegistryBase:

List of all members.

Public Member Functions

bool exists (const tstring &name) const
 Tests to see whether or not an object is bound in the registry as name.
OFList< tstringgetAllNames () const
 Returns the names of all registered objects.

Protected Types

typedef OFMap< tstring, void * > ObjectMap

Protected Member Functions

bool putVal (const tstring &name, void *object)
 Used to enter an object into the registry.
void * getVal (const tstring &name) const
 Used to retrieve an object from the registry.
virtual void deleteObject (void *object) const =0
 Deletes object.
virtual void clear ()
 Deletes all objects from this registry.

Protected Attributes

DCMTK_LOG4CPLUS_MUTEX_PTR_DECLARE mutex
ObjectMap data

Detailed Description

This is the base class used to implement the functionality required by the ObjectRegistry template class.


Member Function Documentation

void* dcmtk::log4cplus::spi::ObjectRegistryBase::getVal ( const tstring name) const [protected]

Used to retrieve an object from the registry.

(The registry owns the returned pointer.)

bool dcmtk::log4cplus::spi::ObjectRegistryBase::putVal ( const tstring name,
void *  object 
) [protected]

Used to enter an object into the registry.

(The registry now owns object.)


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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027