Scroll to navigation

log4cpp::LayoutsFactory(3) Library Functions Manual log4cpp::LayoutsFactory(3)

NAME

log4cpp::LayoutsFactory

SYNOPSIS

#include <LayoutsFactory.hh>

Public Types


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

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 &params)
bool registed (const std::string &class_name) const

Static Public Member Functions


static LayoutsFactory & getInstance ()

Member Typedef Documentation

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

typedef FactoryParams log4cpp::LayoutsFactory::params_t

Member Function Documentation

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

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

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

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

Author

Generated automatically by Doxygen for log4cpp from the source code.

Version 1.1 log4cpp