OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MongoDBSettings.h
Go to the documentation of this file.
1#pragma once
2#include <string>
4{
5 std::string m_configFilePath = "";
6 std::string m_configFileContent = "";
7
8 std::string m_bindIP = "";
9 std::string m_port = "";
10 std::string m_adminPsw = "";
11 std::string m_certKeyFile = "";
12 std::string m_executablePath = "";
13 std::string m_dataPath = "";
14 std::string m_logPath = "";
15
16 std::string m_tlsUseSystemCA = "";
17
18 const std::string toString() const
19 {
20 std::string summary = "configurationFilePath: " + m_configFilePath + "\n"+
21 "config file content: " + m_configFileContent + "\n" +
22 "IP: " + m_bindIP + "\n" +
23 "Port: " + m_port + "\n" +
24 "cert file: " + m_certKeyFile + "\n" +
25 "exe path: " + m_executablePath + "\n" +
26 "data path: " + m_dataPath + "\n" +
27 "log path: " + m_logPath +"\n";
28 return summary;
29 }
30
31};
Definition MongoDBSettings.h:4
std::string m_bindIP
Definition MongoDBSettings.h:8
std::string m_port
Definition MongoDBSettings.h:9
std::string m_dataPath
Definition MongoDBSettings.h:13
std::string m_logPath
Definition MongoDBSettings.h:14
std::string m_adminPsw
Definition MongoDBSettings.h:10
std::string m_tlsUseSystemCA
Definition MongoDBSettings.h:16
std::string m_certKeyFile
Definition MongoDBSettings.h:11
std::string m_configFilePath
Definition MongoDBSettings.h:5
std::string m_configFileContent
Definition MongoDBSettings.h:6
std::string m_executablePath
Definition MongoDBSettings.h:12
const std::string toString() const
Definition MongoDBSettings.h:18