Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

log4cpp::HierarchyMaintainer Class Reference

HierarchyMaintainer is an internal log4cpp class. More...

#include <HierarchyMaintainer.hh>

Collaboration diagram for log4cpp::HierarchyMaintainer:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< std::string,
Category * > 
CategoryMap

Public Methods

 HierarchyMaintainer ()
virtual ~HierarchyMaintainer ()
virtual CategorygetExistingInstance (const std::string &name)
virtual CategorygetInstance (const std::string &name)
virtual std::vector< Category * > * getCurrentCategories () const
virtual void shutdown ()
virtual void deleteAllCategories ()

Static Public Methods

HierarchyMaintainer & getDefaultMaintainer ()

Protected Methods

virtual Category_getExistingInstance (const std::string &name)
virtual Category_getInstance (const std::string &name)

Protected Attributes

CategoryMap _categoryMap
threading::Mutex _categoryMutex

Friends

class Log4cppCleanup

Detailed Description

HierarchyMaintainer is an internal log4cpp class.

It is responsible for maintaining the hierarchy of Categories. Applications should not have to use this class directly.


Member Typedef Documentation

typedef std::map<std::string, Category*> log4cpp::HierarchyMaintainer::CategoryMap
 


Constructor & Destructor Documentation

log4cpp::HierarchyMaintainer::HierarchyMaintainer  
 

log4cpp::HierarchyMaintainer::~HierarchyMaintainer   [virtual]
 


Member Function Documentation

Category * log4cpp::HierarchyMaintainer::_getExistingInstance const std::string &    name [protected, virtual]
 

Category & log4cpp::HierarchyMaintainer::_getInstance const std::string &    name [protected, virtual]
 

void log4cpp::HierarchyMaintainer::deleteAllCategories   [virtual]
 

std::vector< Category * > * log4cpp::HierarchyMaintainer::getCurrentCategories   const [virtual]
 

HierarchyMaintainer & log4cpp::HierarchyMaintainer::getDefaultMaintainer   [static]
 

Category * log4cpp::HierarchyMaintainer::getExistingInstance const std::string &    name [virtual]
 

Category & log4cpp::HierarchyMaintainer::getInstance const std::string &    name [virtual]
 

void log4cpp::HierarchyMaintainer::shutdown   [virtual]
 


Friends And Related Function Documentation

friend class Log4cppCleanup [friend]
 


Member Data Documentation

CategoryMap log4cpp::HierarchyMaintainer::_categoryMap [protected]
 

threading::Mutex log4cpp::HierarchyMaintainer::_categoryMutex [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Oct 28 23:42:12 2002 for log4cpp by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002