SNode.C
|
Namespaces | |
namespace | system |
Classes | |
class | AttributeProxy |
class | Config |
class | Daemon |
class | DaemonError |
class | DaemonFailure |
class | DaemonSignaled |
struct | fixed_string |
class | MultibleAttributeInjector |
class | PreserveErrno |
class | Random |
class | SHA1 |
class | SingleAttributeInjector |
class | Timeval |
class | Uuid |
Concepts | |
concept | InjectableAttribute |
Functions | |
std::vector< unsigned char > | sha1 (const std::string &string) |
static const std::shared_ptr< CLI::App > | makeApp () |
static void | createCommandLineOptions (std::stringstream &out, CLI::App *app, CLI::CallForCommandline::Mode mode) |
static std::string | createCommandLineOptions (CLI::App *app, CLI::CallForCommandline::Mode mode) |
static void | createCommandLineTemplate (std::stringstream &out, CLI::App *app, CLI::CallForCommandline::Mode mode) |
static std::string | createCommandLineSubcommands (CLI::App *app, CLI::CallForCommandline::Mode mode) |
static std::string | createCommandLineTemplate (CLI::App *app, CLI::CallForCommandline::Mode mode) |
static const 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::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 493 of file Config.cpp.
References createCommandLineOptions().
Referenced by createCommandLineTemplate(), and createCommandLineTemplate().
|
static |
Definition at line 431 of file Config.cpp.
References CLI::CallForCommandline::DEFAULT, CLI::CallForCommandline::FULL, CLI::CallForCommandline::REQUIRED, and CLI::CallForCommandline::STANDARD.
Referenced by createCommandLineOptions().
|
static |
Definition at line 508 of file Config.cpp.
References createCommandLineTemplate(), and CLI::CallForCommandline::DEFAULT.
Referenced by createCommandLineTemplate().
|
static |
Definition at line 538 of file Config.cpp.
References createCommandLineOptions(), and createCommandLineTemplate().
Referenced by utils::Config::parse2().
|
static |
Definition at line 523 of file Config.cpp.
References createCommandLineOptions(), and createCommandLineSubcommands().
Referenced by createCommandLineSubcommands(), and createCommandLineTemplate().
utils::fixed_string | ( | char | const(&)[N] | ) | -> fixed_string< N - 1 > |
std::string utils::hexDump | ( | const char * | bytes, |
uint64_t | length, | ||
int | prefixLength = 0 , |
||
bool | prefixAtFirstLine = false |
||
) |
Definition at line 66 of file hexdump.cpp.
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 93 of file Config.cpp.
|
static |
Definition at line 659 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 transform_to_binary().
|
static |
Definition at line 251 of file sha1.cpp.
Referenced by sha1().