Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ae3ac0f3c84b68877416000d08e53ca8 > files > 152

libicu-doc-49.1.1-12.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>ICU 49.1.1: LocaleRuns Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 49.1.1
   &#160;<span id="projectnumber">49.1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">LocaleRuns Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> class associates pointers to <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> objects with runs of text.  
 <a href="classLocaleRuns.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for LocaleRuns:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classLocaleRuns.png" usemap="#LocaleRuns_map" alt=""/>
  <map id="LocaleRuns_map" name="LocaleRuns_map">
<area href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that is associated with ..." alt="RunArray" shape="rect" coords="0,112,78,136"/>
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class." alt="UObject" shape="rect" coords="0,56,78,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class." alt="UMemory" shape="rect" coords="0,0,78,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8282fa6174a3891270703ddb4c54da6c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#a8282fa6174a3891270703ddb4c54da6c">LocaleRuns</a> (const <a class="el" href="classLocale.html">Locale</a> **locales, const <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> *limits, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count)</td></tr>
<tr class="memdesc:a8282fa6174a3891270703ddb4c54da6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object from pre-existing arrays of locales and limit indices.  <a href="#a8282fa6174a3891270703ddb4c54da6c">More...</a><br/></td></tr>
<tr class="separator:a8282fa6174a3891270703ddb4c54da6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6375d0eb7bb76da6f6f7e3b44ec0538"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#af6375d0eb7bb76da6f6f7e3b44ec0538">LocaleRuns</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> initialCapacity)</td></tr>
<tr class="memdesc:af6375d0eb7bb76da6f6f7e3b44ec0538"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an empty <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object.  <a href="#af6375d0eb7bb76da6f6f7e3b44ec0538">More...</a><br/></td></tr>
<tr class="separator:af6375d0eb7bb76da6f6f7e3b44ec0538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbd03fe28b1de8c48fec0529d30e3a94"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#acbd03fe28b1de8c48fec0529d30e3a94">~LocaleRuns</a> ()</td></tr>
<tr class="memdesc:acbd03fe28b1de8c48fec0529d30e3a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">The destructor; virtual so that subclass destructors are invoked as well.  <a href="#acbd03fe28b1de8c48fec0529d30e3a94">More...</a><br/></td></tr>
<tr class="separator:acbd03fe28b1de8c48fec0529d30e3a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9151f9c8003f364ee43e783be5121363"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#a9151f9c8003f364ee43e783be5121363">getLocale</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> run) const </td></tr>
<tr class="memdesc:a9151f9c8003f364ee43e783be5121363"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> object assoicated with the given run of text.  <a href="#a9151f9c8003f364ee43e783be5121363">More...</a><br/></td></tr>
<tr class="separator:a9151f9c8003f364ee43e783be5121363"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6112a3fb134a6c902d8adab0979054f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#a6112a3fb134a6c902d8adab0979054f4">add</a> (const <a class="el" href="classLocale.html">Locale</a> *locale, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> limit)</td></tr>
<tr class="memdesc:a6112a3fb134a6c902d8adab0979054f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> and limit index pair to the data arrays and return the run index where the data was stored.  <a href="#a6112a3fb134a6c902d8adab0979054f4">More...</a><br/></td></tr>
<tr class="separator:a6112a3fb134a6c902d8adab0979054f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bda9996d279606a34deca94b171eb3f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#a6bda9996d279606a34deca94b171eb3f">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:a6bda9996d279606a34deca94b171eb3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#a6bda9996d279606a34deca94b171eb3f">More...</a><br/></td></tr>
<tr class="separator:a6bda9996d279606a34deca94b171eb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classRunArray"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classRunArray')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classRunArray.html">RunArray</a></td></tr>
<tr class="memitem:adb0a5403e1740a80e986b6c0283cda9f inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#adb0a5403e1740a80e986b6c0283cda9f">RunArray</a> (const <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> *limits, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count)</td></tr>
<tr class="memdesc:adb0a5403e1740a80e986b6c0283cda9f inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <code><a class="el" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that is associated with ...">RunArray</a></code> object from a pre-existing array of limit indices.  <a href="#adb0a5403e1740a80e986b6c0283cda9f">More...</a><br/></td></tr>
<tr class="separator:adb0a5403e1740a80e986b6c0283cda9f inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54003b697e0db67f1846433c746c534d inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#a54003b697e0db67f1846433c746c534d">RunArray</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> initialCapacity)</td></tr>
<tr class="memdesc:a54003b697e0db67f1846433c746c534d inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an empty <code><a class="el" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that is associated with ...">RunArray</a></code> object.  <a href="#a54003b697e0db67f1846433c746c534d">More...</a><br/></td></tr>
<tr class="separator:a54003b697e0db67f1846433c746c534d inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af726034756ddcc5b8877d84af80df97a inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#af726034756ddcc5b8877d84af80df97a">~RunArray</a> ()</td></tr>
<tr class="memdesc:af726034756ddcc5b8877d84af80df97a inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">The destructor; virtual so that subclass destructors are invoked as well.  <a href="#af726034756ddcc5b8877d84af80df97a">More...</a><br/></td></tr>
<tr class="separator:af726034756ddcc5b8877d84af80df97a inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa27046af9057093e596e0df45aeb2dba inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#aa27046af9057093e596e0df45aeb2dba">getCount</a> () const </td></tr>
<tr class="memdesc:aa27046af9057093e596e0df45aeb2dba inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of entries in the limit indices array.  <a href="#aa27046af9057093e596e0df45aeb2dba">More...</a><br/></td></tr>
<tr class="separator:aa27046af9057093e596e0df45aeb2dba inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac648426b69620527e228bbc548dd2044 inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#ac648426b69620527e228bbc548dd2044">reset</a> ()</td></tr>
<tr class="memdesc:ac648426b69620527e228bbc548dd2044 inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the limit indices array.  <a href="#ac648426b69620527e228bbc548dd2044">More...</a><br/></td></tr>
<tr class="separator:ac648426b69620527e228bbc548dd2044 inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a428e9f6f1ade14e5cc33c6bb0f911ab3 inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3">getLimit</a> () const </td></tr>
<tr class="memdesc:a428e9f6f1ade14e5cc33c6bb0f911ab3 inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the last limit index.  <a href="#a428e9f6f1ade14e5cc33c6bb0f911ab3">More...</a><br/></td></tr>
<tr class="separator:a428e9f6f1ade14e5cc33c6bb0f911ab3 inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82da4f4973708eb1d597f44ce3b80885 inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#a82da4f4973708eb1d597f44ce3b80885">getLimit</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> run) const </td></tr>
<tr class="memdesc:a82da4f4973708eb1d597f44ce3b80885 inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the limit index for a particular run of text.  <a href="#a82da4f4973708eb1d597f44ce3b80885">More...</a><br/></td></tr>
<tr class="separator:a82da4f4973708eb1d597f44ce3b80885 inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c213f82f5c9cfa16bf866203cc30f5d inherit pub_methods_classRunArray"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#a7c213f82f5c9cfa16bf866203cc30f5d">add</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> limit)</td></tr>
<tr class="memdesc:a7c213f82f5c9cfa16bf866203cc30f5d inherit pub_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a limit index to the limit indices array and return the run index where it was stored.  <a href="#a7c213f82f5c9cfa16bf866203cc30f5d">More...</a><br/></td></tr>
<tr class="separator:a7c213f82f5c9cfa16bf866203cc30f5d inherit pub_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a52edcaca01912fae1acf10599b392fbb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#a52edcaca01912fae1acf10599b392fbb">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a52edcaca01912fae1acf10599b392fbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a52edcaca01912fae1acf10599b392fbb">More...</a><br/></td></tr>
<tr class="separator:a52edcaca01912fae1acf10599b392fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classRunArray"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classRunArray')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classRunArray.html">RunArray</a></td></tr>
<tr class="memitem:ab9bc82428042aa0ab416de2cf5ece3df inherit pub_static_methods_classRunArray"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:ab9bc82428042aa0ab416de2cf5ece3df inherit pub_static_methods_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#ab9bc82428042aa0ab416de2cf5ece3df">More...</a><br/></td></tr>
<tr class="separator:ab9bc82428042aa0ab416de2cf5ece3df inherit pub_static_methods_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac1f490b06fabd89568a68afce43e758c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#ac1f490b06fabd89568a68afce43e758c">init</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> capacity)</td></tr>
<tr class="memdesc:ac1f490b06fabd89568a68afce43e758c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a data array with the given initial size.  <a href="#ac1f490b06fabd89568a68afce43e758c">More...</a><br/></td></tr>
<tr class="separator:ac1f490b06fabd89568a68afce43e758c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba460e67106115f688bae111d2cf39ca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#aba460e67106115f688bae111d2cf39ca">grow</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> capacity)</td></tr>
<tr class="memdesc:aba460e67106115f688bae111d2cf39ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Grow a data array to the given initial size.  <a href="#aba460e67106115f688bae111d2cf39ca">More...</a><br/></td></tr>
<tr class="separator:aba460e67106115f688bae111d2cf39ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:adcaeedc7587924add095b31165c3a7fd"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocaleRuns.html#adcaeedc7587924add095b31165c3a7fd">fLocales</a></td></tr>
<tr class="separator:adcaeedc7587924add095b31165c3a7fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classRunArray"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classRunArray')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classRunArray.html">RunArray</a></td></tr>
<tr class="memitem:a9a1062251664dc9184f474a7134f7dfa inherit pro_attribs_classRunArray"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRunArray.html#a9a1062251664dc9184f474a7134f7dfa">fClientArrays</a></td></tr>
<tr class="memdesc:a9a1062251664dc9184f474a7134f7dfa inherit pro_attribs_classRunArray"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set by the constructors to indicate whether or not the client supplied the data arrays.  <a href="#a9a1062251664dc9184f474a7134f7dfa">More...</a><br/></td></tr>
<tr class="separator:a9a1062251664dc9184f474a7134f7dfa inherit pro_attribs_classRunArray"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> class associates pointers to <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> objects with runs of text. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005064">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>Definition at line <a class="el" href="RunArrays_8h_source.html#l00407">407</a> of file <a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8282fa6174a3891270703ddb4c54da6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">LocaleRuns::LocaleRuns </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> **&#160;</td>
          <td class="paramname"><em>locales</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> *&#160;</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#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object from pre-existing arrays of locales and limit indices. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locales</td><td>is the address of an array of pointers to <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> objects. This array, and the <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> objects to which it points, must remain valid until the <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object is destroyed.</td></tr>
    <tr><td class="paramname">limits</td><td>is the address of an array of limit indices. This array must remain valid until the <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object is destroyed.</td></tr>
    <tr><td class="paramname">count</td><td>is the number of entries in the two arrays.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005086">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>Definition at line <a class="el" href="RunArrays_8h_source.html#l00535">535</a> of file <a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>.</p>

<p>References <a class="el" href="RunArrays_8h_source.html#l00535">LocaleRuns()</a>.</p>

<p>Referenced by <a class="el" href="RunArrays_8h_source.html#l00535">LocaleRuns()</a>.</p>

</div>
</div>
<a class="anchor" id="af6375d0eb7bb76da6f6f7e3b44ec0538"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LocaleRuns::LocaleRuns </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>initialCapacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct an empty <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object. </p>
<p>Clients can add locale and limit indices arrays using the <code>add</code> method.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">initialCapacity</td><td>is the initial size of the locale and limit indices arrays. If this value is zero, no arrays will be allocated.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocaleRuns.html#a6112a3fb134a6c902d8adab0979054f4" title="Add a Locale and limit index pair to the data arrays and return the run index where the data was stor...">add</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005087">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="acbd03fe28b1de8c48fec0529d30e3a94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual LocaleRuns::~LocaleRuns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6112a3fb134a6c902d8adab0979054f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LocaleRuns::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>limit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> and limit index pair to the data arrays and return the run index where the data was stored. </p>
<p>This method calls <code>RunArray::add(limit)</code> which will create or grow the arrays as needed.</p>
<p>If the <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object was created with a client-supplied locale and limit indices arrays, this method will return a run index of -1.</p>
<p>Subclasses should not override this method. Rather they should provide a new <code>add</code> method which takes a locale and a limit index along with whatever other data they implement. The new <code>add</code> method should first call this method to grow the font and limit indices arrays, and use the returned run index to store data their own arrays.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>is the address of the <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> to add. This object must remain valid until the <code><a class="el" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a></code> object is destroyed.</td></tr>
    <tr><td class="paramname">limit</td><td>is the limit index to add</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the run index where the locale and limit index were stored, or -1 if the data cannot be stored.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005090">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a6bda9996d279606a34deca94b171eb3f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> LocaleRuns::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classRunArray.html#a7f74856ce5a362740299a359dc945a45">RunArray</a>.</p>

<p>Definition at line <a class="el" href="RunArrays_8h_source.html#l00499">499</a> of file <a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>.</p>

<p>References <a class="el" href="RunArrays_8h_source.html#l00155">RunArray::getStaticClassID()</a>.</p>

</div>
</div>
<a class="anchor" id="a9151f9c8003f364ee43e783be5121363"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classLocale.html">Locale</a>* LocaleRuns::getLocale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>run</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> object assoicated with the given run of text. </p>
<p>Use <code>RunArray::getLimit(run)</code> to get the corresponding limit index.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">run</td><td>is the index into the font and limit indices arrays.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the <code><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></code> associated with the given text run.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3" title="Get the last limit index.">RunArray::getLimit</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005089">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a52edcaca01912fae1acf10599b392fbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> LocaleRuns::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Definition at line <a class="el" href="RunArrays_8h_source.html#l00492">492</a> of file <a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>.</p>

</div>
</div>
<a class="anchor" id="aba460e67106115f688bae111d2cf39ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void LocaleRuns::grow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>capacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Grow a data array to the given initial size. </p>
<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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">capacity</td><td>is the initial size of the data array.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocaleRuns.html#a6112a3fb134a6c902d8adab0979054f4" title="Add a Locale and limit index pair to the data arrays and return the run index where the data was stor...">add</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005077">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>Reimplemented from <a class="el" href="classRunArray.html#ac09e01408d8afa1272027a8937a4e1a1">RunArray</a>.</p>

</div>
</div>
<a class="anchor" id="ac1f490b06fabd89568a68afce43e758c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void LocaleRuns::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&#160;</td>
          <td class="paramname"><em>capacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a data array with the given initial size. </p>
<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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">capacity</td><td>is the initial size of the data array.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocaleRuns.html#a6112a3fb134a6c902d8adab0979054f4" title="Add a Locale and limit index pair to the data arrays and return the run index where the data was stor...">add</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005076">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>Reimplemented from <a class="el" href="classRunArray.html#a4a4822936fdabd6c9336134fb659a32d">RunArray</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="adcaeedc7587924add095b31165c3a7fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classLocale.html">Locale</a>** LocaleRuns::fLocales</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000635">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="RunArrays_8h_source.html#l00508">508</a> of file <a class="el" href="RunArrays_8h_source.html">RunArrays.h</a>.</p>

</div>
</div>
<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></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>