log4cpp::LayoutsFactory(3)
π NAME
okay so this page is all about log4cpp::LayoutsFactory β and yes, that's the exact class name. It lives in the Library Functions Manual for log4cpp, and we're about to go through every signature without dropping a single crumb. bestie, it's giving very specific factory energy, and we're here for it π
β¨
β¨ SYNOPSIS
To even peek at this class, you include the header, no cap:
#include <LayoutsFactory.hh>
πΈ Public Types
Two typedefs, and both are important:
typedef FactoryParams params_t
typedef std::auto_ptr< Layout >(* create_function_t) (const params_t ¶ms)
params_tis a typedef forFactoryParams.create_function_tis a function-pointer typedef returningstd::auto_ptr< Layout >and takingconst params_t ¶ms.
π Public Member Functions
Here's the trio, exact signatures and all:
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
registerCreatortakes aclass_nameplus acreate_function_tnamedcreate_function.createtakesclass_nameandparams, and returnsstd::auto_ptr< Layout >.registedβ yes, that spelling β takesclass_name, isconst, and returnsbool. Keep the spelling exactly as written π«Ά
π¦ Static Public Member Functions
One static call, signature below:
static LayoutsFactory & getInstance ()
π§ Member Typedef Documentation
Exact typedef tea:
typedef std::auto_ptr< Layout >(* log4cpp::LayoutsFactory::create_function_t) (const params_t ¶ms)
typedef FactoryParams log4cpp::LayoutsFactory::params_t
create_function_tis documented astypedef std::auto_ptr< Layout >(* log4cpp::LayoutsFactory::create_function_t) (const params_t ¶ms).params_tis documented astypedef FactoryParams log4cpp::LayoutsFactory::params_t.
π Member Function Documentation
All four member-function signatures, preserved exactly:
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)
createβ takesconst std::string & class_nameandconst params_t & params; returnsstd::auto_ptr< Layout >.getInstanceβ static, returnsLayoutsFactory &, and carries the[static]marker.registedβconst, takesconst std::string & class_name, and returnsbool.registerCreatorβ takesconst std::string & class_nameandcreate_function_t create_function, and returnsvoid.
π Author
Author: the page was generated automatically by Doxygen for log4cpp from the source code. That's the whole author note, periodt.
okay that's the page π«Ά source/version sign-off: log4cpp Version 1.1, page log4cpp::LayoutsFactory(3), and the footer vibes are log4cpp + Version 1.1 + log4cpp::LayoutsFactory(3) β generated automatically by Doxygen for log4cpp from the source code. Date? not listed in this footer, so no invented date here, just the real source/version info β¨
π¦ where this page comes from
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms