#include <ConfigSections.h>
Public Member Functions | |
| ConfigDatabase (utils::SubCommand *parent) | |
| ~ConfigDatabase () override | |
| std::string | getHost () const |
| std::string | getUsername () const |
| std::string | getPassword () const |
| std::string | getDatabase () const |
| std::uint16_t | getPort () const |
| std::string | getSocket () const |
| std::uint32_t | getFlags () const |
Static Public Attributes | |
| static constexpr std::string_view | NAME {"db"} |
| static constexpr std::string_view | DESCRIPTION {"MariaDB/MySQL connection"} |
Private Attributes | |
| CLI::Option * | hostOpt |
| CLI::Option * | usernameOpt |
| CLI::Option * | passwordOpt |
| CLI::Option * | databaseOpt |
| CLI::Option * | portOpt |
| CLI::Option * | socketOpt |
| CLI::Option * | flagsOpt |
Definition at line 75 of file ConfigSections.h.
| mqtt::mqttstore::lib::ConfigDatabase::ConfigDatabase | ( | utils::SubCommand * | parent | ) |
Definition at line 110 of file ConfigSections.cpp.
References databaseOpt, flagsOpt, hostOpt, passwordOpt, portOpt, socketOpt, and usernameOpt.
|
overridedefault |
|
nodiscard |
Definition at line 142 of file ConfigSections.cpp.
References databaseOpt.
|
nodiscard |
Definition at line 154 of file ConfigSections.cpp.
References flagsOpt.
|
nodiscard |
Definition at line 130 of file ConfigSections.cpp.
References hostOpt.
|
nodiscard |
Definition at line 138 of file ConfigSections.cpp.
References passwordOpt.
|
nodiscard |
Definition at line 146 of file ConfigSections.cpp.
References portOpt.
|
nodiscard |
Definition at line 150 of file ConfigSections.cpp.
References socketOpt.
|
nodiscard |
Definition at line 134 of file ConfigSections.cpp.
References usernameOpt.
|
private |
Definition at line 95 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getDatabase().
|
staticconstexpr |
Definition at line 78 of file ConfigSections.h.
|
private |
Definition at line 98 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getFlags().
|
private |
Definition at line 92 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getHost().
|
staticconstexpr |
Definition at line 77 of file ConfigSections.h.
|
private |
Definition at line 94 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getPassword().
|
private |
Definition at line 96 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getPort().
|
private |
Definition at line 97 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getSocket().
|
private |
Definition at line 93 of file ConfigSections.h.
Referenced by ConfigDatabase(), and getUsername().