31 #ifndef STRUCT_DATABASESETTINGS_HPP_ 32 #define STRUCT_DATABASESETTINGS_HPP_ 36 #include <string_view> 98 this->host = other.
host;
100 this->user = other.
user;
102 this->name = other.
name;
105 this->debugDir = setDebugDir;
std::string user
The user name to be used to connect to the database.
Definition: DatabaseSettings.hpp:59
bool debugLogging
Indicates whether debug logging (to file) is enabled for the current thread.
Definition: DatabaseSettings.hpp:79
std::string host
The host name to be used to connect to the database server.
Definition: DatabaseSettings.hpp:53
std::string name
The name/schema of the database to be connected to.
Definition: DatabaseSettings.hpp:70
bool compression
Indicates whether compression should be used for the database connection.
Definition: DatabaseSettings.hpp:73
std::uint16_t port
The port to be used to connect to the database server.
Definition: DatabaseSettings.hpp:56
DatabaseSettings(const DatabaseSettings &other, std::string_view setDebugDir)
Constructor copying database settings, but setting a distinct debug directory.
Definition: DatabaseSettings.hpp:97
Database settings containing its host, port, user, password, schema, and compression.
Definition: DatabaseSettings.hpp:48
DatabaseSettings()=default
Default constructor.
Namespace for data structures.
Definition: AlgoThreadProperties.hpp:43
std::string password
The password to be used to connect to the database.
Definition: DatabaseSettings.hpp:67
std::string_view debugDir
The debug directory to be used by the current thread.
Definition: DatabaseSettings.hpp:76