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
45#include "net/config/ConfigSection.hpp"
51#ifndef DOXYGEN_SHOULD_SKIP_THIS
61 constexpr static std::string_view
name{
"www"};
62 constexpr static std::string_view
description{
"Web behavior of httpserver"};
79 constexpr static std::string_view
name{
"www"};
80 constexpr static std::string_view
description{
"Web behavior of httpserver"};
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)
static constexpr std::string_view description
ConfigWWW & setHtmlRoot(const std::string &htmlRoot)
std::string getHtmlRoot()
static constexpr std::string_view name
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)