Windows C++ Library
|
#include <IniFile.hpp>
Public Member Functions | |
CIniFile () | |
CIniFile (const tchar *pszPath) | |
CIniFile (const tchar *pszDir, const tchar *pszFile) | |
~CIniFile () | |
CString | ReadString (const tchar *pszSection, const tchar *pszEntry, const tchar *pszDefault) const |
tstring | ReadString (const tstring &strSection, const tstring &strEntry, const tstring &strDefault) const |
int | ReadInt (const tchar *pszSection, const tchar *pszEntry, int nDefault) const |
uint | ReadUInt (const tchar *pszSection, const tchar *pszEntry, uint nDefault) const |
long | ReadLong (const tchar *pszSection, const tchar *pszEntry, long lDefault) const |
bool | ReadBool (const tchar *pszSection, const tchar *pszEntry, bool bDefault) const |
bool | ReadBool (const tstring &strSection, const tstring &strEntry, bool bDefault) const |
CRect | ReadRect (const tchar *pszSection, const tchar *pszEntry, const CRect &rcDefault) const |
void | WriteString (const tchar *pszSection, const tchar *pszEntry, const tchar *pszValue) |
void | WriteString (const tstring &strSection, const tstring &strEntry, const tstring &strValue) |
void | WriteInt (const tchar *pszSection, const tchar *pszEntry, int nValue) |
void | WriteUInt (const tchar *pszSection, const tchar *pszEntry, uint nValue) |
void | WriteLong (const tchar *pszSection, const tchar *pszEntry, long lValue) |
void | WriteBool (const tchar *pszSection, const tchar *pszEntry, bool bValue) |
void | WriteRect (const tchar *pszSection, const tchar *pszEntry, const CRect &rcValue) |
void | DeleteEntry (const tchar *pszSection, const tchar *pszEntry) |
CStrArray | ReadStrings (const tchar *pszSection, const tchar *pszEntry, tchar cSep, const tchar *pszDefault) const |
void | WriteStrings (const tchar *pszSection, const tchar *pszEntry, tchar cSep, const CStrArray &astrValues) |
size_t | ReadSectionNames (CStrArray &astrNames) |
size_t | ReadSection (const tchar *pszSection, CStrArray &astrEntries) |
size_t | ReadSection (const tchar *pszSection, CStrArray &astrKeys, CStrArray &astrValues) |
void | DeleteSection (const tchar *pszSection) |
Public Attributes | |
CPath | m_strPath |
CIniFile::CIniFile | ( | const tchar * | pszPath | ) |
CIniFile::CIniFile | ( | const tchar * | pszDir, |
const tchar * | pszFile | ||
) |
CString CIniFile::ReadString | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
const tchar * | pszDefault | ||
) | const |
tstring CIniFile::ReadString | ( | const tstring & | strSection, |
const tstring & | strEntry, | ||
const tstring & | strDefault | ||
) | const |
int CIniFile::ReadInt | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
int | nDefault | ||
) | const |
uint CIniFile::ReadUInt | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
uint | nDefault | ||
) | const |
long CIniFile::ReadLong | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
long | lDefault | ||
) | const |
bool CIniFile::ReadBool | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
bool | bDefault | ||
) | const |
bool CIniFile::ReadBool | ( | const tstring & | strSection, |
const tstring & | strEntry, | ||
bool | bDefault | ||
) | const |
CRect CIniFile::ReadRect | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
const CRect & | rcDefault | ||
) | const |
void CIniFile::WriteString | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
const tchar * | pszValue | ||
) |
void CIniFile::WriteString | ( | const tstring & | strSection, |
const tstring & | strEntry, | ||
const tstring & | strValue | ||
) |
void CIniFile::WriteInt | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
int | nValue | ||
) |
void CIniFile::WriteUInt | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
uint | nValue | ||
) |
void CIniFile::WriteLong | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
long | lValue | ||
) |
void CIniFile::WriteBool | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
bool | bValue | ||
) |
void CIniFile::WriteRect | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
const CRect & | rcValue | ||
) |
void CIniFile::DeleteEntry | ( | const tchar * | pszSection, |
const tchar * | pszEntry | ||
) |
CStrArray CIniFile::ReadStrings | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
tchar | cSep, | ||
const tchar * | pszDefault | ||
) | const |
void CIniFile::WriteStrings | ( | const tchar * | pszSection, |
const tchar * | pszEntry, | ||
tchar | cSep, | ||
const CStrArray & | astrValues | ||
) |
size_t CIniFile::ReadSectionNames | ( | CStrArray & | astrNames | ) |
size_t CIniFile::ReadSection | ( | const tchar * | pszSection, |
CStrArray & | astrEntries | ||
) |
size_t CIniFile::ReadSection | ( | const tchar * | pszSection, |
CStrArray & | astrKeys, | ||
CStrArray & | astrValues | ||
) |
void CIniFile::DeleteSection | ( | const tchar * | pszSection | ) |