#pragma once #include "ddkit/base/Config.hpp" namespace ddkit { namespace access { class ConfigLoaderDds; } namespace base { /// @brief class "ConfigLoader" /// - it holds the config-File of the application and sets up the logger /// Hold by ConfigLoaderDds class ConfigLoader final { public: ConfigLoader(const std::string& configFile); ~ConfigLoader(); Config& config() { return m_config; } private: std::string m_programName; Config m_config; // no copying ConfigLoader(ConfigLoader const&) = delete; ConfigLoader(ConfigLoader&&) = delete; void operator=(ConfigLoader const&) = delete; void operator=(ConfigLoader&&) = delete; }; } // namespace base } // namespace ddkit