dcl
Class RegIniFile
Object
|
+--IniFile
|
+--RegIniFile
in IniFile.h
- class RegIniFile
- extends IniFile
Constructor Summary |
RegIniFile( HKEY hParentKey, const String& strKey )
|
Method Summary |
virtual void |
close()
|
virtual int |
getInteger( const String& strSection, const String& strEntry, int nDefault )
|
virtual String |
getString( const String& strSection, const String& strEntry, const wchar_t* pszDefault = NULL )
|
virtual void |
setValue( const String& strSection, const String& strEntry, int nValue )
|
virtual void |
setValue( const String& strSection, const String& strEntry, const String& strValue )
|
m_reg
protected Registry m_reg;
RegIniFile
public RegIniFile( HKEY hParentKey, const String& strKey ) throw( IOException* );
close
public virtual void close() throw( IOException* );
getInteger
public virtual int getInteger( const String& strSection, const String& strEntry, int nDefault ) throw( IOException* );
getString
public virtual String getString( const String& strSection, const String& strEntry, const wchar_t* pszDefault = NULL ) throw( IOException* );
setValue
public virtual void setValue( const String& strSection, const String& strEntry, int nValue ) throw( IOException* );
setValue
public virtual void setValue( const String& strSection, const String& strEntry, const String& strValue ) throw( IOException* );