![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAppConfigSection.h>
Public Member Functions | |
cAppConfigSection (cAppConfigX &cfg, cStringA sSection="") | |
virtual | ~cAppConfigSection (void) |
void | put_Section (cStringA sSection) |
HRESULT | ReadStrings (cArrayString< GChar_t > &log) |
HRESULT | WriteStrings (const cArrayString< GChar_t > &log) |
STDMETHOD() | s_Put (const ATOMCHAR_t *pszPropName, const cVariant &vValSet) |
STDMETHOD() | s_GetByName (const ATOMCHAR_t *pszPropName, OUT cVariant &vValRet) |
UNITTEST2_PREDEF (cAppConfigSection) | |
a section in the official windows app profile. via MFC CWinApp or cAppConfigX Similar to use of cIniObject/cIniMap. IIniBaseSetter, IIniBaseGetter
GrayLib::cAppConfigSection::cAppConfigSection | ( | cAppConfigX & | cfg, |
cStringA | sSection = "" |
||
) |
|
virtual |
|
inline |
Point to some other section in the Config file.
HRESULT GrayLib::cAppConfigSection::ReadStrings | ( | cArrayString< GChar_t > & | log | ) |
Just read the body of the section as a bunch of strings. Ignore keys.
HRESULT GrayLib::cAppConfigSection::s_GetByName | ( | const ATOMCHAR_t * | pszPropName, |
OUT cVariant & | vValRet | ||
) |
read a key from App.INI file or registry.
HRESULT GrayLib::cAppConfigSection::s_Put | ( | const ATOMCHAR_t * | pszPropName, |
const cVariant & | vValSet | ||
) |
Write a key to App.INI file or registry
GrayLib::cAppConfigSection::UNITTEST2_PREDEF | ( | cAppConfigSection | ) |
HRESULT GrayLib::cAppConfigSection::WriteStrings | ( | const cArrayString< GChar_t > & | log | ) |
Write a bunch of strings as my section body.