LOG4CPP::DETAILS::PARAMETER::VALIDATOR(3)

πŸ“¦
version 1.1.4 Β· 3 versions
, in opensuse-leap 16.0

πŸ’– log4cpp::details::parameter_validator πŸ’–

okay bestie, this is the log4cpp::d...r_validator(3) page from the Library Functions Manual, and the main character is log4cpp::details::parameter_validator. It’s giving very specific helper-class energy, and we’re gonna read every signature together, no skips πŸ’…βœ¨

✨ NAME ✨

log4cpp::details::parameter_validator β€” yes, that’s the whole name, and she’s iconic πŸŽ€

🌸 SYNOPSIS 🌸

#include <FactoryParams.hh>

Inherits log4cpp::details::base_validator_data. Periodt 🫢

🫢 Public Member Functions 🫢

  • parameter_validator (const char *tag, const FactoryParams *params) β€” the constructor bestie; it takes a tag and a pointer to FactoryParams.
  • template<typename T> required_params_validator required (const char *param, T &value) const β€” takes a param name and a T &value, and the return type is required_params_validator.
  • template<typename T> optional_params_validator optional (const char *param, T &value) const β€” takes a param name and a T &value, and the return type is optional_params_validator.

🧬 Public Member Functions inherited from log4cpp::details::base_validator_data 🧬

  • base_validator_data (const char *tag, const FactoryParams *params) β€” inherited constructor with the same tag + params energy.

πŸŽ€ Additional Inherited Members πŸŽ€

πŸ”’ Protected Member Functions inherited from log4cpp::details::base_validator_data πŸ”’

  • template<typename T> void assign (const std::string &param_value, T &value) const β€” protected template member; it takes const std::string &param_value and T &value.
  • template<typename T> void assign_impl (const std::string &param_value, T &value) const β€” protected template member; it takes const std::string &param_value and T &value.
  • void assign_impl (const std::string &param_value, std::string &value) const β€” protected overload; it takes const std::string &param_value and std::string &value.
  • void throw_error (const char *param_name) const β€” protected member; it takes const char *param_name.

πŸ—οΈ Protected Attributes inherited from log4cpp::details::base_validator_data πŸ—οΈ

  • const char * tag_ β€” protected tag_ attribute.
  • const FactoryParams * params_ β€” protected params_ attribute.

πŸ› οΈ Constructor & Destructor Documentation πŸ› οΈ

  • log4cpp::details::parameter_validator::parameter_validator (const char * tag, const FactoryParams * params) [inline] β€” the constructor documentation entry, and yes it’s marked [inline].

🧚 Member Function Documentation 🧚

  • template<typename T> optional_params_validator log4cpp::details::parameter_validator::optional (const char * param, T & value) const [inline] β€” the documented optional member function, [inline].
  • template<typename T> required_params_validator log4cpp::details::parameter_validator::required (const char * param, T & value) const [inline] β€” the documented required member function, [inline].

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4cpp from the source code. So this page was literally auto-built, and we respect the robot hustle πŸ€–βœ¨


muah πŸ’‹ β€” that’s the whole page. Footer tea: log4cpp Version 1.1, page log4cpp::d...r_validator(3), and no date is listed on this one, bestie β€” I’m not inventing one 🫢🌈

πŸ“¦ where this page comes from