|
Public Member Functions |
| RegKey (HKEY base, const std::string &pathname, bool bCreate=true) throw (SysError) |
virtual | ~RegKey () |
std::list< std::string > | getSubkeys () const throw (SysError) |
void | erase () throw (SysError) |
std::string | getValue (const std::string &valueName) const throw (SysError) |
DWORD | getDwordValue (const std::string &valueName) const throw (SysError) |
BYTE * | getBinaryValue (const std::string &valueName, BYTE *buf, DWORD dwBufSize) const throw (SysError) |
DWORD | getBinarySize (const std::string &valueName) |
void | setValue (const std::string &valueName, const std::string &value) throw (SysError) |
void | setValue (const std::string &valueName, DWORD value) throw (SysError) |
void | setValue (const std::string &valueName, const BYTE *buf, DWORD dwBufSize) throw (SysError) |
void | eraseValue (const std::string &valueName) throw (SysError) |
std::list< std::pair< std::string,
std::string > > | getValues () const throw (SysError) |
RegKey | createSubkey (const std::string &name) throw (SysError) |
| operator HKEY () const |
bool | hasValue (const std::string &name) const throw (SysError) |
Private Member Functions |
size_t | readRawData (const std::string &valueName, BYTE *buf, DWORD bufsize) const throw (SysError) |
Private Attributes |
RefCounted< HKEYWrapper > | m_hkey |
RefCounted< HKEYWrapper > | m_hkeyfather |
std::string | m_name |
Classes |
class | HKEYWrapper |