Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 8919

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>class OMultiTypeInterfaceContainerHelperVar</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;<a href="#publ_tydefs"><font size="-2"><b>TYPEDEFS</b></font></a>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<a href="#publ_static_ops"><font size="-2"><b>STATIC METHODS</b></font></a>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PRIVATE 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;<a href="#priv_tydefs"><font size="-2"><b>TYPEDEFS</b></font></a>
|&nbsp;<a href="#priv_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#priv_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> <a href="index.html" alt="namespace"><font size="+1"><b>cppu</b></font></a><font size="+1"> :: </font><br>
<p><strong>template&lt; typename key, typename hashImpl, typename equalImpl &gt;</strong></p>
<div class="title"><h2>class OMultiTypeInterfaceContainerHelperVar</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="flagyes">YES</td>
</tr>
</table>
<dl>
<dt>Summary</dt>
<dd>A helper class to store interface references of different types.

</dd>
<dt>See Also</dt>
<dd><a href="c-OInterfaceIteratorHelper.html">OInterfaceIteratorHelper</a> <br>
<a href="c-OInterfaceContainerHelper.html">OInterfaceContainerHelper</a> <br>
</dd>
</dl>
<dl>
<dt>File</dt>
<dd>interfacecontainer.h</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_tydefs"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Typedefs</h4>
</td>
</tr>
<tr bgcolor="white">
<td width="20%"><a href="OMultiTypeInterfaceContainerHelperVar/t-keyType.html"><b>keyType</b></a></td>
<td/></tr>
</table>
<hr>
<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="OMultiTypeInterfaceContainerHelperVar/o.html#OMultiTypeInterfaceContainerHelperVar-4354">OMultiTypeInterfaceContainerHelperVar</a>( ::osl::Mutex &amp;  ) throw( );</td>
<td width="50%"> Create a container of interface containers.

</td>
</tr>
<tr>
<td> <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#~OMultiTypeInterfaceContainerHelperVar-4355">~OMultiTypeInterfaceContainerHelperVar</a>( ) throw( );</td>
<td width="50%"> Deletes all containers.
</td>
</tr>
<tr>
<td>::com::sun::star::uno::Sequence&lt; key &gt; <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#getContainedTypes-4356">getContainedTypes</a>( ) const throw( );</td>
<td width="50%"> Return all id's under which at least one interface is added.
</td>
</tr>
<tr>
<td>OInterfaceContainerHelper * <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#getContainer-4357">getContainer</a>( const key &amp;  ) const throw( );</td>
<td width="50%"> Return the container created under this key.
The InterfaceContainerHelper exists until the whole MultiTypeContainer is destroyed.
</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#addInterface-4358">addInterface</a>( const key &amp; rKey, const ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt; &amp; r ) throw( );</td>
<td width="50%"> Inserts an element into the container with the specified key.
The position is not specified, thus it is not specified in which order events are fired.

</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#removeInterface-4359">removeInterface</a>( const key &amp; rKey, const ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt; &amp; rxIFace ) throw( );</td>
<td width="50%"> Removes an element from the container with the specified key.
It uses interface equality to remove the interface.

</td>
</tr>
<tr>
<td>void <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#disposeAndClear-4360">disposeAndClear</a>( const ::com::sun::star::lang::EventObject &amp; rEvt ) throw( );</td>
<td width="50%"> Call disposing on all references in the container, that
support XEventListener. Then clears the container.
</td>
</tr>
<tr>
<td>void <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#clear-4361">clear</a>( ) throw( );</td>
<td width="50%"> Remove all elements of all containers. Does not delete the container.
</td>
</tr>
</table>
<hr>
<a name="publ_static_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Static Methods</h4>
</td>
</tr>
<tr>
<td>static void * <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#operator new-4350">operator new</a>( size_t nSize ) throw( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>static void <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#operator delete-4351">operator delete</a>( void * pMem ) throw( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>static void * <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#operator new-4352">operator new</a>( size_t , void * pMem ) throw( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>static void <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#operator delete-4353">operator delete</a>( void * , void *  ) throw( );</td>
<td width="50%"> </td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="priv_"><h3>Private Members</h3>
</a></dt>
<dd><a name="priv_tydefs"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Typedefs</h4>
</td>
</tr>
<tr bgcolor="white">
<td width="20%"><a href="OMultiTypeInterfaceContainerHelperVar/t-InterfaceMap.html"><b>InterfaceMap</b></a></td>
<td/></tr>
</table>
<hr>
<a name="priv_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>InterfaceMap::iterator <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#find-4366">find</a>( const key &amp; rKey ) const;</td>
<td width="50%"> </td>
</tr>
<tr>
<td> <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#OMultiTypeInterfaceContainerHelperVar-4367">OMultiTypeInterfaceContainerHelperVar</a>( const OMultiTypeInterfaceContainerHelperVar &amp;  ) throw( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>OMultiTypeInterfaceContainerHelperVar &amp; <br>
<a href="OMultiTypeInterfaceContainerHelperVar/o.html#operator=-4368">operator=</a>( const OMultiTypeInterfaceContainerHelperVar &amp;  ) throw( );</td>
<td width="50%"> </td>
</tr>
</table>
<hr>
<a name="priv_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="../cppu/OMultiTypeInterfaceContainerHelperVar/t-InterfaceMap.html">InterfaceMap</a> * <a href="OMultiTypeInterfaceContainerHelperVar/d.html#m_pMap"><strong>m_pMap;</strong></a></td>
<td/></tr>
<tr bgcolor="white">
<td>::osl::<a href="../osl/c-Mutex.html">Mutex</a> &amp; <a href="OMultiTypeInterfaceContainerHelperVar/d.html#rMutex"><strong>rMutex;</strong></a></td>
<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; 2008 Sun Microsystems, Inc.</p>

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

</html>