<html> <head> <title>Methods of Class OUStringBuffer</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="navimain"> <a href="../c-OUStringBuffer.html">Class</a> </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>Methods of Class OUStringBuffer</h2> </div><hr> <dl class="member"> <dt class="member"><a name="OUStringBuffer-1372"> </a>OUStringBuffer</dt> <dd class="member"><dl> <dt class="simple"> <strong>OUStringBuffer</strong>();</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>Constructs a string buffer with no characters in it and an initial capacity of 16 characters. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="OUStringBuffer-1373"> </a>OUStringBuffer</dt> <dd class="member"><dl> <dt class="simple"> <strong>OUStringBuffer</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & </td> <td> value );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocates a new string buffer that contains the same sequence of characters as the string buffer argument. </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">value</td> <td><pre>a <code>OStringBuffer</code>. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="OUStringBuffer-1374"> </a>OUStringBuffer</dt> <dd class="member"><dl> <dt class="simple"> <strong>OUStringBuffer</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> length );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Constructs a string buffer with no characters in it and an initial capacity specified by the <code>length</code> argument. </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">length</td> <td><pre>the initial capacity. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="OUStringBuffer-1375"> </a>OUStringBuffer</dt> <dd class="member"><dl> <dt class="simple"> <strong>OUStringBuffer</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../rtl/c-OUString.html">OUString</a> </td> <td> value );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Constructs a string buffer so that it represents the same sequence of characters as the string argument. </dd> <dt>Description</dt> <dd>The initial capacity of the string buffer is <code>16</code> plus the length of the string argument. </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">str</td> <td><pre>the initial contents of the buffer. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="operator=-1376"> </a>operator=</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>operator=</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & </td> <td> value );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Assign to this a copy of value. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="~OUStringBuffer-1377"> </a>~OUStringBuffer</dt> <dd class="member"><dl> <dt class="simple"> <strong>~OUStringBuffer</strong>();</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>Release the string data. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="makeStringAndClear-1378"> </a>makeStringAndClear</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUString.html">OUString</a> <strong>makeStringAndClear</strong>();</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>Fill the string data in the new string and clear the buffer. </dd> <dt>Description</dt> <dd> This method is more efficient than the contructor of the string. It does not copy the buffer. </dd> <dt>Return</dt> <dd>the string previously contained in the buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="getLength-1379"> </a>getLength</dt> <dd class="member"><dl> <dt class="simple"><a href="../../t-sal_Int32.html">sal_Int32</a> <strong>getLength</strong>();</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>Returns the length (character count) of this string buffer. </dd> <dt>Return</dt> <dd>the number of characters in this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="getCapacity-1380"> </a>getCapacity</dt> <dd class="member"><dl> <dt class="simple"><a href="../../t-sal_Int32.html">sal_Int32</a> <strong>getCapacity</strong>();</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>Returns the current capacity of the String buffer. </dd> <dt>Description</dt> <dd> The capacity is the amount of storage available for newly inserted characters. The real buffer size is 2 bytes longer, because all strings are 0 terminated. </dd> <dt>Return</dt> <dd>the current capacity of this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="ensureCapacity-1381"> </a>ensureCapacity</dt> <dd class="member"><dl> <dt class="simple">void <strong>ensureCapacity</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> minimumCapacity );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Ensures that the capacity of the buffer is at least equal to the specified minimum. </dd> <dt>Description</dt> <dd>The new capacity will be at least as large as the maximum of the current length (so that no contents of the buffer is destroyed) and the given minimumCapacity. If the given minimumCapacity is negative, nothing is changed. </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">minimumCapacity</td> <td><pre>the minimum desired capacity. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="setLength-1382"> </a>setLength</dt> <dd class="member"><dl> <dt class="simple">void <strong>setLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> newLength );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Sets the length of this String buffer. </dd> <dt>Description</dt> <dd> If the <code>newLength</code> argument is less than the current length of the string buffer, the string buffer is truncated to contain exactly the number of characters given by the <code>newLength</code> argument. <p> If the <code>newLength</code> argument is greater than or equal to the current length, sufficient null characters (<code>'\u0000'</code>) are appended to the string buffer so that length becomes the <code>newLength</code> argument. <p> The <code>newLength</code> argument must be greater than or equal to <code>0</code>. </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">newLength</td> <td><pre>the new length of the buffer. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="charAt-1383"> </a>charAt</dt> <dd class="member"><dl> <dt class="simple"><a href="../../t-sal_Unicode.html">sal_Unicode</a> <strong>charAt</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> index ) const;</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="flagyes">YES</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>Returns the character at a specific index in this string buffer. </dd> <dt>Description</dt> <dd> The first character of a string buffer is at index <code>0</code>, the next at index <code>1</code>, and so on, for array indexing. <p> The index argument must be greater than or equal to <code>0</code>, and less than the length of this string buffer. </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">index</td> <td><pre>the index of the desired character. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>the character at the specified index of this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="operator const sal_Unicode *-1384"> </a>operator const sal_Unicode *</dt> <dd class="member"><dl> <dt class="simple"> <strong>operator const sal_Unicode *</strong>();</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>Return a null terminated unicode character array. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="getStr-1385"> </a>getStr</dt> <dd class="member"><dl> <dt class="simple">const <a href="../../t-sal_Unicode.html">sal_Unicode</a> * <strong>getStr</strong>();</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>Return a null terminated unicode character array. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="setCharAt-1386"> </a>setCharAt</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>setCharAt</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> index,</td> </tr> <tr> <td><a href="../../t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>The character at the specified index of this string buffer is set to <code>ch</code>. </dd> <dt>Description</dt> <dd>The index argument must be greater than or equal to <code>0</code>, and less than the length of this string buffer. </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">index</td> <td><pre>the index of the character to modify. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre>the new character. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1387"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../rtl/c-OUString.html">OUString</a> & </td> <td> str );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string to this string buffer. </dd> <dt>Description</dt> <dd> The characters of the <code>String</code> argument are appended, in order, to the contents of this string buffer, increasing the length of this string buffer by the length of the argument. </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">str</td> <td><pre>a string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1388"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>char</code> array argument to this string buffer. </dd> <dt>Description</dt> <dd>The characters of the array argument are appended, in order, to the contents of this string buffer. The length of this string buffer increases by the length of the argument. </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">str</td> <td><pre>the characters to be appended. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1389"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a></td> <td>len );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>char</code> array argument to this string buffer. </dd> <dt>Description</dt> <dd>Characters of the character array <code>str</code> are appended, in order, to the contents of this string buffer. The length of this string buffer increases by the value of <code>len</code>. </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">str</td> <td><pre>the characters to be appended; must be non-null, and must point to at least len characters </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre>the number of characters to append; must be non-negative </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="appendAscii-1390"> </a>appendAscii</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>appendAscii</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../t-sal_Char.html">sal_Char</a> * </td> <td> str );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends a 8-Bit ASCII character string to this string buffer. </dd> <dt>Description</dt> <dd> Since this method is optimized for performance. the ASCII character values are not converted in any way. The caller has to make sure that all ASCII characters are in the allowed range between 0 and 127. The ASCII string must be NULL-terminated. <p> The characters of the array argument are appended, in order, to the contents of this string buffer. The length of this string buffer increases by the length of the argument. </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">str</td> <td><pre>the 8-Bit ASCII characters to be appended. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="appendAscii-1391"> </a>appendAscii</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>appendAscii</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="../../t-sal_Char.html">sal_Char</a> * </td> <td> str,</td> </tr> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a></td> <td>len );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends a 8-Bit ASCII character string to this string buffer. </dd> <dt>Description</dt> <dd> Since this method is optimized for performance. the ASCII character values are not converted in any way. The caller has to make sure that all ASCII characters are in the allowed range between 0 and 127. The ASCII string must be NULL-terminated. <p> Characters of the character array <code>str</code> are appended, in order, to the contents of this string buffer. The length of this string buffer increases by the value of <code>len</code>. </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">str</td> <td><pre>the 8-Bit ASCII characters to be appended; must be non-null, and must point to at least len characters </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre>the number of characters to append; must be non-negative </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1392"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Bool.html">sal_Bool</a> </td> <td> b );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>sal_Bool</code> argument to the string buffer. </dd> <dt>Description</dt> <dd>The argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then appended to this string buffer. </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">b</td> <td><pre>a <code>sal_Bool</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1393"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Unicode.html">sal_Unicode</a> </td> <td> c );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>char</code> argument to this string buffer. </dd> <dt>Description</dt> <dd>The argument is appended to the contents of this string buffer. The length of this string buffer increases by <code>1</code>. </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">ch</td> <td><pre>a <code>char</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1394"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> i,</td> </tr> <tr> <td><a href="../../t-sal_Int16.html">sal_Int16</a></td> <td>radix = 10 );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>sal_Int32</code> argument to this string buffer. </dd> <dt>Description</dt> <dd>The argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then appended to this string buffer. </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">i</td> <td><pre>an <code>sal_Int32</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1395"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int64.html">sal_Int64</a> </td> <td> l,</td> </tr> <tr> <td><a href="../../t-sal_Int16.html">sal_Int16</a></td> <td>radix = 10 );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>long</code> argument to this string buffer. </dd> <dt>Description</dt> <dd>The argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then appended to this string buffer. </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">l</td> <td><pre>a <code>long</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1396"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td>float </td> <td> f );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>float</code> argument to this string buffer. </dd> <dt>Description</dt> <dd>The argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then appended to this string buffer. </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">f</td> <td><pre>a <code>float</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="append-1397"> </a>append</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>append</strong>(</dt> <dd><table class="param-table"> <tr> <td>double </td> <td> d );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends the string representation of the <code>double</code> argument to this string buffer. </dd> <dt>Description</dt> <dd>The argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then appended to this string buffer. </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">d</td> <td><pre>a <code>double</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="appendUtf32-1398"> </a>appendUtf32</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>appendUtf32</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_uInt32.html">sal_uInt32</a> </td> <td> c );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Appends a single UTF-32 character to this string buffer. </dd> <dt>Description</dt> <dd> <p>The single UTF-32 character will be represented within the string buffer as either one or two UTF-16 code units.</p> </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">c</td> <td><pre>a well-formed UTF-32 code unit (that is, a value in the range <code>0</code>–<code>0x10FFFF</code>, but excluding <code>0xD800</code>–<code>0xDFFF</code>) </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> this string buffer </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1399"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td>const <a href="../../rtl/c-OUString.html">OUString</a> &</td> <td>str );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string into this string buffer. </dd> <dt>Description</dt> <dd> The characters of the <code>String</code> argument are inserted, in order, into this string buffer at the indicated offset. The length of this string buffer is increased by the length of the argument. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1400"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td>const <a href="../../t-sal_Unicode.html">sal_Unicode</a> *</td> <td>str );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>char</code> array argument into this string buffer. </dd> <dt>Description</dt> <dd>The characters of the array argument are inserted into the contents of this string buffer at the position indicated by <code>offset</code>. The length of this string buffer increases by the length of the argument. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre>a character array. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1401"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td>const <a href="../../t-sal_Unicode.html">sal_Unicode</a> *</td> <td>str,</td> </tr> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a></td> <td>len );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>char</code> array argument into this string buffer. </dd> <dt>Description</dt> <dd>The characters of the array argument are inserted into the contents of this string buffer at the position indicated by <code>offset</code>. The length of this string buffer increases by the length of the argument. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre>a character array. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre>the number of characters to append. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1402"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td><a href="../../t-sal_Bool.html">sal_Bool</a></td> <td>b );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>sal_Bool</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then inserted into this string buffer at the indicated offset. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre>a <code>sal_Bool</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1403"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td><a href="../../t-sal_Unicode.html">sal_Unicode</a></td> <td>c );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>char</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is inserted into the contents of this string buffer at the position indicated by <code>offset</code>. The length of this string buffer increases by one. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre>a <code>char</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1404"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a></td> <td>i,</td> </tr> <tr> <td><a href="../../t-sal_Int16.html">sal_Int16</a></td> <td>radix = 10 );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the second <code>sal_Int32</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then inserted into this string buffer at the indicated offset. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre>an <code>sal_Int32</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1405"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td><a href="../../t-sal_Int64.html">sal_Int64</a></td> <td>l,</td> </tr> <tr> <td><a href="../../t-sal_Int16.html">sal_Int16</a></td> <td>radix = 10 );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>long</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then inserted into this string buffer at the indicated offset. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre>a <code>long</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1406"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td>float</td> <td>f );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>float</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then inserted into this string buffer at the indicated offset. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre>a <code>float</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insert-1407"> </a>insert</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td>double</td> <td>d );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts the string representation of the <code>double</code> argument into this string buffer. </dd> <dt>Description</dt> <dd>The second argument is converted to a string as if by the method <code>String.valueOf</code>, and the characters of that string are then inserted into this string buffer at the indicated offset. <p> The offset argument must be greater than or equal to <code>0</code>, and less than or equal to the length of this string buffer. </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">offset</td> <td><pre>the offset. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre>a <code>double</code>. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="insertUtf32-1408"> </a>insertUtf32</dt> <dd class="member"><dl> <dt class="simple"><a href="../../rtl/c-OUStringBuffer.html">OUStringBuffer</a> & <strong>insertUtf32</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> </td> <td> offset,</td> </tr> <tr> <td><a href="../../t-sal_uInt32.html">sal_uInt32</a></td> <td>c );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Inserts a single UTF-32 character into this string buffer. </dd> <dt>Description</dt> <dd> <p>The single UTF-32 character will be represented within the string buffer as either one or two UTF-16 code units.</p> </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">offset</td> <td><pre>the offset into this string buffer (from zero to the length of this string buffer, inclusive) </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">c</td> <td><pre>a well-formed UTF-32 code unit (that is, a value in the range <code>0</code>–<code>0x10FFFF</code>, but excluding <code>0xD800</code>–<code>0xDFFF</code>) </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>this string buffer </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="accessInternals-1409"> </a>accessInternals</dt> <dd class="member"><dl> <dt class="simple">void <strong>accessInternals</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="../../t-rtl_uString.html">rtl_uString</a> * * * </td> <td> pInternalData,</td> </tr> <tr> <td><a href="../../t-sal_Int32.html">sal_Int32</a> * *</td> <td>pInternalCapacity );</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="flagyes">YES</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allows access to the internal data of this OUStringBuffer, for effective manipulation. </dd> <dt>Description</dt> <dd>This method should be used with care. After you have called this method, you may use the returned pInternalData or pInternalCapacity only as long as you make no other method call on this OUStringBuffer. </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">pInternalData</td> <td><pre>This output parameter receives a pointer to the internal data (rtl_uString pointer). pInternalData itself must not be null. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pInternalCapacity</td> <td><pre>This output parameter receives a pointer to the internal capacity. pInternalCapacity itself must not be null. </pre></td> </tr> </table> </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>