<html> <head> <title>Global Functions in Namespace in Sourcefile sequence2.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 sequence2.h</h2> </div><hr> <dl class="member"> <dt class="member"><a name="uno_sequence_assign-3072"> </a>uno_sequence_assign</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>uno_sequence_assign</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppDest,</td> </tr> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> *</td> <td>pSource,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescription.html">_typelib_TypeDescription</a> *</td> <td>pTypeDescr,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Assigns a sequence. </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">ppDest</td> <td><pre><pre>destinstaion sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pSource</td> <td><pre><pre>source sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pTypeDescr</td> <td><pre><pre>type description of the sequence and NOT of an element </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_sequence_construct-3074"> </a>uno_sequence_construct</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_sequence_construct</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescription.html">_typelib_TypeDescription</a> *</td> <td>pTypeDescr,</td> </tr> <tr> <td>void *</td> <td>pElements,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Constructs a new sequence with given elements. </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">ppSequence</td> <td><pre><pre>out parameter sequence; 0 if memory allocation has failed </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pTypeDescr</td> <td><pre><pre>type description of the sequence and NOT of an element </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pElements</td> <td><pre><pre>if 0, then all elements are default constructed </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre><pre>number of elements </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_sequence_realloc-3078"> </a>uno_sequence_realloc</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_sequence_realloc</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescription.html">_typelib_TypeDescription</a> *</td> <td>pTypeDescr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>nSize,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Reallocates length of a sequence. This truncates a sequence or enlarges it default constructing appended elements. </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">ppSequence</td> <td><pre><pre>inout sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pTypeDescr</td> <td><pre><pre>type description of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">nSize</td> <td><pre><pre>new size of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_sequence_reference2One-3076"> </a>uno_sequence_reference2One</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_sequence_reference2One</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescription.html">_typelib_TypeDescription</a> *</td> <td>pTypeDescr,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Description</dt> <dd><pre>Assures that the reference count of the given sequence is one. Otherwise a new copy of the sequence is created with a reference count of one. </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">ppSequence</td> <td><pre><pre>inout sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pTypeDescr</td> <td><pre><pre>type description of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_type_sequence_assign-3073"> </a>uno_type_sequence_assign</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>uno_type_sequence_assign</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppDest,</td> </tr> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> *</td> <td>pSource,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescriptionReference.html">_typelib_TypeDescriptionReference</a> *</td> <td>pType,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Assigns a sequence. </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">ppDest</td> <td><pre><pre>destinstaion sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pSource</td> <td><pre><pre>source sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pType</td> <td><pre><pre>type of the sequence and NOT of an element </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_type_sequence_construct-3075"> </a>uno_type_sequence_construct</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_type_sequence_construct</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescriptionReference.html">_typelib_TypeDescriptionReference</a> *</td> <td>pType,</td> </tr> <tr> <td>void *</td> <td>pElements,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Constructs a new sequence with given elements. </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">ppSequence</td> <td><pre><pre>out parameter sequence; 0 if memory allocation has failed </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pType</td> <td><pre><pre>type of the sequence and NOT of an element </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pElements</td> <td><pre><pre>if 0, then all elements are default constructed </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre><pre>number of elements </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_type_sequence_realloc-3079"> </a>uno_type_sequence_realloc</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_type_sequence_realloc</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescriptionReference.html">_typelib_TypeDescriptionReference</a> *</td> <td>pType,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>nSize,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd><pre>Reallocates length of a sequence. This truncates a sequence or enlarges it default constructing appended elements. </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">ppSequence</td> <td><pre><pre>inout sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pType</td> <td><pre><pre>type of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">nSize</td> <td><pre><pre>new size of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="uno_type_sequence_reference2One-3077"> </a>uno_type_sequence_reference2One</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>uno_type_sequence_reference2One</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-uno_Sequence.html">uno_Sequence</a> * * </td> <td> ppSequence,</td> </tr> <tr> <td><a href="c-_typelib_TypeDescriptionReference.html">_typelib_TypeDescriptionReference</a> *</td> <td>pType,</td> </tr> <tr> <td>uno_AcquireFunc</td> <td>acquire,</td> </tr> <tr> <td>uno_ReleaseFunc</td> <td>release );</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="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Description</dt> <dd><pre>Assures that the reference count of the given sequence is one. Otherwise a new copy of the sequence is created with a reference count of one. </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">ppSequence</td> <td><pre><pre>inout sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pType</td> <td><pre><pre>type of sequence </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">acquire</td> <td><pre><pre>function called each time an interface needs to be acquired; defaults (0) to uno </pre></pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">release</td> <td><pre><pre>function called each time an interface needs to be released; defaults (0) to uno </pre></pre></td> </tr> </table> </dd> <dt>Return</dt> <dd><pre>false, if memoray allocation has failed </pre></dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2009 Sun Microsystems, Inc.</p> </div> <!-- id="adc-cppref" --> </body> </html>