Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 8753

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>class Registry</title>
<link rel="stylesheet" type="text/css" href="../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<font size="-2">METHODS</font>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#prot_vars"><font size="-2"><b>DATA</b></font></a>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <div class="title"><h2>class Registry</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd>None.</dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd>None.</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Summary</dt>
<dd>The Registry provides the functionality to read and write information in a registry file.

</dd>
<dt>Description</dt>
<dd>The class is implemented inline and use a C-Api.
</dd>
</dl>
<dl>
<dt>File</dt>
<dd>registry.hxx</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="Registry/o.html#Registry-2115">Registry</a>( );</td>
<td width="50%"> Default constructor.
</td>
</tr>
<tr>
<td> <br>
<a href="Registry/o.html#Registry-2116">Registry</a>( const Registry &amp; toCopy );</td>
<td width="50%"> Copy constructcor</td>
</tr>
<tr>
<td> <br>
<a href="Registry/o.html#~Registry-2117">~Registry</a>( );</td>
<td width="50%"> Destructor. The Destructor close the registry if it is open.</td>
</tr>
<tr>
<td>Registry &amp; <br>
<a href="Registry/o.html#operator=-2118">operator=</a>( const Registry &amp; toAssign );</td>
<td width="50%"> Assign operator</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Registry/o.html#isValid-2119">isValid</a>( ) const;</td>
<td width="50%"> checks if the registry points to a valid registry data file.</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Registry/o.html#isReadOnly-2120">isReadOnly</a>( ) const;</td>
<td width="50%"> returns the access mode of the registry.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#openRootKey-2121">openRootKey</a>( RegistryKey &amp; rRootKey );</td>
<td width="50%"> opens the root key of the registry.

</td>
</tr>
<tr>
<td>::rtl::OUString <br>
<a href="Registry/o.html#getName-2122">getName</a>( );</td>
<td width="50%"> returns the name of the current registry data file.</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#create-2123">create</a>( const ::rtl::OUString &amp; registryName );</td>
<td width="50%"> creates a new registry with the specified name and creates a root key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#open-2124">open</a>( const ::rtl::OUString &amp; registryName, RegAccessMode accessMode );</td>
<td width="50%"> opens a registry with the specified name.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#close-2125">close</a>( );</td>
<td width="50%"> closes explicitly the current registry data file.</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#destroy-2126">destroy</a>( const ::rtl::OUString &amp; registryName );</td>
<td width="50%"> destroys a registry.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#loadKey-2127">loadKey</a>( RegistryKey &amp; rKey, const ::rtl::OUString &amp; keyName, const ::rtl::OUString &amp; regFileName );</td>
<td width="50%"> loads registry information from a specified file and save it under the 
specified keyName.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#saveKey-2128">saveKey</a>( RegistryKey &amp; rKey, const ::rtl::OUString &amp; keyName, const ::rtl::OUString &amp; regFileName );</td>
<td width="50%"> saves the registry information of the specified key and all subkeys and save 
it in the specified file.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#mergeKey-2129">mergeKey</a>( RegistryKey &amp; rKey, const ::rtl::OUString &amp; keyName, const ::rtl::OUString &amp; regFileName, sal_Bool bWarnings = sal_False, sal_Bool bReport = sal_False );</td>
<td width="50%"> merges the registry information of the specified key with the registry 
information of the specified file.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="Registry/o.html#dumpRegistry-2130">dumpRegistry</a>( RegistryKey &amp; rKey );</td>
<td width="50%"> This function reports the complete registry information of a key and all of its subkeys.

</td>
</tr>
<tr>
<td>const Registry_Api * <br>
<a href="Registry/o.html#getApi-2131">getApi</a>( );</td>
<td width="50%"> returns the used registry Api.</td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="prot_"><h3>Protected Members</h3>
</a></dt>
<dd><a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Data</h4>
</td>
</tr>
<tr bgcolor="white">
<td>const <a href="c-Registry_Api.html">Registry_Api</a> * <a href="Registry/d.html#m_pApi"><strong>m_pApi;</strong></a></td>
<td>stores the used and initialized registry Api.</td>
</tr>
<tr bgcolor="white">
<td><a href="t-RegHandle.html">RegHandle</a> <a href="Registry/d.html#m_hImpl"><strong>m_hImpl;</strong></a></td>
<td>stores the handle of the underlying registry file on which most of the functions work.</td>
</tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>