Namespaces | |
| namespace | CallForCommandline |
| namespace | system |
Classes | |
| struct | AppWithPtr |
| class | Uuid |
| class | Timeval |
| class | Config |
| class | DaemonFailure |
| class | DaemonError |
| class | DaemonSignaled |
| class | Daemon |
| class | PreserveErrno |
| class | Random |
| struct | fixed_string |
| class | AttributeProxy |
| class | SingleAttributeInjector |
| class | MultibleAttributeInjector |
| class | SHA1 |
Concepts | |
| concept | InjectableAttribute |
Functions | |
| static std::shared_ptr< CLI::App > | makeApp () |
| static std::string | createCommandLineTemplate (CLI::App *app, utils::CallForCommandline::Mode mode) |
| static std::string | bash_backslash_escape_no_whitespace (std::string_view s) |
| static void | createCommandLineOptions (std::stringstream &out, CLI::App *app, utils::CallForCommandline::Mode mode) |
| static std::string | createCommandLineOptions (CLI::App *app, utils::CallForCommandline::Mode mode) |
| static void | createCommandLineTemplate (std::stringstream &out, CLI::App *app, utils::CallForCommandline::Mode mode) |
| static std::string | createCommandLineSubcommands (CLI::App *app, utils::CallForCommandline::Mode mode) |
| static std::string | getCommandLine (CLI::App *commandlineTriggerApp) |
| static std::string | getConfig (CLI::App *configTriggeredApp) |
| static std::string | doWriteConfig (CLI::App *app) |
| static std::string | getHelp (CLI::App *app, CLI::App *helpTriggerApp) |
| static std::shared_ptr< CLI::HelpFormatter > | makeSectionFormatter () |
| std::string | hexDump (const std::vector< char > &bytes, int prefixLength, bool prefixAtFirstLine) |
| std::string | hexDump (const std::string &string, int prefixLength, bool prefixAtFirstLine) |
| std::string | hexDump (const char *bytes, uint64_t length, int prefixLength, bool prefixAtFirstLine) |
| static std::vector< unsigned char > | transform_to_binary (const std::string &string) |
| std::vector< unsigned char > | sha1 (const std::string &string) |
| std::ostream & | operator<< (std::ostream &ostream, const utils::Timeval &timeVal) |
| Timeval | operator* (double mul, const utils::Timeval &timeVal) |
| template<unsigned N> | |
| fixed_string (char const (&)[N]) -> fixed_string< N - 1 > | |
|
static |
Definition at line 453 of file Config.cpp.
Referenced by createCommandLineOptions().
|
static |
Definition at line 553 of file Config.cpp.
References createCommandLineOptions().
Referenced by createCommandLineTemplate(), and createCommandLineTemplate().
|
static |
Definition at line 473 of file Config.cpp.
References utils::CallForCommandline::ACTIVE, bash_backslash_escape_no_whitespace(), utils::CallForCommandline::COMPLETE, Color::FG_DEFAULT, Color::FG_RED, Color::operator+(), utils::CallForCommandline::REQUIRED, and utils::CallForCommandline::STANDARD.
Referenced by createCommandLineOptions().
|
static |
Definition at line 568 of file Config.cpp.
References utils::CallForCommandline::COMPLETE, and createCommandLineTemplate().
Referenced by createCommandLineTemplate().
|
static |
Definition at line 598 of file Config.cpp.
References createCommandLineOptions(), createCommandLineTemplate(), and utils::Config::getApplicationName().
Referenced by getCommandLine().
|
static |
Definition at line 583 of file Config.cpp.
References createCommandLineOptions(), and createCommandLineSubcommands().
Referenced by createCommandLineSubcommands(), and createCommandLineTemplate().
|
static |
Definition at line 676 of file Config.cpp.
References Color::FG_DEFAULT, Color::FG_GREEN, and Color::FG_RED.
Referenced by utils::Config::parse2().
| utils::fixed_string | ( | char | const(&)[N] | ) | ->fixed_string< N-1 > |
|
static |
Definition at line 618 of file Config.cpp.
References utils::CallForCommandline::ACTIVE, utils::CallForCommandline::COMPLETE, createCommandLineTemplate(), Color::FG_BLUE, Color::FG_DEFAULT, Color::FG_GREEN, utils::CallForCommandline::REQUIRED, and utils::CallForCommandline::STANDARD.
Referenced by utils::Config::parse2().
|
static |
Definition at line 663 of file Config.cpp.
References Color::FG_DEFAULT, and Color::FG_RED.
Referenced by utils::Config::parse2().
|
static |
Definition at line 701 of file Config.cpp.
References Color::FG_DEFAULT, and Color::FG_RED.
Referenced by utils::Config::parse2().
| std::string utils::hexDump | ( | const char * | bytes, |
| uint64_t | length, | ||
| int | prefixLength = 0, | ||
| bool | prefixAtFirstLine = false ) |
Definition at line 66 of file hexdump.cpp.
References Color::FG_BLUE, Color::FG_DEFAULT, and Color::FG_GREEN.
Referenced by hexDump(), hexDump(), web::websocket::Receiver::readPayload(), and web::websocket::Transmitter::sendFrame().
| std::string utils::hexDump | ( | const std::string & | string, |
| int | prefixLength = 0, | ||
| bool | prefixAtFirstLine = false ) |
Definition at line 62 of file hexdump.cpp.
References hexDump().
| std::string utils::hexDump | ( | const std::vector< char > & | bytes, |
| int | prefixLength = 0, | ||
| bool | prefixAtFirstLine = false ) |
Definition at line 58 of file hexdump.cpp.
References hexDump().
Referenced by iot::mqtt::SubProtocol< WSSubProtocolRoleT >::onMessageData(), iot::mqtt::Mqtt::toHexString(), httputils::toString(), and httputils::toString().
|
static |
Definition at line 102 of file Config.cpp.
References logger::Logger::init().
|
static |
Definition at line 853 of file Config.cpp.
| Timeval utils::operator* | ( | double | mul, |
| const utils::Timeval & | timeVal ) |
Definition at line 223 of file Timeval.cpp.
| std::ostream & utils::operator<< | ( | std::ostream & | ostream, |
| const utils::Timeval & | timeVal ) |
Definition at line 218 of file Timeval.cpp.
| std::vector< unsigned char > utils::sha1 | ( | const std::string & | string | ) |
Definition at line 267 of file sha1.cpp.
References utils::SHA1::final(), transform_to_binary(), and utils::SHA1::update().
Referenced by base64::serverWebSocketKey().
|
static |
Definition at line 251 of file sha1.cpp.
Referenced by sha1().