Sophie

Sophie

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

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

<html>
<head>
<title>class RegistryKey</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 RegistryKey</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>RegistryKey reads or writes information of the underlying key in a registry.

</dd>
<dt>Description</dt>
<dd>Class is inline and use a load on call 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="RegistryKey/o.html#RegistryKey-2165">RegistryKey</a>( );</td>
<td width="50%"> Default constructor</td>
</tr>
<tr>
<td> <br>
<a href="RegistryKey/o.html#RegistryKey-2166">RegistryKey</a>( const RegistryKey &amp; toCopy );</td>
<td width="50%"> Copy constructor</td>
</tr>
<tr>
<td> <br>
<a href="RegistryKey/o.html#~RegistryKey-2167">~RegistryKey</a>( );</td>
<td width="50%"> Destructor, close the key if it references an open one.</td>
</tr>
<tr>
<td>RegistryKey &amp; <br>
<a href="RegistryKey/o.html#operator=-2168">operator=</a>( const RegistryKey &amp; toAssign );</td>
<td width="50%"> Assign operator</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="RegistryKey/o.html#isValid-2169">isValid</a>( ) const;</td>
<td width="50%"> checks if the key points to a valid registry key.</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="RegistryKey/o.html#isReadOnly-2170">isReadOnly</a>( ) const;</td>
<td width="50%"> returns the access mode of the key.

</td>
</tr>
<tr>
<td>::rtl::OUString <br>
<a href="RegistryKey/o.html#getName-2171">getName</a>( );</td>
<td width="50%"> returns the full qualified name of the key beginning with the rootkey.</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#createKey-2172">createKey</a>( const ::rtl::OUString &amp; keyName, RegistryKey &amp; rNewKey );</td>
<td width="50%"> creates a new key or opens a key if the specified key already exists.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#openKey-2173">openKey</a>( const ::rtl::OUString &amp; keyName, RegistryKey &amp; rOpenKey );</td>
<td width="50%"> opens the specified key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#openSubKeys-2174">openSubKeys</a>( const ::rtl::OUString &amp; keyName, RegistryKeyArray &amp; rSubKeys );</td>
<td width="50%"> opens all subkeys of the specified key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getKeyNames-2175">getKeyNames</a>( const ::rtl::OUString &amp; keyName, RegistryKeyNames &amp; rSubKeyNames );</td>
<td width="50%"> returns an array with the names of all subkeys of the specified key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#closeSubKeys-2176">closeSubKeys</a>( RegistryKeyArray &amp; rSubKeys );</td>
<td width="50%"> closes all keys specified in the array.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#deleteKey-2177">deleteKey</a>( const ::rtl::OUString &amp; keyName );</td>
<td width="50%"> deletes the specified key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#closeKey-2178">closeKey</a>( );</td>
<td width="50%"> closes explicitly the current key</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#setValue-2179">setValue</a>( const ::rtl::OUString &amp; keyName, RegValueType valueType, RegValue pValue, sal_uInt32 valueSize );</td>
<td width="50%"> sets a value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#setLongListValue-2180">setLongListValue</a>( const ::rtl::OUString &amp; keyName, sal_Int32 * pValueList, sal_uInt32 len );</td>
<td width="50%"> sets a long list value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#setStringListValue-2181">setStringListValue</a>( const ::rtl::OUString &amp; keyName, sal_Char * * pValueList, sal_uInt32 len );</td>
<td width="50%"> sets an ascii list value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#setUnicodeListValue-2182">setUnicodeListValue</a>( const ::rtl::OUString &amp; keyName, sal_Unicode * * pValueList, sal_uInt32 len );</td>
<td width="50%"> sets an unicode string list value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getValueInfo-2183">getValueInfo</a>( const ::rtl::OUString &amp; keyName, RegValueType * pValueType, sal_uInt32 * pValueSize );</td>
<td width="50%"> gets info about type and size of a value.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getValue-2184">getValue</a>( const ::rtl::OUString &amp; keyName, RegValue pValue );</td>
<td width="50%"> gets the value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getLongListValue-2185">getLongListValue</a>( const ::rtl::OUString &amp; keyName, RegistryValueList&lt; sal_Int32 &gt; &amp; rValueList );</td>
<td width="50%"> gets a long list value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getStringListValue-2186">getStringListValue</a>( const ::rtl::OUString &amp; keyName, RegistryValueList&lt; sal_Char * &gt; &amp; rValueList );</td>
<td width="50%"> gets an ascii list value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getUnicodeListValue-2187">getUnicodeListValue</a>( const ::rtl::OUString &amp; keyName, RegistryValueList&lt; sal_Unicode * &gt; &amp; rValueList );</td>
<td width="50%"> gets a unicode value of a key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#createLink-2188">createLink</a>( const ::rtl::OUString &amp; linkName, const ::rtl::OUString &amp; linkTarget );</td>
<td width="50%"> used to create a link.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#deleteLink-2189">deleteLink</a>( const ::rtl::OUString &amp; linkName );</td>
<td width="50%"> used to delete a link.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getKeyType-2190">getKeyType</a>( const ::rtl::OUString &amp; name, RegKeyType * pKeyType ) const;</td>
<td width="50%"> returns the type of the specified key.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getLinkTarget-2191">getLinkTarget</a>( const ::rtl::OUString &amp; linkName, ::rtl::OUString &amp; rLinkTarget ) const;</td>
<td width="50%"> used to return the target of a link.

</td>
</tr>
<tr>
<td>RegError <br>
<a href="RegistryKey/o.html#getResolvedKeyName-2192">getResolvedKeyName</a>( const ::rtl::OUString &amp; keyName, sal_Bool firstLinkOnly, ::rtl::OUString &amp; rResolvedName ) const;</td>
<td width="50%"> resolves a keyname.

</td>
</tr>
<tr>
<td>::rtl::OUString <br>
<a href="RegistryKey/o.html#getRegistryName-2193">getRegistryName</a>( );</td>
<td width="50%"> returns the name of the registry in which the key is defined.</td>
</tr>
<tr>
<td>Registry <br>
<a href="RegistryKey/o.html#getRegistry-2194">getRegistry</a>( ) const;</td>
<td width="50%"> returns the registry in which the key is defined.</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><a href="c-Registry.html">Registry</a> <a href="RegistryKey/d.html#m_registry"><strong>m_registry;</strong></a></td>
<td>stores the registry on which this key works</td>
</tr>
<tr bgcolor="white">
<td><a href="t-RegKeyHandle.html">RegKeyHandle</a> <a href="RegistryKey/d.html#m_hImpl"><strong>m_hImpl;</strong></a></td>
<td>stores the current key handle of this key</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>