#include <LayoutsFactory.hh>
Public Types | |
typedef std::auto_ptr< Layout >(* | create_function_t )(const params_t ¶ms) |
typedef std::auto_ptr< Layout >(* | create_function_t )(const params_t ¶ms) |
typedef FactoryParams | params_t |
typedef FactoryParams | params_t |
Public Member Functions | |
std::auto_ptr< Layout > | create (const std::string &class_name, const params_t ¶ms) |
std::auto_ptr< Layout > | create (const std::string &class_name, const params_t ¶ms) |
bool | registed (const std::string &class_name) const |
bool | registed (const std::string &class_name) const |
void | registerCreator (const std::string &class_name, create_function_t create_function) |
void | registerCreator (const std::string &class_name, create_function_t create_function) |
Static Public Member Functions | |
static LayoutsFactory & | getInstance () |
static LayoutsFactory & | getInstance () |
Private Types | |
typedef creators_t::const_iterator | const_iterator |
typedef creators_t::const_iterator | const_iterator |
typedef std::map< std::string, create_function_t > | creators_t |
typedef std::map< std::string, create_function_t > | creators_t |
Private Member Functions | |
LayoutsFactory () | |
LayoutsFactory () | |
Private Attributes | |
creators_t | creators_ |
Definition at line 10 of file include/log4cpp/LayoutsFactory.hh.
typedef creators_t::const_iterator log4cpp::LayoutsFactory::const_iterator [private] |
Definition at line 28 of file install/include/log4cpp/LayoutsFactory.hh.
typedef creators_t::const_iterator log4cpp::LayoutsFactory::const_iterator [private] |
Definition at line 23 of file include/log4cpp/LayoutsFactory.hh.
typedef std::auto_ptr<Layout>(* log4cpp::LayoutsFactory::create_function_t)(const params_t ¶ms) |
Definition at line 17 of file install/include/log4cpp/LayoutsFactory.hh.
typedef std::auto_ptr<Layout>(* log4cpp::LayoutsFactory::create_function_t)(const params_t ¶ms) |
Definition at line 12 of file include/log4cpp/LayoutsFactory.hh.
typedef std::map<std::string, create_function_t> log4cpp::LayoutsFactory::creators_t [private] |
Definition at line 25 of file install/include/log4cpp/LayoutsFactory.hh.
typedef std::map<std::string, create_function_t> log4cpp::LayoutsFactory::creators_t [private] |
Definition at line 20 of file include/log4cpp/LayoutsFactory.hh.
Definition at line 16 of file install/include/log4cpp/LayoutsFactory.hh.
Definition at line 11 of file include/log4cpp/LayoutsFactory.hh.
log4cpp::LayoutsFactory::LayoutsFactory | ( | ) | [inline, private] |
Definition at line 20 of file include/log4cpp/LayoutsFactory.hh.
log4cpp::LayoutsFactory::LayoutsFactory | ( | ) | [inline, private] |
Definition at line 25 of file install/include/log4cpp/LayoutsFactory.hh.
std::auto_ptr<Layout> log4cpp::LayoutsFactory::create | ( | const std::string & | class_name, | |
const params_t & | params | |||
) |
std::auto_ptr< Layout > log4cpp::LayoutsFactory::create | ( | const std::string & | class_name, | |
const params_t & | params | |||
) |
Definition at line 35 of file LayoutsFactory.cpp.
static LayoutsFactory& log4cpp::LayoutsFactory::getInstance | ( | ) | [static] |
LayoutsFactory & log4cpp::LayoutsFactory::getInstance | ( | ) | [static] |
Definition at line 11 of file LayoutsFactory.cpp.
bool log4cpp::LayoutsFactory::registed | ( | const std::string & | class_name | ) | const |
bool log4cpp::LayoutsFactory::registed | ( | const std::string & | class_name | ) | const |
Definition at line 44 of file LayoutsFactory.cpp.
void log4cpp::LayoutsFactory::registerCreator | ( | const std::string & | class_name, | |
create_function_t | create_function | |||
) |
void log4cpp::LayoutsFactory::registerCreator | ( | const std::string & | class_name, | |
create_function_t | create_function | |||
) |
Definition at line 26 of file LayoutsFactory.cpp.
creators_t log4cpp::LayoutsFactory::creators_ [private] |
Definition at line 25 of file include/log4cpp/LayoutsFactory.hh.