coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

CRegProfile Class Template Reference

CRegProfile is a simple wrapper to access the registry more easily. More...

#include <RegProfile.h>

Inheritance diagram for CRegProfile

Inheritance graph
[legend]
List of all members.

Public Methods

bool Open (HKEY hKeyParent,LPCTSTR lpszKeyName)
bool Create (HKEY hKeyParent,LPCTSTR lpszKeyName)
void Close ()
 operator HKEY ()const
int Read (LPCTSTR lpszKeyName,int nDefault)
long Read (LPCTSTR lpszKeyName,long nDefault)
bool Read (LPCTSTR lpszKeyName,bool bDefault)
tstring Read (LPCTSTR lpszKeyName,LPCTSTR szDefault)
void Read (LPCTSTR lpszKeyName,LPCTSTR szDefault,tstring &rValue)
bool Write (LPCTSTR lpszKeyName,int nValue)
bool Write (LPCTSTR lpszKeyName,long nValue)
bool Write (LPCTSTR lpszKeyName,const tstring &szValue)
bool Write (LPCTSTR lpszKeyName,bool bValue)

Protected Methods

long ReadLong (LPCTSTR lpszKeyName,long nDefault)
void ReadString (LPCTSTR lpszKeyName,LPCTSTR szDefault,tstring &rValue)

Detailed Description

template<class T> class CRegProfile

CRegProfile is a simple wrapper to access the registry more easily.


The documentation for this class was generated from the following file:
  • RegProfile.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: