reg_key Class Reference

#include <shared.h>


Public Member Functions

 reg_key (HKEY toplev, REGSAM access,...)
 reg_key (REGSAM access,...)
 reg_key (REGSAM access=KEY_ALL_ACCESS)
void * operator new (size_t, void *p)
void build_reg (HKEY key, REGSAM access, va_list av)
int error ()
int kill (const char *child)
int killvalue (const char *name)
HKEY get_key ()
int get_int (const char *, int def)
int get_string (const char *, char *buf, size_t len, const char *def)
int set_string (const char *, const char *)
int set_int (const char *, int val)
 ~reg_key ()

Private Attributes

HKEY key
LONG key_is_invalid


Detailed Description

Definition at line 231 of file shared.h.


Constructor & Destructor Documentation

reg_key::reg_key HKEY  toplev,
REGSAM  access,
  ...
 

reg_key::reg_key REGSAM  access,
  ...
 

reg_key::reg_key REGSAM  access = KEY_ALL_ACCESS  ) 
 

reg_key::~reg_key  ) 
 


Member Function Documentation

void reg_key::build_reg HKEY  key,
REGSAM  access,
va_list  av
 

int reg_key::error  )  [inline]
 

Definition at line 247 of file shared.h.

References key.

int reg_key::get_int const char *  ,
int  def
 

HKEY reg_key::get_key  ) 
 

int reg_key::get_string const char *  ,
char *  buf,
size_t  len,
const char *  def
 

int reg_key::kill const char *  child  ) 
 

int reg_key::killvalue const char *  name  ) 
 

void* reg_key::operator new size_t  ,
void *  p
[inline]
 

Definition at line 244 of file shared.h.

int reg_key::set_int const char *  ,
int  val
 

int reg_key::set_string const char *  ,
const char * 
 


Field Documentation

HKEY reg_key::key [private]
 

Definition at line 235 of file shared.h.

Referenced by error().

LONG reg_key::key_is_invalid [private]
 

Definition at line 236 of file shared.h.


The documentation for this class was generated from the following file:
Generated on Sun Mar 12 23:56:39 2006 for ScriptBasic by  doxygen 1.4.6-NO