UDK 3.2.7 C/C++ API Reference
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
RegistryKeyNames Class Reference

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

#include <registry.hxx>

List of all members.

Public Member Functions

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

Protected Member Functions

void setKeyNames (Registry &registry, rtl_uString **pKeyNames, sal_uInt32 length)
 sets the data of the array.
RegError freeKeyNames ()
 delete the array of key names.

Protected Attributes

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

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.


Constructor & Destructor Documentation

RegistryKeyNames::RegistryKeyNames ( ) [inline]

Default constructor.

RegistryKeyNames::~RegistryKeyNames ( ) [inline]

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


Member Function Documentation

RegError RegistryKeyNames::freeKeyNames ( ) [inline, protected]

delete the array of key names.

rtl::OUString RegistryKeyNames::getElement ( sal_uInt32  index) [inline]

returns the name of the key sepecified by index.

sal_uInt32 RegistryKeyNames::getLength ( ) [inline]

returns the length of the array.

void RegistryKeyNames::setKeyNames ( Registry registry,
rtl_uString **  pKeyNames,
sal_uInt32  length 
) [inline, protected]

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.

Friends And Related Function Documentation

friend class RegistryKey [friend]

Member Data Documentation

sal_uInt32 RegistryKeyNames::m_length [protected]

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

rtl_uString** RegistryKeyNames::m_pKeyNames [protected]

stores an array of key names.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines