24 #ifndef LOG4CPLUS_SPI_OBJECT_REGISTRY_HEADER_
25 #define LOG4CPLUS_SPI_OBJECT_REGISTRY_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
95 typedef std::map<log4cplus::tstring, void*>
ObjectMap;
105 bool volatile locking;
This is the base class used to implement the functionality required by the ObjectRegistry template cl...
std::vector< log4cplus::tstring > getAllNames() const
Returns the names of all registered objects.
bool exists(const log4cplus::tstring &name) const
Tests to see whether or not an object is bound in the registry as name.
bool putVal(const log4cplus::tstring &name, void *object)
Used to enter an object into the registry.
std::map< log4cplus::tstring, void * > ObjectMap
void * getVal(const log4cplus::tstring &name) const
Used to retrieve an object from the registry.
virtual ~ObjectRegistryBase()
void _enableLocking(bool)
This function is internal implementation detail.
virtual void deleteObject(void *object) const =0
Deletes object.
virtual void clear()
Deletes all objects from this registry.
std::basic_string< tchar > tstring