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

::

template< typename ValueType >

## class RegistryValueList

Base Classes
  None.

Known Derived Classes
  None.

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

Summary
  RegistryValueList represents a value list of the specified type.
Description
  RegistryValueList is a helper class to work with a list value.

File
  registry.hxx

### Public Members

  #### Methods
  RegistryValueList( ); | Default constructor
  ~RegistryValueList( ); | Destructor, the internal value list will be freed.
  ValueType getElement( sal_uInt32 index ); | returns the value of the list specified by index.
  sal_uInt32 getLength( ); | returns the length of the list.

### Protected Members

  #### Methods
  void setValueList( Registry & registry, RegValueType valueType, ValueType * pValueList, sal_uInt32 length ); | sets the data of the value list.

  #### Data
  sal_uInt32 m_length; | stores the length of the list, the number of elements.
  ValueType * m_pValueList; | stores the value list.
  RegValueType m_valueType; | stores the type of the list elements
  Registry m_registry; | stores the handle to the registry file where the appropriate key to this value is located.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.