#include <ConfigWWW.h>
Public Member Functions | |
| ConfigWWW () | |
| ConfigWWW & | setHtmlRoot (const std::string &htmlRoot) |
| std::string | getHtmlRoot () |
Static Public Attributes | |
| static constexpr std::string_view | name {"www"} |
| static constexpr std::string_view | description {"Web behavior of httpserver"} |
Private Attributes | |
| CLI::App * | configWWWSc |
| CLI::Option * | htmlRootOpt |
Definition at line 77 of file ConfigWWW.h.
| instance::ConfigWWW::ConfigWWW | ( | ) |
Definition at line 73 of file ConfigWWW.cpp.
References configWWWSc, description, htmlRootOpt, net::config::Instance(), name, and utils::Config::newInstance().
| std::string instance::ConfigWWW::getHtmlRoot | ( | ) |
Definition at line 96 of file ConfigWWW.cpp.
References htmlRootOpt.
Referenced by main().
| ConfigWWW & instance::ConfigWWW::setHtmlRoot | ( | const std::string & | htmlRoot | ) |
Definition at line 86 of file ConfigWWW.cpp.
References configWWWSc, and htmlRootOpt.
|
private |
Definition at line 88 of file ConfigWWW.h.
Referenced by ConfigWWW(), and setHtmlRoot().
|
staticconstexpr |
Definition at line 80 of file ConfigWWW.h.
Referenced by ConfigWWW().
|
private |
Definition at line 89 of file ConfigWWW.h.
Referenced by ConfigWWW(), getHtmlRoot(), and setHtmlRoot().
|
staticconstexpr |