The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


::

class RegistryKeyArray


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
RegistryKeyArray represents an array of open keys.
Description
RegistryKeyArray is a helper class to work with an array of keys.
File
registry.hxx

Public Members

Methods


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 Members

Methods

void
setKeyHandles( Registry & registry, RegKeyHandle * phKeys, sal_uInt32 length );
sets the data of the key array.
RegError
closeKeyHandles( );
close all subkeys

Data

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.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.