LibreOffice Module registry (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
RegistryKeyNames Class Reference

RegistryKeyNames represents an array of key names. More...

#include <registry.hxx>

Collaboration diagram for RegistryKeyNames:
[legend]

Public Member Functions

 RegistryKeyNames ()
 Default constructor. More...
 
 ~RegistryKeyNames ()
 Destructor, the internal array with key names will be deleted. More...
 
OUString getElement (sal_uInt32 index)
 returns the name of the key specified by index. More...
 
sal_uInt32 getLength () const
 returns the length of the array. More...
 

Protected Member Functions

void setKeyNames (Registry const &registry, rtl_uString **pKeyNames, sal_uInt32 length)
 sets the data of the array. More...
 

Private Attributes

sal_uInt32 m_length
 stores the number of key names, the number of elements. More...
 
rtl_uString ** m_pKeyNames
 stores an array of key names. More...
 
Registry m_registry
 stores the handle to the registry file where the appropriate keys are located. More...
 

Friends

class RegistryKey
 

Detailed Description

RegistryKeyNames represents an array of key names.

RegistryKeyNames is a helper class to work with an array of key names.

Definition at line 233 of file registry.hxx.

Constructor & Destructor Documentation

RegistryKeyNames::RegistryKeyNames ( )
inline

Default constructor.

Definition at line 608 of file registry.hxx.

RegistryKeyNames::~RegistryKeyNames ( )
inline

Destructor, the internal array with key names will be deleted.

Definition at line 614 of file registry.hxx.

References m_length, Registry::m_pApi, m_pKeyNames, and m_registry.

Member Function Documentation

OUString RegistryKeyNames::getElement ( sal_uInt32  index)
inline

returns the name of the key specified by index.

Definition at line 620 of file registry.hxx.

References m_length, and m_pKeyNames.

sal_uInt32 RegistryKeyNames::getLength ( ) const
inline

returns the length of the array.

Definition at line 629 of file registry.hxx.

References m_length.

void RegistryKeyNames::setKeyNames ( Registry const &  registry,
rtl_uString **  pKeyNames,
sal_uInt32  length 
)
inlineprotected

sets the data of the array.

Parameters
registryspecifies the registry files where the keys are located.
pKeyNamespoints to an array of key names.
lengthspecifies the length of the array specified by pKeyNames.

Definition at line 634 of file registry.hxx.

References m_length, m_pKeyNames, and m_registry.

Referenced by RegistryKey::getKeyNames().

Friends And Related Function Documentation

friend class RegistryKey
friend

Definition at line 248 of file registry.hxx.

Member Data Documentation

sal_uInt32 RegistryKeyNames::m_length
private

stores the number of key names, the number of elements.

Definition at line 259 of file registry.hxx.

Referenced by getElement(), getLength(), setKeyNames(), and ~RegistryKeyNames().

rtl_uString** RegistryKeyNames::m_pKeyNames
private

stores an array of key names.

Definition at line 261 of file registry.hxx.

Referenced by getElement(), setKeyNames(), and ~RegistryKeyNames().

Registry RegistryKeyNames::m_registry
private

stores the handle to the registry file where the appropriate keys are located.

Definition at line 263 of file registry.hxx.

Referenced by setKeyNames(), and ~RegistryKeyNames().


The documentation for this class was generated from the following file: