LOG4CPP::APPENDERSFACTORY(3)
π log4cpp::AppendersFactory π
okay bestie, this is a Library Functions Manual page (the (3) section vibe), and the main character is log4cpp::AppendersFactory. it's giving very "Doxygen generated the bare minimum and left the rest to us." β¨
β¨ NAME β¨
log4cpp::AppendersFactory β literally the name. that's the whole NAME section. iconic. π
πΈ SYNOPSIS πΈ
here's the exact synopsis, no edits, no cap:
#include <AppendersFactory.hh>
Public Types
typedef FactoryParams params_t
typedef std::auto_ptr< Appender >(* 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< Appender > create (const std::string &class_name, const
params_t ¶ms)
bool registered (const std::string &class_name) const
Static Public Member Functions
static AppendersFactory & getInstance ()
π Public Types π
exact tea, preserved:
typedef FactoryParams params_t
typedef std::auto_ptr< Appender >(* create_function_t) (const params_t
¶ms)
params_tβ this is the alias forFactoryParams. cute little name, big alias energy. πcreate_function_tβ this is thecreate_function_ttypedef. yes, it's a whole function-pointer situation, and the page gives you the signature and nothing else. β¨
π Public Member Functions π
the trio, exactly as written:
void registerCreator (const std::string &class_name, create_function_t
create_function)
std::auto_ptr< Appender > create (const std::string &class_name, const
params_t ¶ms)
bool registered (const std::string &class_name) const
registerCreatorβ takesconst std::string &class_nameandcreate_function_t create_function. that's the signature, bestie. π«Άcreateβ takesconst std::string &class_nameandconst params_t ¶ms; it returnsstd::auto_ptr< Appender >. slay. πregisteredβ takesconst std::string &class_name, returnsbool, and it's aconstmember function. periodt. β¨
π¦ Static Public Member Functions π¦
static AppendersFactory & getInstance ()
getInstanceβ static, returnsAppendersFactory &, and takes no arguments. static baddie behavior. π
𧬠Member Typedef Documentation π§¬
create_function_t
typedef std::auto_ptr< Appender >(*
log4cpp::AppendersFactory::create_function_t) (const params_t ¶ms)
this is the documented typedef, fully qualified and everything. no extra lore on this page. π
params_t
typedef FactoryParams log4cpp::AppendersFactory::params_t
same energy: alias city. β¨
π₯ Member Function Documentation π₯
create
std::auto_ptr< Appender > log4cpp::AppendersFactory::create (const
std::string & class_name, const params_t & params)
the docs give you the signature and dip. parameters are class_name and params; return type is std::auto_ptr< Appender >. no extra description here. π«Ά
getInstance
AppendersFactory & log4cpp::AppendersFactory::getInstance () [static]
static icon. again, signature only, no extra paragraph. π
registerCreator
void log4cpp::AppendersFactory::registerCreator (const std::string &
class_name, create_function_t create_function)
signature only. parameters: class_name and create_function. that's it, that's the tea. β¨
registered
bool log4cpp::AppendersFactory::registered (const std::string & class_name)
const
signature only. parameter: class_name; and yes, it's const. π
π Author π
Generated automatically by Doxygen for log4cpp from the source code. β the auto-generated author line, slay. π
okay bestie, that's the whole page. footer tea: it's log4cpp, Version 1.1, and there's literally no date shown on this one. the abbreviated title down there is log4cpp::A...dersFactory(3). thanks for coming to my Unix talk. π
β¨
π¦ 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