133 #ifndef OPENTXS_CORE_OTSETTINGS_HPP
134 #define OPENTXS_CORE_OTSETTINGS_HPP
152 OTString m_strConfigurationFileExactPath;
155 EXPORT
bool Load(
const OTString& strConfigurationFileExactPath);
156 EXPORT
bool Save(
const OTString& strConfigurationFileExactPath);
159 EXPORT
bool LogChange_str(
const OTString& strSection,
175 EXPORT
const bool&
IsLoaded()
const;
187 OTString& out_strResult,
bool& out_bKeyExist)
const;
189 int64_t& out_lResult,
bool& out_bKeyExist)
const;
191 bool& out_bResult,
bool& out_bKeyExist)
const;
196 const OTString& strValue,
bool& out_bNewOrUpdate,
199 const int64_t& lValue,
bool& out_bNewOrUpdate,
202 const bool& bValue,
bool& out_bNewOrUpdate,
209 bool& out_bIsNewSection);
215 OTString& out_strResult,
bool& out_bIsNew,
218 const OTString& strKey,
const int64_t& lDefault,
219 int64_t& out_lResult,
bool& out_bIsNew,
222 const OTString& strKey,
const bool& bDefault,
223 bool& out_bResult,
bool& out_bIsNew,
228 const OTString& strKey,
bool& bVariableName);
233 #endif // OPENTXS_CORE_OTSETTINGS_HPP
EXPORT bool Check_str(const OTString &strSection, const OTString &strKey, OTString &out_strResult, bool &out_bKeyExist) const
EXPORT bool Set_bool(const OTString &strSection, const OTString &strKey, const bool &bValue, bool &out_bNewOrUpdate, const OTString &strComment="")
EXPORT bool IsEmpty() const
EXPORT bool Set_long(const OTString &strSection, const OTString &strKey, const int64_t &lValue, bool &out_bNewOrUpdate, const OTString &strComment="")
EXPORT bool Set_str(const OTString &strSection, const OTString &strKey, const OTString &strValue, bool &out_bNewOrUpdate, const OTString &strComment="")
EXPORT bool CheckSet_str(const OTString &strSection, const OTString &strKey, const OTString &strDefault, OTString &out_strResult, bool &out_bIsNew, const OTString &strComment="")
EXPORT bool Check_bool(const OTString &strSection, const OTString &strKey, bool &out_bResult, bool &out_bKeyExist) const
EXPORT bool SetOption_bool(const OTString &strSection, const OTString &strKey, bool &bVariableName)
EXPORT bool CheckSet_long(const OTString &strSection, const OTString &strKey, const int64_t &lDefault, int64_t &out_lResult, bool &out_bIsNew, const OTString &strComment="")
EXPORT bool Check_long(const OTString &strSection, const OTString &strKey, int64_t &out_lResult, bool &out_bKeyExist) const
EXPORT bool CheckSetSection(const OTString &strSection, const OTString &strComment, bool &out_bIsNewSection)
EXPORT const bool & IsLoaded() const
EXPORT void SetConfigFilePath(const OTString &strConfigFilePath)
EXPORT bool CheckSet_bool(const OTString &strSection, const OTString &strKey, const bool &bDefault, bool &out_bResult, bool &out_bIsNew, const OTString &strComment="")