LibreOffice Module registry (master) 1
|
RegistryKeyArray represents an array of open keys. More...
#include <registry.hxx>
Public Member Functions | |
RegistryKeyArray () | |
Default constructor. More... | |
~RegistryKeyArray () | |
Destructor, all subkeys will be closed. More... | |
RegistryKey | getElement (sal_uInt32 index) |
returns the open key specified by index. More... | |
sal_uInt32 | getLength () const |
returns the length of the array. More... | |
Private Member Functions | |
void | setKeyHandles (Registry const ®istry, RegKeyHandle *phKeys, sal_uInt32 length) |
sets the data of the key array. More... | |
Private Attributes | |
sal_uInt32 | m_length |
stores the number of open subkeys, the number of elements. More... | |
RegKeyHandle * | m_phKeys |
stores an array of open subkeys. More... | |
Registry | m_registry |
stores the handle to the registry file where the appropriate keys are located. More... | |
Friends | |
class | RegistryKey |
RegistryKeyArray represents an array of open keys.
RegistryKeyArray is a helper class to work with an array of keys.
Definition at line 175 of file registry.hxx.
|
inline |
Default constructor.
Definition at line 553 of file registry.hxx.
|
inline |
Destructor, all subkeys will be closed.
Definition at line 559 of file registry.hxx.
References m_length, Registry::m_pApi, m_phKeys, and m_registry.
|
inline |
returns the open key specified by index.
Definition at line 565 of file registry.hxx.
References index, Registry::isValid(), m_length, m_phKeys, m_registry, and RegistryKey.
|
inline |
|
inlineprivate |
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. |
Definition at line 578 of file registry.hxx.
References length, m_length, m_phKeys, and m_registry.
Referenced by RegistryKey::openSubKeys().
|
friend |
Definition at line 190 of file registry.hxx.
Referenced by getElement().
|
private |
stores the number of open subkeys, the number of elements.
Definition at line 202 of file registry.hxx.
Referenced by getElement(), getLength(), setKeyHandles(), and ~RegistryKeyArray().
|
private |
stores an array of open subkeys.
Definition at line 204 of file registry.hxx.
Referenced by getElement(), setKeyHandles(), and ~RegistryKeyArray().
|
private |
stores the handle to the registry file where the appropriate keys are located.
Definition at line 206 of file registry.hxx.
Referenced by getElement(), setKeyHandles(), and ~RegistryKeyArray().