<html> <head> <title>Global Functions in Namespace cppu in Sourcefile component_context.hxx</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"> <a href="../../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainnone"> Class </td> <td class="navimain"> <a href="../../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"></table> <hr> <div class="title"><h2>Global Functions in Namespace cppu<br> in Sourcefile component_context.hxx</h2> </div><hr> <dl class="member"> <dt class="member"><a name="createComponentContext-3276"> </a>createComponentContext</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::uno::XComponentContext > <strong>createComponentContext</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="c-ContextEntry_Init.html">ContextEntry_Init</a> * </td> <td> pEntries,</td> </tr> <tr> <td><a href="../t-sal_Int32.html">sal_Int32</a></td> <td>nEntries,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::uno::XComponentContext > &</td> <td>xDelegate = :: com :: sun :: star :: uno :: Reference < :: com :: sun :: star :: uno :: XComponentContext > ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Creates a component context with the given entries. </pre></dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pEntries</td> <td><pre><pre>array of entries </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">nEntries</td> <td><pre><pre>number of entries </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xDelegate</td> <td><pre><pre>delegation to further context, if value was not found </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>new context object </pre></dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 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>