9 class ODBDESIGN_EXPORT
OdbDesignArgs :
public Utils::CommandLineArgs
15 std::string bindAddress()
const;
17 bool useHttps()
const;
18 std::string designsDir()
const;
19 std::string templatesDir()
const;
21 bool httpTrace()
const;
22 std::string loadDesign()
const;
24 bool disableAuthentication()
const;
28 std::string getUsageString()
const override;
31 constexpr static const int DEFAULT_PORT = 8888;
32 constexpr static const char *DEFAULT_BIND_ADDRESS =
"0.0.0.0";
33 constexpr static const int DEFAULT_GRPC_PORT = 50051;
34 constexpr static const char* DEFAULT_DESIGNS_DIR =
"designs";
35 constexpr static const char* DEFAULT_TEMPLATES_DIR =
"templates";
36 constexpr static const bool DEFAULT_HELP =
false;
37 constexpr static const bool DEFAULT_HTTP_TRACE =
false;
38 constexpr static const char* DEFAULT_LOAD_DESIGN =
"";
39 constexpr static const bool DEFAULT_LOAD_ALL =
false;
40 constexpr static const bool DEFAULT_DISABLE_AUTH =
false;