![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cIniSection.h>
Public Member Functions | |
cIniWriter (cStreamOutput *pOut) | |
HRESULT | WriteSectionHead0 (const IniChar_t *pszSectionData) |
HRESULT | WriteSectionHead1 (const IniChar_t *pszSectionType, const IniChar_t *pszSectionName) |
HRESULT | WriteSectionHead1Q (const IniChar_t *pszSection, const IniChar_t *pszArg) |
HRESULT _cdecl | WriteSectionHeadFormat (const IniChar_t *pszSectionType, const IniChar_t *pszArgFormat,...) |
HRESULT | WriteKeyUnk (const IniChar_t *pszKey, const IniChar_t *pszData) |
HRESULT | WriteKeyStrQ (const IniChar_t *pszKey, const IniChar_t *pszVal) |
HRESULT | WriteKeyInt (const IniChar_t *pszKey, int nVal) |
HRESULT | WriteKeyUInt (const IniChar_t *pszKey, UINT nVal) |
Protected Attributes | |
cStreamOutput * | m_pOut |
write out to this stream. More... | |
bool | m_bStartedSection |
Must write a newline to close the previous section when we start a new one. More... | |
Helper for writing an INI file/stream. similar to IScriptableSetter
|
inline |
Write a quoted/escaped string.
Write raw/naked string value to file.
Write Raw section header data. Write a section header with no arguments. pszSectionTitle = "SECTIONTYPE SECTIONNAME"
HRESULT Gray::cIniWriter::WriteSectionHead1 | ( | const IniChar_t * | pszSectionType, |
const IniChar_t * | pszSectionName | ||
) |
Write a section header with a raw (NOT quoted) argument.
HRESULT Gray::cIniWriter::WriteSectionHead1Q | ( | const IniChar_t * | pszSection, |
const IniChar_t * | pszArg | ||
) |
Write a section header with a quoted/escaped argument.
HRESULT _cdecl Gray::cIniWriter::WriteSectionHeadFormat | ( | const IniChar_t * | pszSectionType, |
const IniChar_t * | pszArgFormat, | ||
... | |||
) |
Write out the section header.
|
protected |
Must write a newline to close the previous section when we start a new one.
|
protected |
write out to this stream.