RegistryKeyNames represents an array of key names. More...
#include <registry.hxx>
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 ®istry, 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 |
RegistryKeyNames represents an array of key names.
RegistryKeyNames is a helper class to work with an array of key names.
| RegistryKeyNames::RegistryKeyNames | ( | ) | [inline] |
Default constructor.
| RegistryKeyNames::~RegistryKeyNames | ( | ) | [inline] |
Destructor, the internal array with key names will be deleted.
| 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.
| registry | specifies the registry files where the keys are located. | |
| pKeyNames | points to an array of key names. | |
| length | specifies the length of the array specified by pKeyNames. |
friend class RegistryKey [friend] |
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.
Registry RegistryKeyNames::m_registry [protected] |
stores the handle to the registry file where the appropriate keys are located.
1.6.1