LOG4CPP::DETAILS::OPTIONAL::PARAMS::VALIDATOR(3)
π log4cpp::details::optional_params_validator
okay so bestie, welcome to the optional_params_validator page β the C++ class that checks your optional params for you so you don't have to. it lives in the log4cpp library, and the manual page for it is log4cpp::d...s_validator(3). yeah the title got truncated, iconic behavior, we move. β¨
πΈ NAME πΈ
log4cpp::details::optional_params_validator β literally the whole name, that's it, that's the section π
π¦ SYNOPSIS π¦
#include <FactoryParams.hh>
Inherits log4cpp::details::base_validator_data. (so it's got family money, iykyk π)
β¨ Public Member Functions β¨
optional_params_validator (const char *tag, const FactoryParams *params)β the constructor, it's giving setup era π«Άtemplate<typename T> required_params_validator required (const char *param, T &value) constβ template-y, returns arequired_params_validatortemplate<typename T> const optional_params_validator & operator() (const char *param, T &value) constβ the fun-call operator, and it hands back aconst optional_params_validator &
π Public Member Functions inherited from log4cpp::details::base_validator_data π
base_validator_data (const char *tag, const FactoryParams *params)β the parent constructor, passing down the genes
π§ Additional Inherited Members π§
π Protected Member Functions inherited from log4cpp::details::base_validator_data π
template<typename T> void assign (const std::string ¶m_value, T &value) constβ assigns, template editiontemplate<typename T> void assign_impl (const std::string ¶m_value, T &value) constβ the impl behind the assign, template editionvoid assign_impl (const std::string ¶m_value, std::string &value) constβ same thing but special-cased forstd::string, ngl that's the slayvoid throw_error (const char *param_name) constβ throws an error, the name says it all π
π Protected Attributes inherited from log4cpp::details::base_validator_data π
const char * tag_β the tag, protected, note the trailing underscore bestieconst FactoryParams * params_β the params pointer, also protected, also underscore'd
π₯ Constructor & Destructor Documentation π₯
log4cpp::details::optional_params_validator::optional_params_validator (const char * tag, const FactoryParams * params) [inline]
the constructor, marked [inline] β short and sweet, just like this section π
β Member Function Documentation β
template<typename T> const optional_params_validator & log4cpp::details::optional_params_validator::operator() (const char * param, T & value) const [inline]
the call operator, <typename T> templated, takes a const char * named param and a T & named value, returns a const optional_params_validator &. [inline]. periodt. π
template<typename T> required_params_validator log4cpp::details::optional_params_validator::required (const char * param, T & value) const [inline]
the required member β templated on <typename T>, takes const char * param and T & value, gives you back a required_params_validator. [inline]. no cap π§
π Author π
Generated automatically by Doxygen for log4cpp from the source code. so nobody actually wrote this by hand, it's giving robot main character energy π€β¨
and that's the page bestie!! before you go β the footer tea: this is log4cpp, Version 1.1, and it's the log4cpp::d...s_validator(3) page, dated the same as always. mwah, go validate those optional params ππ¦πΈ
π¦ 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