Sophie

Sophie

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

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

<html>
<head>
<title>class WeakReferenceHelper</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>
</table>
<hr>
<a href="../../../../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="../../../index.html" alt="namespace"><font size="+1"><b>com</b></font></a><font size="+1"> :: </font><a href="../../index.html" alt="namespace"><font size="+1"><b>sun</b></font></a><font size="+1"> :: </font><a href="../index.html" alt="namespace"><font size="+1"><b>star</b></font></a><font size="+1"> :: </font><a href="index.html" alt="namespace"><font size="+1"><b>uno</b></font></a><font size="+1"> :: </font><div class="title"><h2>class WeakReferenceHelper</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd>None.</dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd><a href="c-WeakReference.html">WeakReference</a><br>
</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><pre>The WeakReferenceHelper holds a weak reference to an object. This object must implement
the ::com::sun::star::uno::XWeak interface.  The implementation is thread safe.
</pre></dd>
</dl>
<dl>
<dt>File</dt>
<dd>weakref.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="WeakReferenceHelper/o.html#WeakReferenceHelper-3676">WeakReferenceHelper</a>( ) throw( );</td>
<td width="50%"> Default ctor.  Creates an empty weak reference.
</td>
</tr>
<tr>
<td> <br>
<a href="WeakReferenceHelper/o.html#WeakReferenceHelper-3677">WeakReferenceHelper</a>( const WeakReferenceHelper &amp; rWeakRef ) throw( );</td>
<td width="50%"> Copy ctor.  Initialize this reference with the same interface as in rWeakRef.

</td>
</tr>
<tr>
<td> <br>
<a href="WeakReferenceHelper/o.html#WeakReferenceHelper-3678">WeakReferenceHelper</a>( const ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt; &amp; xInt ) throw( );</td>
<td width="50%"> Initialize this reference with the hard interface reference xInt. If the implementation
behind xInt does not support XWeak or XInt is null then this reference will be null.

</td>
</tr>
<tr>
<td> <br>
<a href="WeakReferenceHelper/o.html#~WeakReferenceHelper-3679">~WeakReferenceHelper</a>( ) throw( );</td>
<td width="50%"> Releases this reference.
</td>
</tr>
<tr>
<td>WeakReferenceHelper &amp; <br>
<a href="WeakReferenceHelper/o.html#operator=-3680">operator=</a>( const WeakReferenceHelper &amp; rWeakRef ) throw( );</td>
<td width="50%"> Releases this reference and takes over rWeakRef.

</td>
</tr>
<tr>
<td>WeakReferenceHelper &amp; <br>
<a href="WeakReferenceHelper/o.html#operator=-3681">operator=</a>( const ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt; &amp; xInt ) throw( );</td>
<td width="50%"> Releases this reference and takes over hard reference xInt. If the implementation behind
xInt does not support XWeak or XInt is null, than this reference is null.

</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="WeakReferenceHelper/o.html#operator==-3682">operator==</a>( const WeakReferenceHelper &amp; rObj ) const throw( );</td>
<td width="50%"> Returns true if both weak refs reference to the same object.

</td>
</tr>
<tr>
<td>::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt; <br>
<a href="WeakReferenceHelper/o.html#get-3683">get</a>( ) const throw( );</td>
<td width="50%"> Gets a hard reference to the object.

</td>
</tr>
<tr>
<td> <br>
<a href="WeakReferenceHelper/o.html#operator Reference< XInterface >-3684">operator Reference&lt; XInterface &gt;</a>( ) const throw( );</td>
<td width="50%"> Gets a hard reference to the object.

</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>