RegistryKeyArray represents an array of open keys. More...
#include <registry.hxx>
Public Member Functions | |
| RegistryKeyArray () | |
| Default constructor. | |
| ~RegistryKeyArray () | |
| Destructor, all subkeys will be closed. | |
| RegistryKey | getElement (sal_uInt32 index) |
| returns the open key specified by index. | |
| sal_uInt32 | getLength () |
| returns the length of the array. | |
Protected Member Functions | |
| void | setKeyHandles (Registry ®istry, RegKeyHandle *phKeys, sal_uInt32 length) |
| sets the data of the key array. | |
| RegError | closeKeyHandles () |
| close all subkeys | |
Protected Attributes | |
| sal_uInt32 | m_length |
| stores the number of open subkeys, the number of elements. | |
| RegKeyHandle * | m_phKeys |
| stores an array of open subkeys. | |
| Registry | m_registry |
| stores the handle to the registry file where the appropriate keys are located. | |
Friends | |
| class | RegistryKey |
RegistryKeyArray represents an array of open keys.
RegistryKeyArray is a helper class to work with an array of keys.
| RegistryKeyArray::RegistryKeyArray | ( | ) | [inline] |
Default constructor.
| RegistryKeyArray::~RegistryKeyArray | ( | ) | [inline] |
Destructor, all subkeys will be closed.
| RegError RegistryKeyArray::closeKeyHandles | ( | ) | [inline, protected] |
close all subkeys
| RegistryKey RegistryKeyArray::getElement | ( | sal_uInt32 | index | ) | [inline] |
returns the open key specified by index.
| sal_uInt32 RegistryKeyArray::getLength | ( | ) | [inline] |
returns the length of the array.
| void RegistryKeyArray::setKeyHandles | ( | Registry & | registry, | |
| RegKeyHandle * | phKeys, | |||
| sal_uInt32 | length | |||
| ) | [inline, protected] |
sets the data of the key array.
| registry | specifies the registry files where the keys are located. | |
| phKeys | points to an array of open keys. | |
| length | specifies the length of the array specified by phKeys. |
friend class RegistryKey [friend] |
sal_uInt32 RegistryKeyArray::m_length [protected] |
stores the number of open subkeys, the number of elements.
RegKeyHandle* RegistryKeyArray::m_phKeys [protected] |
stores an array of open subkeys.
Registry RegistryKeyArray::m_registry [protected] |
stores the handle to the registry file where the appropriate keys are located.
1.6.1