Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 34ae14235711d1471f043ac894a061f9 > files > 121

libicu-doc-3.6-5.16.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.6: RunArray Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>RunArray Class Reference</h1><!-- doxytag: class="RunArray" --><!-- doxytag: inherits="UObject" -->The <code><a class="el" href="classRunArray.html">RunArray</a></code> class is a base class for building classes which represent data that is associated with runs of text.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>&gt;</code>
<p>
<p>Inheritance diagram for RunArray:
<p><center><img src="classRunArray.png" usemap="#RunArray_map" border="0" alt=""></center>
<map name="RunArray_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="88,56,166,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="88,0,166,24">
<area href="classFontRuns.html" alt="FontRuns" shape="rect" coords="0,168,78,192">
<area href="classLocaleRuns.html" alt="LocaleRuns" shape="rect" coords="88,168,166,192">
<area href="classValueRuns.html" alt="ValueRuns" shape="rect" coords="176,168,254,192">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#79ba867057748ba1b6f234f0dc522901">RunArray</a> (const <a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> *limits, <a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> count)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <code><a class="el" href="classRunArray.html">RunArray</a></code> object from a pre-existing array of limit indices.  <a href="#79ba867057748ba1b6f234f0dc522901"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#742d1bdb5f8b6ba26936ef4e55c5075c">RunArray</a> (<a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> initialCapacity)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct an empty <code><a class="el" href="classRunArray.html">RunArray</a></code> object.  <a href="#742d1bdb5f8b6ba26936ef4e55c5075c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#0899f487ecc54b7913285a2a8a4ed321">~RunArray</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor; virtual so that subclass destructors are invoked as well.  <a href="#0899f487ecc54b7913285a2a8a4ed321"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#b082d9ec6b8556fcd7d046124d8fbe89">getCount</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of entries in the limit indices array.  <a href="#b082d9ec6b8556fcd7d046124d8fbe89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#53c50aea982a42eb51e947940235ae8d">reset</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset the limit indices array.  <a href="#53c50aea982a42eb51e947940235ae8d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#c0ec7456e8c1c78f515d0a68151cc2e9">getLimit</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the last limit index.  <a href="#c0ec7456e8c1c78f515d0a68151cc2e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#ab8582ef7fc90635dd1f18ff6d6eaa11">getLimit</a> (<a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> run) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the limit index for a particular run of text.  <a href="#ab8582ef7fc90635dd1f18ff6d6eaa11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#ec13891af223b40c422facb70deb73af">add</a> (<a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> limit)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a limit index to the limit indices array and return the run index where it was stored.  <a href="#ec13891af223b40c422facb70deb73af"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#3ac4c2be2170153283bf492b876e2766">getDynamicClassID</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#3ac4c2be2170153283bf492b876e2766"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#978b8547191d5203c10fc1b1079fa94b">getStaticClassID</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#978b8547191d5203c10fc1b1079fa94b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#df00fbd3db17dd1a678a8d909211980b">init</a> (<a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> capacity)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a data array with the given initial size.  <a href="#df00fbd3db17dd1a678a8d909211980b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#82fa607d9cc092c30a6ab37b9606ce0b">grow</a> (<a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> capacity)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Grow a data array to the given initial size.  <a href="#82fa607d9cc092c30a6ab37b9606ce0b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#f2dbcdbfe51e0c2b6c6913d52a0bab68">le_bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#5973f314ff5e874a235fa001ea1f19fd">fClientArrays</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set by the constructors to indicate whether or not the client supplied the data arrays.  <a href="#5973f314ff5e874a235fa001ea1f19fd"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classRunArray.html">RunArray</a></code> class is a base class for building classes which represent data that is associated with runs of text. 
<p>
This class maintains an array of limit indices into the text, subclasses provide one or more arrays of data.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003236">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00048">48</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="79ba867057748ba1b6f234f0dc522901"></a><!-- doxytag: member="RunArray::RunArray" ref="79ba867057748ba1b6f234f0dc522901" args="(const le_int32 *limits, le_int32 count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RunArray::RunArray           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> *&nbsp;</td>
          <td class="paramname"> <em>limits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <code><a class="el" href="classRunArray.html">RunArray</a></code> object from a pre-existing array of limit indices. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>limits</em>&nbsp;</td><td>is an array of limit indices. This array must remain valid until the <code><a class="el" href="classRunArray.html">RunArray</a></code> object is destroyed.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>is the number of entries in the limit array.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003240">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00234">234</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
<p>
References <a class="el" href="RunArrays_8h-source.html#l00234">RunArray()</a>.
<p>
Referenced by <a class="el" href="RunArrays_8h-source.html#l00234">RunArray()</a>.
</div>
</div><p>
<a class="anchor" name="742d1bdb5f8b6ba26936ef4e55c5075c"></a><!-- doxytag: member="RunArray::RunArray" ref="742d1bdb5f8b6ba26936ef4e55c5075c" args="(le_int32 initialCapacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RunArray::RunArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>initialCapacity</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct an empty <code><a class="el" href="classRunArray.html">RunArray</a></code> object. 
<p>
Clients can add limit indices array using the <code>add</code> method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>initialCapacity</em>&nbsp;</td><td>is the initial size of the limit indices array. If this value is zero, no array will be allocated.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classRunArray.html#ec13891af223b40c422facb70deb73af">add</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003241">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0899f487ecc54b7913285a2a8a4ed321"></a><!-- doxytag: member="RunArray::~RunArray" ref="0899f487ecc54b7913285a2a8a4ed321" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual RunArray::~RunArray           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The destructor; virtual so that subclass destructors are invoked as well. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003242">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ec13891af223b40c422facb70deb73af"></a><!-- doxytag: member="RunArray::add" ref="ec13891af223b40c422facb70deb73af" args="(le_int32 limit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> RunArray::add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>limit</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a limit index to the limit indices array and return the run index where it was stored. 
<p>
If the array does not exist, it will be created by calling the <code>init</code> method. If it is full, it will be grown by calling the <code>grow</code> method.<p>
If the <code><a class="el" href="classRunArray.html">RunArray</a></code> object was created with a client-supplied limit indices array, this method will return a run index of -1.<p>
Subclasses should not override this method. Rather they should provide a new <code>add</code> method which takes a limit index along with whatever other data they implement. The new <code>add</code> method should first call this method to grow the data arrays, and use the return value to store the data in their own arrays.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>limit</em>&nbsp;</td><td>is the limit index to add to the array.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the run index where the limit index was stored, or -1 if the limit index cannt be stored.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classRunArray.html#df00fbd3db17dd1a678a8d909211980b">init</a> <p>
<a class="el" href="classRunArray.html#82fa607d9cc092c30a6ab37b9606ce0b">grow</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003246">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b082d9ec6b8556fcd7d046124d8fbe89"></a><!-- doxytag: member="RunArray::getCount" ref="b082d9ec6b8556fcd7d046124d8fbe89" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> RunArray::getCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the number of entries in the limit indices array. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the number of entries in the limit indices array.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003243">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00240">240</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<a class="anchor" name="3ac4c2be2170153283bf492b876e2766"></a><!-- doxytag: member="RunArray::getDynamicClassID" ref="3ac4c2be2170153283bf492b876e2766" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> RunArray::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for the actual class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003248">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#60f3fba82b9d7edfe3d3f9d423ab826d">UObject</a>.
<p>
Reimplemented in <a class="el" href="classFontRuns.html#03c0bee3434efea127bc07ac1afccfbd">FontRuns</a>, <a class="el" href="classLocaleRuns.html#5f46ba4dfc7c4ae59e255717f6725be6">LocaleRuns</a>, and <a class="el" href="classValueRuns.html#309b74ebd8d8bde74364b573becd040e">ValueRuns</a>.
<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00162">162</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<a class="anchor" name="ab8582ef7fc90635dd1f18ff6d6eaa11"></a><!-- doxytag: member="RunArray::getLimit" ref="ab8582ef7fc90635dd1f18ff6d6eaa11" args="(le_int32 run) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> RunArray::getLimit           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>run</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the limit index for a particular run of text. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>run</em>&nbsp;</td><td>is the run. This is an index into the limit index array.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the limit index for the run, or -1 if <code>run</code> is out of bounds.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003245">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00250">250</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<a class="anchor" name="c0ec7456e8c1c78f515d0a68151cc2e9"></a><!-- doxytag: member="RunArray::getLimit" ref="c0ec7456e8c1c78f515d0a68151cc2e9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a> RunArray::getLimit           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the last limit index. 
<p>
This is the number of characters in the text.<p>
<dl compact><dt><b>Returns:</b></dt><dd>the last limit index.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003244">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00259">259</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<a class="anchor" name="978b8547191d5203c10fc1b1079fa94b"></a><!-- doxytag: member="RunArray::getStaticClassID" ref="978b8547191d5203c10fc1b1079fa94b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> RunArray::getStaticClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003247">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Reimplemented in <a class="el" href="classFontRuns.html#40a13ba5a91d1a506514f2b6d9fdd60f">FontRuns</a>, <a class="el" href="classLocaleRuns.html#a071805eedca134c35421bc7ed1ba87a">LocaleRuns</a>, and <a class="el" href="classValueRuns.html#21206385b08a8fbfc4ab3df1cced4034">ValueRuns</a>.
<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00155">155</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
<p>
Referenced by <a class="el" href="RunArrays_8h-source.html#l00633">ValueRuns::getDynamicClassID()</a>, <a class="el" href="RunArrays_8h-source.html#l00499">LocaleRuns::getDynamicClassID()</a>, and <a class="el" href="RunArrays_8h-source.html#l00362">FontRuns::getDynamicClassID()</a>.
</div>
</div><p>
<a class="anchor" name="82fa607d9cc092c30a6ab37b9606ce0b"></a><!-- doxytag: member="RunArray::grow" ref="82fa607d9cc092c30a6ab37b9606ce0b" args="(le_int32 capacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void RunArray::grow           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>capacity</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Grow a data array to the given initial size. 
<p>
This method will be called by the <code>add</code> method if the limit indices array is full. Subclasses which override this method must also call it from the overriding method to grow the limit indices array.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>capacity</em>&nbsp;</td><td>is the initial size of the data array.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classRunArray.html#ec13891af223b40c422facb70deb73af">add</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003250">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Reimplemented in <a class="el" href="classFontRuns.html#bcce4b6c9900fdda2ad62bd43a6d5474">FontRuns</a>, <a class="el" href="classLocaleRuns.html#e1b4ec56248e06a2b8aa216fe4c5f9e6">LocaleRuns</a>, and <a class="el" href="classValueRuns.html#68372d43a423f19e7918174c29dd14dc">ValueRuns</a>.
</div>
</div><p>
<a class="anchor" name="df00fbd3db17dd1a678a8d909211980b"></a><!-- doxytag: member="RunArray::init" ref="df00fbd3db17dd1a678a8d909211980b" args="(le_int32 capacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void RunArray::init           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a201c5c12a85b5089247f931122ec9c9">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>capacity</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a data array with the given initial size. 
<p>
This method will be called by the <code>add</code> method if there is no limit indices array. Subclasses which override this method must also call it from the overriding method to create the limit indices array.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>capacity</em>&nbsp;</td><td>is the initial size of the data array.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classRunArray.html#ec13891af223b40c422facb70deb73af">add</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003249">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Reimplemented in <a class="el" href="classFontRuns.html#c0882fa9fb71dec3e8ea75b15c5ffb49">FontRuns</a>, <a class="el" href="classLocaleRuns.html#6305af1c0d7dd33ea574e01069298bb3">LocaleRuns</a>, and <a class="el" href="classValueRuns.html#b7d4002af5d6f3deb43e81aa7902ce4a">ValueRuns</a>.
</div>
</div><p>
<a class="anchor" name="53c50aea982a42eb51e947940235ae8d"></a><!-- doxytag: member="RunArray::reset" ref="53c50aea982a42eb51e947940235ae8d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RunArray::reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset the limit indices array. 
<p>
This method sets the number of entries in the limit indices array to zero. It does not delete the array.<p>
Note: Subclass arrays will also be reset and not deleted.<p>
<dl compact><dt><b><a class="el" href="draft.html#_draft000279">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 3.6 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00245">245</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="5973f314ff5e874a235fa001ea1f19fd"></a><!-- doxytag: member="RunArray::fClientArrays" ref="5973f314ff5e874a235fa001ea1f19fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#f2dbcdbfe51e0c2b6c6913d52a0bab68">le_bool</a> <a class="el" href="classRunArray.html#5973f314ff5e874a235fa001ea1f19fd">RunArray::fClientArrays</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set by the constructors to indicate whether or not the client supplied the data arrays. 
<p>
If they were supplied by the client, the <code>add</code> method won't change the arrays and the destructor won't delete them.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003251">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="RunArrays_8h-source.html#l00202">202</a> of file <a class="el" href="RunArrays_8h-source.html">RunArrays.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="RunArrays_8h-source.html">RunArrays.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:55 2011 for ICU 3.6 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>