|
Open-Transactions
0.93.0-ge03d287
|
#include <OTSettings.hpp>
Classes | |
| class | OTSettingsPvt |
Public Member Functions | |
| EXPORT | OTSettings () |
| EXPORT | OTSettings (const OTString &strConfigFilePath) |
| EXPORT | ~OTSettings () |
| EXPORT void | SetConfigFilePath (const OTString &strConfigFilePath) |
| EXPORT bool | Load () |
| EXPORT bool | Save () |
| EXPORT const bool & | IsLoaded () const |
| EXPORT bool | Reset () |
| EXPORT bool | IsEmpty () const |
| EXPORT bool | Check_str (const OTString &strSection, const OTString &strKey, OTString &out_strResult, bool &out_bKeyExist) const |
| EXPORT bool | Check_long (const OTString &strSection, const OTString &strKey, int64_t &out_lResult, bool &out_bKeyExist) const |
| EXPORT bool | Check_bool (const OTString &strSection, const OTString &strKey, bool &out_bResult, bool &out_bKeyExist) const |
| EXPORT bool | Set_str (const OTString &strSection, const OTString &strKey, const OTString &strValue, bool &out_bNewOrUpdate, const OTString &strComment="") |
| EXPORT bool | Set_long (const OTString &strSection, const OTString &strKey, const int64_t &lValue, bool &out_bNewOrUpdate, const OTString &strComment="") |
| EXPORT bool | Set_bool (const OTString &strSection, const OTString &strKey, const bool &bValue, bool &out_bNewOrUpdate, const OTString &strComment="") |
| EXPORT bool | CheckSetSection (const OTString &strSection, const OTString &strComment, bool &out_bIsNewSection) |
| EXPORT bool | CheckSet_str (const OTString &strSection, const OTString &strKey, const OTString &strDefault, OTString &out_strResult, bool &out_bIsNew, const OTString &strComment="") |
| 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 | CheckSet_bool (const OTString &strSection, const OTString &strKey, const bool &bDefault, bool &out_bResult, bool &out_bIsNew, const OTString &strComment="") |
| EXPORT bool | SetOption_bool (const OTString &strSection, const OTString &strKey, bool &bVariableName) |
Definition at line 141 of file OTSettings.hpp.
| opentxs::OTSettings::OTSettings | ( | ) |
Definition at line 265 of file OTSettings.cpp.
| opentxs::OTSettings::OTSettings | ( | const OTString & | strConfigFilePath | ) |
Definition at line 247 of file OTSettings.cpp.
| opentxs::OTSettings::~OTSettings | ( | ) |
Definition at line 271 of file OTSettings.cpp.
| bool opentxs::OTSettings::Check_bool | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| bool & | out_bResult, | ||
| bool & | out_bKeyExist | ||
| ) | const |
Definition at line 400 of file OTSettings.cpp.
| bool opentxs::OTSettings::Check_long | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| int64_t & | out_lResult, | ||
| bool & | out_bKeyExist | ||
| ) | const |
Definition at line 354 of file OTSettings.cpp.
| bool opentxs::OTSettings::Check_str | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| OTString & | out_strResult, | ||
| bool & | out_bKeyExist | ||
| ) | const |
Definition at line 309 of file OTSettings.cpp.
| bool opentxs::OTSettings::CheckSet_bool | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const bool & | bDefault, | ||
| bool & | out_bResult, | ||
| bool & | out_bIsNew, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 766 of file OTSettings.cpp.
| bool opentxs::OTSettings::CheckSet_long | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const int64_t & | lDefault, | ||
| int64_t & | out_lResult, | ||
| bool & | out_bIsNew, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 722 of file OTSettings.cpp.
| bool opentxs::OTSettings::CheckSet_str | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const OTString & | strDefault, | ||
| OTString & | out_strResult, | ||
| bool & | out_bIsNew, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 664 of file OTSettings.cpp.
| bool opentxs::OTSettings::CheckSetSection | ( | const OTString & | strSection, |
| const OTString & | strComment, | ||
| bool & | out_bIsNewSection | ||
| ) |
Definition at line 628 of file OTSettings.cpp.
| bool opentxs::OTSettings::IsEmpty | ( | ) | const |
Definition at line 304 of file OTSettings.cpp.
| const bool & opentxs::OTSettings::IsLoaded | ( | ) | const |
Definition at line 292 of file OTSettings.cpp.
| bool opentxs::OTSettings::Load | ( | ) |
Definition at line 275 of file OTSettings.cpp.
| bool opentxs::OTSettings::Reset | ( | ) |
Definition at line 297 of file OTSettings.cpp.
| bool opentxs::OTSettings::Save | ( | ) |
Definition at line 287 of file OTSettings.cpp.
| bool opentxs::OTSettings::Set_bool | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const bool & | bValue, | ||
| bool & | out_bNewOrUpdate, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 607 of file OTSettings.cpp.
| bool opentxs::OTSettings::Set_long | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const int64_t & | lValue, | ||
| bool & | out_bNewOrUpdate, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 534 of file OTSettings.cpp.
| bool opentxs::OTSettings::Set_str | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| const OTString & | strValue, | ||
| bool & | out_bNewOrUpdate, | ||
| const OTString & | strComment = "" |
||
| ) |
Definition at line 449 of file OTSettings.cpp.
| void opentxs::OTSettings::SetConfigFilePath | ( | const OTString & | strConfigFilePath | ) |
Definition at line 260 of file OTSettings.cpp.
| bool opentxs::OTSettings::SetOption_bool | ( | const OTString & | strSection, |
| const OTString & | strKey, | ||
| bool & | bVariableName | ||
| ) |
Definition at line 809 of file OTSettings.cpp.