|
| static constexpr std::string_view | name {"db"} |
| static constexpr std::string_view | description {"Database connection"} |
Definition at line 61 of file testmariadb.cpp.
◆ ConfigDb() [1/2]
Definition at line 66 of file testmariadb.cpp.
70 ->group(
configDbSc->get_formatter()->get_label(
"Persistent Options"))
71 ->type_name("[hostname|IP-address]")
72 ->configurable()
73 ->required();
74
77 }
static constexpr std::string_view name
static constexpr std::string_view description
static CLI::App * newInstance(std::shared_ptr< CLI::App > appWithPtr, const std::string &group, bool final=false)
std::shared_ptr< utils::AppWithPtr< T > > Instance(const std::string &name, const std::string &description, T *section)
References configDbSc, description, hostOpt, name, and utils::Config::newInstance().
◆ ConfigDb() [2/2]
Definition at line 66 of file testmariadb.cpp.
70 ->group(
configDbSc->get_formatter()->get_label(
"Persistent Options"))
71 ->type_name("[hostname|IP-address]")
72 ->configurable()
73 ->required();
74
77 }
◆ getHost() [1/2]
| std::string ConfigDb::getHost |
( |
| ) |
|
|
inline |
◆ getHost() [2/2]
| std::string ConfigDb::getHost |
( |
| ) |
|
|
inline |
◆ setHost() [1/2]
| ConfigDb & ConfigDb::setHost |
( |
const std::string & | host | ) |
|
|
inline |
◆ setHost() [2/2]
| ConfigDb & ConfigDb::setHost |
( |
const std::string & | host | ) |
|
|
inline |
◆ configDbSc
| CLI::App * ConfigDb::configDbSc |
|
private |
◆ description
| constexpr std::string_view ConfigDb::description {"Database connection"} |
|
staticconstexpr |
◆ hostOpt
| CLI::Option * ConfigDb::hostOpt |
|
private |
◆ name
| constexpr std::string_view ConfigDb::name {"db"} |
|
staticconstexpr |
The documentation for this class was generated from the following file: