LibreOffice Module registry (master) 1
Public Member Functions | Private 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...
 

Private 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 214 of file registry.hxx.

Constructor & Destructor Documentation

◆ RegistryKeyNames()

RegistryKeyNames::RegistryKeyNames ( )
inline

Default constructor.

Definition at line 587 of file registry.hxx.

◆ ~RegistryKeyNames()

RegistryKeyNames::~RegistryKeyNames ( )
inline

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

Definition at line 593 of file registry.hxx.

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

Member Function Documentation

◆ getElement()

OUString RegistryKeyNames::getElement ( sal_uInt32  index)
inline

returns the name of the key specified by index.

Definition at line 599 of file registry.hxx.

References index, m_length, and m_pKeyNames.

◆ getLength()

sal_uInt32 RegistryKeyNames::getLength ( ) const
inline

returns the length of the array.

Definition at line 608 of file registry.hxx.

References m_length.

◆ setKeyNames()

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

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 613 of file registry.hxx.

References length, m_length, m_pKeyNames, and m_registry.

Referenced by RegistryKey::getKeyNames().

Friends And Related Function Documentation

◆ RegistryKey

friend class RegistryKey
friend

Definition at line 229 of file registry.hxx.

Member Data Documentation

◆ m_length

sal_uInt32 RegistryKeyNames::m_length
private

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

Definition at line 241 of file registry.hxx.

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

◆ m_pKeyNames

rtl_uString** RegistryKeyNames::m_pKeyNames
private

stores an array of key names.

Definition at line 243 of file registry.hxx.

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

◆ m_registry

Registry RegistryKeyNames::m_registry
private

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

Definition at line 245 of file registry.hxx.

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


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