log4cpp  1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
log4cpp::LayoutsFactory Class Reference

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

Static Public Member Functions

static LayoutsFactorygetInstance ()
 

Member Typedef Documentation

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

Member Function Documentation

std::auto_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 
)

The documentation for this class was generated from the following files: