<html> <head> <title>Global Functions in Namespace in Sourcefile Sequence.h</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 Global Namespace C++<br> in Sourcefile Sequence.h</h2> </div><hr> <dl class="member"> <dt class="member"><a name="getCharSequenceCppuType-2576"> </a>getCharSequenceCppuType</dt> <dd class="member"><dl> <dt class="simple">const ::com::sun::star::uno::<a href="com/sun/star/uno/c-Type.html">Type</a> & <strong>getCharSequenceCppuType</strong>() throw();</dt> <dd><table class="param-table"></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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Gets the meta type of IDL sequence< char >. This function has been introduced due to ambiguities with unsigned short. </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">dummy</td> <td><pre>typed pointer for function signature </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>type of IDL sequence< char > </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="getCppuSequenceType-2574"> </a>getCppuSequenceType</dt> <dd class="member"><dl> <dt class="simple"><br> <p><strong>template< typename E ></strong></p> <br> const ::com::sun::star::uno::<a href="com/sun/star/uno/c-Type.html">Type</a> & <strong>getCppuSequenceType</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="com/sun/star/uno/c-Type.html">Type</a> & </td> <td> rElementType ) 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="flagyes">YES</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Description</dt> <dd>Gets the meta type of IDL sequence. This function has been introduced, because one cannot get the (templated) cppu type out of C++ array types. Array types have special getCppuArrayTypeN() functions. </dd> <dt class="attention">ATTENTION!</dt> <dd> the given element type must be the same as the template argument type! </dd> <dt>Template 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">E</td> <td><pre>element type of sequence </pre></td> </tr> </table> </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">rElementType</td> <td><pre>element type of sequence </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>type of IDL sequence </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="getCppuType-2573"> </a>getCppuType</dt> <dd class="member"><dl> <dt class="simple"><br> <p><strong>template< typename E ></strong></p> <br> const ::com::sun::star::uno::<a href="com/sun/star/uno/c-Type.html">Type</a> & <strong>getCppuType</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="com/sun/star/uno/c-Sequence.html">Sequence</a>< E > * </td> <td> ) 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="flagyes">YES</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Gets the meta type of IDL sequence. </dd> <dt>Description</dt> <dd> There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead. </dd> <dt>Template 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">E</td> <td><pre>element type of sequence </pre></td> </tr> </table> </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">dummy</td> <td><pre>typed pointer for function signature </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>type of IDL sequence </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>