86 int SetFileName(std::string fileName, std::string strIniFileUsedBy =
"",
bool bCreate =
false);
98 int WriteKeyString(
const char* pSect,
const char* pKey,
const std::string* pStrToWrite,
bool bWarnIfNotfound =
true);
109 int WriteKeyInt(
const char* pSect,
const char* pKey,
int nValue,
bool bWarnIfNotfound =
true);
121 int WriteKeyDouble(
const char* pSect,
const char* pKey,
double dValue,
int StringLen=12,
int decimals=5,
bool bWarnIfNotfound =
true);
132 int WriteKeyBool(
const char* pSect,
const char* pKey,
bool bValue,
bool bWarnIfNotfound =
true);
142 int GetKeyString(
const char* pSect,
const char* pKey, std::string* pStrToRead,
143 bool bWarnIfNotfound =
true);
149 int GetKeyInt(
const char* pSect,
const char* pKey,
int* pValue,
150 bool bWarnIfNotfound =
true);
155 int GetKeyLong(
const char* pSect,
const char* pKey,
long* pValue,
156 bool bWarnIfNotfound =
true);
166 int GetKeyBool(
const char* pSect,
const char* pKey,
bool* pValue,
167 bool bWarnIfNotfound =
true);
177 int GetKeyDouble(
const char* pSect,
const char* pKey,
double* pValue,
178 bool bWarnIfNotfound =
true);
188 int GetKeyDouble(
const char* pSect,
const char* pKey,
double* pValue,
double dDefault,
189 bool bWarnIfNotfound =
true);
199 int GetKey(
const char* pSect,
const char* pKey, std::string* pStrToRead,
bool bWarnIfNotfound =
true);
205 int GetKey(
const char* pSect,
const char* pKey,
int* pValue,
bool bWarnIfNotfound =
true);
215 int GetKey(
const char* pSect,
const char* pKey,
bool* pValue,
bool bWarnIfNotfound =
true);
225 int GetKey(
const char* pSect,
const char* pKey,
double* pValue,
bool bWarnIfNotfound =
true);
235 int FindNextSection(std::string* pSect, std::string prevSect,
bool bWarnIfNotfound =
true);
239 int FindSection(
const char* sect,
bool bWarnIfNotfound =
true);
240 int FindKey(
const char* skey,
bool bWarnIfNotfound =
true);
241 int FindNextLine(std::vector<char>& NewLine,
int& CharInd);
251 int WriteKeyValue(
const char* pSect,
const char* pKey,
const char* pBuf,
bool bWarnIfNotfound =
true);
264 int GetKeyValue(
const char* pSect,
const char* pKey,
char* pBuf,
int lenBuf,
265 bool bWarnIfNotfound =
true);
280 int ReadLineUntil(FILE* pFile,
const char EndChar, std::string& ReadIntoStr);
int SkipLineUntil(FILE *pFile, const char EndChar)
int FindNextLine(std::vector< char > &NewLine, int &CharInd)
int FindKey(const char *skey, bool bWarnIfNotfound=true)
int GetKeyValue(const char *pSect, const char *pKey, char *pBuf, int lenBuf, bool bWarnIfNotfound=true)
int WriteKeyString(const char *pSect, const char *pKey, const std::string *pStrToWrite, bool bWarnIfNotfound=true)
std::vector< char > m_CurLine
int GetKeyBool(const char *pSect, const char *pKey, bool *pValue, bool bWarnIfNotfound=true)
int WriteKeyDouble(const char *pSect, const char *pKey, double dValue, int StringLen=12, int decimals=5, bool bWarnIfNotfound=true)
int WriteKeyInt(const char *pSect, const char *pKey, int nValue, bool bWarnIfNotfound=true)
int GetKeyInt(const char *pSect, const char *pKey, int *pValue, bool bWarnIfNotfound=true)
int FindNextSection(std::string *pSect, std::string prevSect, bool bWarnIfNotfound=true)
int GetKeyDouble(const char *pSect, const char *pKey, double *pValue, bool bWarnIfNotfound=true)
int FindSection(const char *sect, bool bWarnIfNotfound=true)
int SetFileName(std::string fileName, std::string strIniFileUsedBy="", bool bCreate=false)
int GetKey(const char *pSect, const char *pKey, std::string *pStrToRead, bool bWarnIfNotfound=true)
int GetKeyString(const char *pSect, const char *pKey, std::string *pStrToRead, bool bWarnIfNotfound=true)
int ReadLineUntil(FILE *pFile, const char EndChar, std::string &ReadIntoStr)
int GetKeyLong(const char *pSect, const char *pKey, long *pValue, bool bWarnIfNotfound=true)
int WriteKeyBool(const char *pSect, const char *pKey, bool bValue, bool bWarnIfNotfound=true)
std::string m_strIniFileUsedBy
int WriteKeyValue(const char *pSect, const char *pKey, const char *pBuf, bool bWarnIfNotfound=true)