2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
44#include "net/config/ConfigInstanceAPI.hpp"
46#ifndef DOXYGEN_SHOULD_SKIP_THIS
77 ->group(
configWWWSc->get_formatter()->get_label(
"Persistent Options"))
CLI::Option * htmlRootOpt
ConfigWWW & setHtmlRoot(const std::string &htmlRoot)
std::string getHtmlRoot()
static constexpr std::string_view name
static constexpr std::string_view description
CLI::Option * addOption(const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue)
ConfigSection(ConfigInstance *instance, T *sectionPtr, const std::string &group="Sections")
void required(CLI::Option *opt, bool req=true)
ConfigWWW(net::config::ConfigInstance *instance)
ConfigWWW & setHtmlRoot(const std::string &htmlRoot)
std::string getHtmlRoot()
CLI::Option * htmlRootOpt
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)