$search

log4cpp::LayoutsFactory Class Reference

#include <LayoutsFactory.hh>

List of all members.

Public Types

typedef std::auto_ptr< Layout >(* create_function_t )(const params_t &params)
typedef FactoryParams params_t

Public Member Functions

std::auto_ptr< Layoutcreate (const std::string &class_name, const params_t &params)
bool registed (const std::string &class_name) const
void registerCreator (const std::string &class_name, create_function_t create_function)

Static Public Member Functions

static LayoutsFactorygetInstance ()

Private Types

typedef creators_t::const_iterator const_iterator
typedef std::map< std::string,
create_function_t
creators_t

Private Member Functions

 LayoutsFactory ()

Private Attributes

creators_t creators_

Detailed Description

Definition at line 10 of file LayoutsFactory.hh.


Member Typedef Documentation

typedef creators_t::const_iterator log4cpp::LayoutsFactory::const_iterator [private]

Definition at line 23 of file LayoutsFactory.hh.

typedef std::auto_ptr<Layout>(* log4cpp::LayoutsFactory::create_function_t)(const params_t &params)

Definition at line 12 of file LayoutsFactory.hh.

typedef std::map<std::string, create_function_t> log4cpp::LayoutsFactory::creators_t [private]

Definition at line 20 of file LayoutsFactory.hh.

Definition at line 11 of file LayoutsFactory.hh.


Constructor & Destructor Documentation

log4cpp::LayoutsFactory::LayoutsFactory (  )  [inline, private]

Definition at line 20 of file LayoutsFactory.hh.


Member Function Documentation

std::auto_ptr< Layout > log4cpp::LayoutsFactory::create ( const std::string &  class_name,
const params_t params 
)

Definition at line 38 of file LayoutsFactory.cpp.

LayoutsFactory & log4cpp::LayoutsFactory::getInstance (  )  [static]

Definition at line 14 of file LayoutsFactory.cpp.

bool log4cpp::LayoutsFactory::registed ( const std::string &  class_name  )  const

Definition at line 47 of file LayoutsFactory.cpp.

void log4cpp::LayoutsFactory::registerCreator ( const std::string &  class_name,
create_function_t  create_function 
)

Definition at line 29 of file LayoutsFactory.cpp.


Member Data Documentation

Definition at line 25 of file LayoutsFactory.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


log4cpp
Author(s): Stephen Roderick
autogenerated on Fri Mar 1 16:23:50 2013