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

GRegKey Class Reference

Registry access class. More...

#include <LgiOsClasses.h>

List of all members.

Public Member Functions

 GRegKey (char *Key,...)
 Constructor.
bool IsOk ()
 Returns true if the key was openned.
bool Create ()
 Creates the key if not present.
char * Name ()
 Returns the key name.
char * GetStr (char *Name=0)
 Return a string value.
bool SetStr (char *Name, char *Value)
 Sets a string value.
int GetInt (char *Name=0)
 Get an int value.
bool SetInt (char *Name, int Value)
 Set an int value.
bool GetBinary (char *Name, void *&Ptr, int &Len)
 Get a binary value.
bool SetBinary (char *Name, void *Ptr, int Len)
 Set a binary value.
bool DeleteValue (char *Name=0)
 Delete a value.
bool DeleteKey ()
 Delete a key.
bool GetKeyNames (List< char > &n)
 List all the key names under this key.
bool GetValueNames (List< char > &n)
 List all the key value name under this key.


Detailed Description

Registry access class.


Constructor & Destructor Documentation

GRegKey::GRegKey char *  Key,
  ...
 

Constructor.

Parameters:
Key  The key name: you can use printf style syntax and extra arguments


Member Function Documentation

char * GRegKey::GetStr char *  Name = 0  ) 
 

Return a string value.

Parameters:
Name  Name of the subkey or NULL for the default string.


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 14:47:02 2005 for Lgi by  doxygen 1.4.1