#include <vtkKWRegistryHelper.h>
Inheritance diagram for vtkKWRegistryHelper:

[NOHEADER] | |
| vtkTypeRevisionMacro (vtkKWRegistryHelper, vtkObject) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| vtkKWRegistryHelper * | New () |
Public Types | |
| enum | { ReadOnly, ReadWrite } |
| enum | { RegistryKeyValueSizeMax = 8192, RegistryKeyNameSizeMax = 100 } |
Public Member Functions | |
| int | DeleteKey (const char *subkey, const char *key) |
| int | DeleteValue (const char *subkey, const char *key) |
| int | Close () |
| int | ReadValue (const char *subkey, const char *key, char *value) |
| int | SetValue (const char *subkey, const char *key, const char *value) |
| int | Open (const char *toplevel, const char *subkey, int readonly) |
| virtual void | SetGlobalScope (int) |
| virtual void | GlobalScopeOn () |
| virtual void | GlobalScopeOff () |
| virtual int | GetGlobalScope () |
| virtual void | SetTopLevel (const char *) |
| virtual char * | GetTopLevel () |
| virtual int | GetOpened () |
| virtual int | GetLocked () |
Protected Member Functions | |
| vtkKWRegistryHelper () | |
| virtual | ~vtkKWRegistryHelper () |
| virtual int | ReadValueInternal (const char *key, char *value)=0 |
| virtual int | DeleteKeyInternal (const char *key)=0 |
| virtual int | DeleteValueInternal (const char *key)=0 |
| virtual int | CloseInternal ()=0 |
| int | IsSpace (char c) |
| char * | Strip (char *str) |
| virtual void | SetLocked (int) |
| virtual void | LockedOn () |
| virtual void | LockedOff () |
| virtual int | SetValueInternal (const char *key, const char *value)=0 |
| virtual int | OpenInternal (const char *toplevel, const char *subkey, int readonly)=0 |
Protected Attributes | |
| int | Opened |
| int | Changed |
| int | Empty |
This class abstracts the storing of data that can be restored when the program executes again. On Win32 platform it is implemented using the registry and on unix as a file in the user's home directory.
Definition at line 29 of file vtkKWRegistryHelper.h.
|
|
Definition at line 92 of file vtkKWRegistryHelper.h. |
|
|
Definition at line 97 of file vtkKWRegistryHelper.h. |
|
|
|
|
|
|
|
|
Standard New and type methods Reimplemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
||||||||||||
|
|
|
||||||||||||
|
Reimplemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
||||||||||||||||
|
Read a value from the registry. |
|
||||||||||||
|
Delete a key from the registry. |
|
||||||||||||
|
Delete a value from a given key. |
|
||||||||||||||||
|
Set value in a given key. |
|
||||||||||||||||
|
Open the registry at toplevel/subkey. |
|
|
Close the registry. |
|
|
Read from local or global scope. On Windows this mean from local machine or local user. On unix this will read from $HOME/.Projectrc or /etc/Project |
|
|
Read from local or global scope. On Windows this mean from local machine or local user. On unix this will read from $HOME/.Projectrc or /etc/Project |
|
|
Read from local or global scope. On Windows this mean from local machine or local user. On unix this will read from $HOME/.Projectrc or /etc/Project |
|
|
Read from local or global scope. On Windows this mean from local machine or local user. On unix this will read from $HOME/.Projectrc or /etc/Project |
|
|
Set or get the toplevel registry key. |
|
|
Set or get the toplevel registry key. |
|
|
Return true if registry opened |
|
|
Should the registry be locked? |
|
|
Should the registry be locked? |
|
|
Should the registry be locked? |
|
|
Should the registry be locked? |
|
||||||||||||
|
Read a value from the registry. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
|
Delete a key from the registry. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
|
Delete a value from a given key. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
||||||||||||
|
Set value in a given key. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
||||||||||||||||
|
Open the registry at toplevel/subkey. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
|
Close the registry. Implemented in vtkKWUNIXRegistryHelper, and vtkKWWin32RegistryHelper. |
|
|
Return true if the character is space. |
|
|
Strip trailing and ending spaces. |
|
|
Definition at line 145 of file vtkKWRegistryHelper.h. |
|
|
Definition at line 146 of file vtkKWRegistryHelper.h. |
|
|
Definition at line 147 of file vtkKWRegistryHelper.h. |
1.3.5