Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
Registry( ); |
Default constructor. |
Registry( const Registry & toCopy ); |
Copy constructcor |
~Registry( ); |
Destructor. The Destructor close the registry if it is open. |
Registry & operator=( const Registry & toAssign ); |
Assign operator |
sal_Bool isValid( ) const; |
checks if the registry points to a valid registry data file. |
sal_Bool isReadOnly( ) const; |
returns the access mode of the registry. |
RegError openRootKey( RegistryKey & rRootKey ); |
opens the root key of the registry. |
::rtl::OUString getName( ); |
returns the name of the current registry data file. |
RegError create( const ::rtl::OUString & registryName ); |
creates a new registry with the specified name and creates a root key. |
RegError open( const ::rtl::OUString & registryName, RegAccessMode accessMode ); |
opens a registry with the specified name. |
RegError close( ); |
closes explicitly the current registry data file. |
RegError destroy( const ::rtl::OUString & registryName ); |
destroys a registry. |
RegError loadKey( RegistryKey & rKey, const ::rtl::OUString & keyName, const ::rtl::OUString & regFileName ); |
loads registry information from a specified file and save it under the specified keyName. |
RegError saveKey( RegistryKey & rKey, const ::rtl::OUString & keyName, const ::rtl::OUString & regFileName ); |
saves the registry information of the specified key and all subkeys and save it in the specified file. |
RegError mergeKey( RegistryKey & rKey, const ::rtl::OUString & keyName, const ::rtl::OUString & regFileName, sal_Bool bWarnings = sal_False, sal_Bool bReport = sal_False ); |
merges the registry information of the specified key with the registry information of the specified file. |
RegError dumpRegistry( RegistryKey & rKey ); |
This function reports the complete registry information of a key and all of its subkeys. |
const Registry_Api * getApi( ); |
returns the used registry Api. |
Data |
|
const Registry_Api * m_pApi; | stores the used and initialized registry Api. |
RegHandle m_hImpl; | stores the handle of the underlying registry file on which most of the functions work. |
Copyright © 2000, 2018 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.