Overview | Namespace | Class | Index | Help

PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA
PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA

::

## class RegistryKeyArray

Base Classes
  None.

Known Derived Classes
  None.

virtual | abstract | interface | template
NO | NO | NO | NO

Summary
  RegistryKeyArray represents an array of open keys.
Description
  RegistryKeyArray is a helper class to work with an array of keys.

File
  registry.hxx

### Public Members

  #### Methods
  RegistryKeyArray( ); | Default constructor
  ~RegistryKeyArray( ); | Destructor, all subkeys will be closed.
  RegistryKey getElement( sal_uInt32 index ); | returns the open key specified by index.
  sal_uInt32 getLength( ); | returns the length of the array.

### Protected Members

  #### Methods
  void setKeyHandles( Registry & registry, RegKeyHandle * phKeys, sal_uInt32 length ); | sets the data of the key array.
  RegError closeKeyHandles( ); | close all subkeys

  #### Data
  sal_uInt32 m_length; | stores the number of open subkeys, the number of elements.
  RegKeyHandle * m_phKeys; | stores an array of open subkeys.
  Registry m_registry; | stores the handle to the registry file where the appropriate keys are located.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.