#include <LayoutsFactory.hh>
Public Types | |
typedef FactoryParams | params_t |
typedef std::auto_ptr< Layout >(*) | create_function_t (const params_t ¶ms) |
Public Member Functions | |
void | registerCreator (const std::string &class_name, create_function_t create_function) |
std::auto_ptr< Layout > | create (const std::string &class_name, const params_t ¶ms) |
bool | registed (const std::string &class_name) const |
Static Public Member Functions | |
static LayoutsFactory & | getInstance () |
typedef std::auto_ptr<Layout>(*) log4cpp::LayoutsFactory::create_function_t(const params_t ¶ms) |
LayoutsFactory & log4cpp::LayoutsFactory::getInstance | ( | ) | [static] |
void log4cpp::LayoutsFactory::registerCreator | ( | const std::string & | class_name, | |
create_function_t | create_function | |||
) |
std::auto_ptr< Layout > log4cpp::LayoutsFactory::create | ( | const std::string & | class_name, | |
const params_t & | params | |||
) |
bool log4cpp::LayoutsFactory::registed | ( | const std::string & | class_name | ) | const |