Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RegKey Class Reference

#include <regkey.h>

List of all members.

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)
BYTEgetBinaryValue (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< HKEYWrapperm_hkey
RefCounted< HKEYWrapperm_hkeyfather
std::string m_name


class  HKEYWrapper

Constructor & Destructor Documentation

RegKey::RegKey HKEY  base,
const std::string &  pathname,
bool  bCreate = true
throw (SysError)

virtual RegKey::~RegKey  )  [inline, virtual]

Member Function Documentation

RegKey RegKey::createSubkey const std::string &  name  )  throw (SysError)

void RegKey::erase  )  throw (SysError)

void RegKey::eraseValue const std::string &  valueName  )  throw (SysError)

DWORD RegKey::getBinarySize const std::string &  valueName  ) 

BYTE* RegKey::getBinaryValue const std::string &  valueName,
BYTE buf,
DWORD  dwBufSize
const throw (SysError)

DWORD RegKey::getDwordValue const std::string &  valueName  )  const throw (SysError)

std::list< string > RegKey::getSubkeys  )  const throw (SysError)

std::string RegKey::getValue const std::string &  valueName  )  const throw (SysError)

list< pair< string, string > > RegKey::getValues  )  const throw (SysError)

bool RegKey::hasValue const std::string &  name  )  const throw (SysError)

RegKey::operator HKEY  )  const

size_t RegKey::readRawData const std::string &  valueName,
BYTE buf,
DWORD  bufsize
const throw (SysError) [private]

void RegKey::setValue const std::string &  valueName,
const BYTE buf,
DWORD  dwBufSize
throw (SysError)

void RegKey::setValue const std::string &  valueName,
DWORD  value
throw (SysError)

void RegKey::setValue const std::string &  valueName,
const std::string &  value
throw (SysError)

Member Data Documentation

RefCounted<HKEYWrapper> RegKey::m_hkey [private]

RefCounted<HKEYWrapper> RegKey::m_hkeyfather [private]

std::string RegKey::m_name [private]

The documentation for this class was generated from the following files:
Generated on Thu Jun 16 00:13:15 2005 for Netlib for Abuse! by  doxygen 1.4.3