#include <AppendersFactory.hh>
Public Types | |
typedef std::auto_ptr< Appender >(* | create_function_t )(const params_t ¶ms) |
typedef std::auto_ptr< Appender >(* | create_function_t )(const params_t ¶ms) |
typedef FactoryParams | params_t |
typedef FactoryParams | params_t |
Public Member Functions | |
std::auto_ptr< Appender > | create (const std::string &class_name, const params_t ¶ms) |
std::auto_ptr< Appender > | create (const std::string &class_name, const params_t ¶ms) |
void | registerCreator (const std::string &class_name, create_function_t create_function) |
void | registerCreator (const std::string &class_name, create_function_t create_function) |
bool | registered (const std::string &class_name) const |
bool | registered (const std::string &class_name) const |
Static Public Member Functions | |
static AppendersFactory & | getInstance () |
static AppendersFactory & | 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 | |
AppendersFactory () | |
AppendersFactory () | |
Private Attributes | |
creators_t | creators_ |
Definition at line 11 of file include/log4cpp/AppendersFactory.hh.
typedef creators_t::const_iterator log4cpp::AppendersFactory::const_iterator [private] |
Definition at line 24 of file install/include/log4cpp/AppendersFactory.hh.
typedef creators_t::const_iterator log4cpp::AppendersFactory::const_iterator [private] |
Definition at line 24 of file include/log4cpp/AppendersFactory.hh.
typedef std::auto_ptr<Appender>(* log4cpp::AppendersFactory::create_function_t)(const params_t ¶ms) |
Definition at line 13 of file install/include/log4cpp/AppendersFactory.hh.
typedef std::auto_ptr<Appender>(* log4cpp::AppendersFactory::create_function_t)(const params_t ¶ms) |
Definition at line 13 of file include/log4cpp/AppendersFactory.hh.
typedef std::map<std::string, create_function_t> log4cpp::AppendersFactory::creators_t [private] |
Definition at line 21 of file install/include/log4cpp/AppendersFactory.hh.
typedef std::map<std::string, create_function_t> log4cpp::AppendersFactory::creators_t [private] |
Definition at line 21 of file include/log4cpp/AppendersFactory.hh.
Definition at line 12 of file install/include/log4cpp/AppendersFactory.hh.
Definition at line 12 of file include/log4cpp/AppendersFactory.hh.
log4cpp::AppendersFactory::AppendersFactory | ( | ) | [inline, private] |
Definition at line 21 of file include/log4cpp/AppendersFactory.hh.
log4cpp::AppendersFactory::AppendersFactory | ( | ) | [inline, private] |
Definition at line 21 of file install/include/log4cpp/AppendersFactory.hh.
std::auto_ptr<Appender> log4cpp::AppendersFactory::create | ( | const std::string & | class_name, | |
const params_t & | params | |||
) |
std::auto_ptr< Appender > log4cpp::AppendersFactory::create | ( | const std::string & | class_name, | |
const params_t & | params | |||
) |
Definition at line 61 of file AppendersFactory.cpp.
static AppendersFactory& log4cpp::AppendersFactory::getInstance | ( | ) | [static] |
AppendersFactory & log4cpp::AppendersFactory::getInstance | ( | ) | [static] |
Definition at line 15 of file AppendersFactory.cpp.
void log4cpp::AppendersFactory::registerCreator | ( | const std::string & | class_name, | |
create_function_t | create_function | |||
) |
void log4cpp::AppendersFactory::registerCreator | ( | const std::string & | class_name, | |
create_function_t | create_function | |||
) |
Definition at line 52 of file AppendersFactory.cpp.
bool log4cpp::AppendersFactory::registered | ( | const std::string & | class_name | ) | const |
bool log4cpp::AppendersFactory::registered | ( | const std::string & | class_name | ) | const |
Definition at line 70 of file AppendersFactory.cpp.
Definition at line 26 of file include/log4cpp/AppendersFactory.hh.