<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>ICU 4.4.1: RunArrays.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.2-20100208 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>RunArrays.h</h1><a href="RunArrays_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> **********************************************************************</span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2003-2008, International Business Machines</span> <a name="l00004"></a>00004 <span class="comment"> * Corporation and others. All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment"> **********************************************************************</span> <a name="l00006"></a>00006 <span class="comment"> */</span> <a name="l00007"></a>00007 <a name="l00008"></a>00008 <span class="preprocessor">#ifndef __RUNARRAYS_H</span> <a name="l00009"></a>00009 <span class="preprocessor"></span> <a name="l00010"></a>00010 <span class="preprocessor">#define __RUNARRAYS_H</span> <a name="l00011"></a>00011 <span class="preprocessor"></span> <a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="LETypes_8h.html" title="C API: Basic definitions for the ICU LayoutEngine.">layout/LETypes.h</a>"</span> <a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="LEFontInstance_8h.html" title="C++ API: Layout Engine Font Instance object.">layout/LEFontInstance.h</a>"</span> <a name="l00014"></a>00014 <a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span> <a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>"</span> <a name="l00017"></a>00017 <a name="l00023"></a>00023 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a> <a name="l00024"></a>00024 <a name="l00030"></a><a class="code" href="RunArrays_8h.html#a5446a5bbb68bb93392b04dfbfa0095af">00030</a> <span class="preprocessor">#define INITIAL_CAPACITY 16</span> <a name="l00031"></a>00031 <span class="preprocessor"></span> <a name="l00038"></a><a class="code" href="RunArrays_8h.html#a455292ae142c1e3123a29ab245695923">00038</a> <span class="preprocessor">#define CAPACITY_GROW_LIMIT 128</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> <a name="l00048"></a><a class="code" href="classRunArray.html">00048</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a29c71565364a6e97d98b45c4e928d567" title="Set to export library symbols from inside the layout extensions library, and to import...">U_LAYOUTEX_API</a> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> <a name="l00049"></a>00049 { <a name="l00050"></a>00050 <span class="keyword">public</span>: <a name="l00062"></a>00062 <span class="keyword">inline</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(<span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count); <a name="l00063"></a>00063 <a name="l00075"></a>00075 <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> initialCapacity); <a name="l00076"></a>00076 <a name="l00082"></a>00082 <span class="keyword">virtual</span> ~<a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(); <a name="l00083"></a>00083 <a name="l00091"></a>00091 <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> getCount() <span class="keyword">const</span>; <a name="l00092"></a>00092 <a name="l00101"></a>00101 <span class="keyword">inline</span> <span class="keywordtype">void</span> reset(); <a name="l00102"></a>00102 <a name="l00111"></a>00111 <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> getLimit() <span class="keyword">const</span>; <a name="l00112"></a>00112 <a name="l00122"></a>00122 <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> getLimit(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> run) <span class="keyword">const</span>; <a name="l00123"></a>00123 <a name="l00148"></a>00148 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> add(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> limit); <a name="l00149"></a>00149 <a name="l00155"></a><a class="code" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df">00155</a> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>() { <span class="keywordflow">return</span> (<a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a>)&fgClassID; } <a name="l00156"></a>00156 <a name="l00162"></a><a class="code" href="classRunArray.html#a7f74856ce5a362740299a359dc945a45">00162</a> <span class="keyword">virtual</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classRunArray.html#a7f74856ce5a362740299a359dc945a45" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class.">getDynamicClassID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> getStaticClassID(); } <a name="l00163"></a>00163 <a name="l00164"></a>00164 <span class="keyword">protected</span>: <a name="l00177"></a>00177 <span class="keyword">virtual</span> <span class="keywordtype">void</span> init(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00178"></a>00178 <a name="l00191"></a>00191 <span class="keyword">virtual</span> <span class="keywordtype">void</span> grow(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00192"></a>00192 <a name="l00202"></a><a class="code" href="classRunArray.html#a9a1062251664dc9184f474a7134f7dfa">00202</a> <a class="code" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f" title="A type used for boolean values.">le_bool</a> fClientArrays; <a name="l00203"></a>00203 <a name="l00204"></a>00204 <span class="keyword">private</span>: <a name="l00209"></a>00209 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> fgClassID; <a name="l00210"></a>00210 <a name="l00211"></a>00211 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> ensureCapacity(); <a name="l00212"></a>00212 <a name="l00213"></a>00213 <span class="keyword">inline</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(); <a name="l00214"></a>00214 <span class="keyword">inline</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(<span class="keyword">const</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> & <span class="comment">/*other*/</span>); <a name="l00215"></a>00215 <span class="keyword">inline</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> &operator=(<span class="keyword">const</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> & <span class="comment">/*other*/</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }; <a name="l00216"></a>00216 <a name="l00217"></a>00217 <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *fLimits; <a name="l00218"></a>00218 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> fCount; <a name="l00219"></a>00219 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> fCapacity; <a name="l00220"></a>00220 }; <a name="l00221"></a>00221 <a name="l00222"></a>00222 <span class="keyword">inline</span> <a class="code" href="classRunArray.html#adb0a5403e1740a80e986b6c0283cda9f" title="Construct a RunArray object from a pre-existing array of limit indices.">RunArray::RunArray</a>() <a name="l00223"></a>00223 : <a class="code" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>(), fClientArrays(<a class="code" href="umachine_8h.html#aa93f0eb578d23995850d61f7d61c55c1" title="The FALSE value of a UBool.">FALSE</a>), fLimits(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>), fCount(0), fCapacity(0) <a name="l00224"></a>00224 { <a name="l00225"></a>00225 <span class="comment">// nothing else to do...</span> <a name="l00226"></a>00226 } <a name="l00227"></a>00227 <a name="l00228"></a>00228 <span class="keyword">inline</span> <a class="code" href="classRunArray.html#adb0a5403e1740a80e986b6c0283cda9f" title="Construct a RunArray object from a pre-existing array of limit indices.">RunArray::RunArray</a>(<span class="keyword">const</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> & <span class="comment">/*other*/</span>) <a name="l00229"></a>00229 : <a class="code" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>(), fClientArrays(<a class="code" href="umachine_8h.html#aa93f0eb578d23995850d61f7d61c55c1" title="The FALSE value of a UBool.">FALSE</a>), fLimits(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>), fCount(0), fCapacity(0) <a name="l00230"></a>00230 { <a name="l00231"></a>00231 <span class="comment">// nothing else to do...</span> <a name="l00232"></a>00232 } <a name="l00233"></a>00233 <a name="l00234"></a><a class="code" href="classRunArray.html#adb0a5403e1740a80e986b6c0283cda9f">00234</a> <span class="keyword">inline</span> <a class="code" href="classRunArray.html#adb0a5403e1740a80e986b6c0283cda9f" title="Construct a RunArray object from a pre-existing array of limit indices.">RunArray::RunArray</a>(<span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count) <a name="l00235"></a>00235 : <a class="code" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>(), fClientArrays(<a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>), fLimits(limits), fCount(count), fCapacity(count) <a name="l00236"></a>00236 { <a name="l00237"></a>00237 <span class="comment">// nothing else to do...</span> <a name="l00238"></a>00238 } <a name="l00239"></a>00239 <a name="l00240"></a><a class="code" href="classRunArray.html#aa27046af9057093e596e0df45aeb2dba">00240</a> <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#aa27046af9057093e596e0df45aeb2dba" title="Get the number of entries in the limit indices array.">RunArray::getCount</a>()<span class="keyword"> const</span> <a name="l00241"></a>00241 <span class="keyword"></span>{ <a name="l00242"></a>00242 <span class="keywordflow">return</span> fCount; <a name="l00243"></a>00243 } <a name="l00244"></a>00244 <a name="l00245"></a><a class="code" href="classRunArray.html#ac648426b69620527e228bbc548dd2044">00245</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#ac648426b69620527e228bbc548dd2044" title="Reset the limit indices array.">RunArray::reset</a>() <a name="l00246"></a>00246 { <a name="l00247"></a>00247 fCount = 0; <a name="l00248"></a>00248 } <a name="l00249"></a>00249 <a name="l00250"></a><a class="code" href="classRunArray.html#a82da4f4973708eb1d597f44ce3b80885">00250</a> <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3" title="Get the last limit index.">RunArray::getLimit</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> run)<span class="keyword"> const</span> <a name="l00251"></a>00251 <span class="keyword"></span>{ <a name="l00252"></a>00252 <span class="keywordflow">if</span> (run < 0 || run >= fCount) { <a name="l00253"></a>00253 <span class="keywordflow">return</span> -1; <a name="l00254"></a>00254 } <a name="l00255"></a>00255 <a name="l00256"></a>00256 <span class="keywordflow">return</span> fLimits[run]; <a name="l00257"></a>00257 } <a name="l00258"></a>00258 <a name="l00259"></a><a class="code" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3">00259</a> <span class="keyword">inline</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3" title="Get the last limit index.">RunArray::getLimit</a>()<span class="keyword"> const</span> <a name="l00260"></a>00260 <span class="keyword"></span>{ <a name="l00261"></a>00261 <span class="keywordflow">return</span> <a class="code" href="classRunArray.html#a428e9f6f1ade14e5cc33c6bb0f911ab3" title="Get the last limit index.">getLimit</a>(fCount - 1); <a name="l00262"></a>00262 } <a name="l00263"></a>00263 <a name="l00270"></a><a class="code" href="classFontRuns.html">00270</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a29c71565364a6e97d98b45c4e928d567" title="Set to export library symbols from inside the layout extensions library, and to import...">U_LAYOUTEX_API</a> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a> : <span class="keyword">public</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> <a name="l00271"></a>00271 { <a name="l00272"></a>00272 <span class="keyword">public</span>: <a name="l00288"></a>00288 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a>(<span class="keyword">const</span> <a class="code" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine...">LEFontInstance</a> **fonts, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count); <a name="l00289"></a>00289 <a name="l00301"></a>00301 <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> initialCapacity); <a name="l00302"></a>00302 <a name="l00308"></a>00308 <span class="keyword">virtual</span> ~<a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a>(); <a name="l00309"></a>00309 <a name="l00323"></a>00323 <span class="keyword">const</span> <a class="code" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine...">LEFontInstance</a> *getFont(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> run) <span class="keyword">const</span>; <a name="l00324"></a>00324 <a name="l00325"></a>00325 <a name="l00348"></a>00348 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#a7c213f82f5c9cfa16bf866203cc30f5d" title="Add a limit index to the limit indices array and return the run index where it was...">add</a>(<span class="keyword">const</span> <a class="code" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine...">LEFontInstance</a> *font, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> limit); <a name="l00349"></a>00349 <a name="l00355"></a><a class="code" href="classFontRuns.html#aec8bc3b6506ef15bb628ca85bc3bee03">00355</a> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classFontRuns.html#aec8bc3b6506ef15bb628ca85bc3bee03" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>() { <span class="keywordflow">return</span> (<a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a>)&fgClassID; } <a name="l00356"></a>00356 <a name="l00362"></a><a class="code" href="classFontRuns.html#a25081829cead67f5bea9f4713ed1bc0d">00362</a> <span class="keyword">virtual</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classFontRuns.html#a25081829cead67f5bea9f4713ed1bc0d" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class.">getDynamicClassID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>(); } <a name="l00363"></a>00363 <a name="l00364"></a>00364 <span class="keyword">protected</span>: <a name="l00365"></a>00365 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#a4a4822936fdabd6c9336134fb659a32d" title="Create a data array with the given initial size.">init</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00366"></a>00366 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#ac09e01408d8afa1272027a8937a4e1a1" title="Grow a data array to the given initial size.">grow</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00367"></a>00367 <a name="l00368"></a>00368 <span class="keyword">private</span>: <a name="l00369"></a>00369 <a name="l00370"></a>00370 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a>(); <a name="l00371"></a>00371 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a>(<span class="keyword">const</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a> &other); <a name="l00372"></a>00372 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a> &operator=(<span class="keyword">const</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a> & <span class="comment">/*other*/</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }; <a name="l00373"></a>00373 <a name="l00378"></a>00378 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> fgClassID; <a name="l00379"></a>00379 <a name="l00380"></a>00380 <span class="keyword">const</span> <a class="code" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine...">LEFontInstance</a> **fFonts; <a name="l00381"></a>00381 }; <a name="l00382"></a>00382 <a name="l00383"></a>00383 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html#abed9bd234037ff00ab329b4b32db46c6" title="Construct a FontRuns object from pre-existing arrays of fonts and limit indices.">FontRuns::FontRuns</a>() <a name="l00384"></a>00384 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fFonts(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00385"></a>00385 { <a name="l00386"></a>00386 <span class="comment">// nothing else to do...</span> <a name="l00387"></a>00387 } <a name="l00388"></a>00388 <a name="l00389"></a>00389 <span class="keyword">inline</span> <a class="code" href="classFontRuns.html#abed9bd234037ff00ab329b4b32db46c6" title="Construct a FontRuns object from pre-existing arrays of fonts and limit indices.">FontRuns::FontRuns</a>(<span class="keyword">const</span> <a class="code" href="classFontRuns.html" title="The FontRuns class associates pointers to LEFontInstance objects with runs of text...">FontRuns</a> & <span class="comment">/*other*/</span>) <a name="l00390"></a>00390 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fFonts(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00391"></a>00391 { <a name="l00392"></a>00392 <span class="comment">// nothing else to do...</span> <a name="l00393"></a>00393 } <a name="l00394"></a>00394 <a name="l00395"></a><a class="code" href="classFontRuns.html#abed9bd234037ff00ab329b4b32db46c6">00395</a> <span class="keyword">inline</span> <a class="code" href="classFontRuns.html#abed9bd234037ff00ab329b4b32db46c6" title="Construct a FontRuns object from pre-existing arrays of fonts and limit indices.">FontRuns::FontRuns</a>(<span class="keyword">const</span> <a class="code" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine...">LEFontInstance</a> **fonts, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count) <a name="l00396"></a>00396 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(limits, count), fFonts(fonts) <a name="l00397"></a>00397 { <a name="l00398"></a>00398 <span class="comment">// nothing else to do...</span> <a name="l00399"></a>00399 } <a name="l00400"></a>00400 <a name="l00407"></a><a class="code" href="classLocaleRuns.html">00407</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a29c71565364a6e97d98b45c4e928d567" title="Set to export library symbols from inside the layout extensions library, and to import...">U_LAYOUTEX_API</a> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a> : <span class="keyword">public</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> <a name="l00408"></a>00408 { <a name="l00409"></a>00409 <span class="keyword">public</span>: <a name="l00425"></a>00425 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> **locales, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count); <a name="l00426"></a>00426 <a name="l00438"></a>00438 <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> initialCapacity); <a name="l00439"></a>00439 <a name="l00445"></a>00445 <span class="keyword">virtual</span> ~<a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a>(); <a name="l00446"></a>00446 <a name="l00460"></a>00460 <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> *getLocale(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> run) <span class="keyword">const</span>; <a name="l00461"></a>00461 <a name="l00462"></a>00462 <a name="l00485"></a>00485 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#a7c213f82f5c9cfa16bf866203cc30f5d" title="Add a limit index to the limit indices array and return the run index where it was...">add</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> *locale, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> limit); <a name="l00486"></a>00486 <a name="l00492"></a><a class="code" href="classLocaleRuns.html#a52edcaca01912fae1acf10599b392fbb">00492</a> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classLocaleRuns.html#a52edcaca01912fae1acf10599b392fbb" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>() { <span class="keywordflow">return</span> (<a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a>)&fgClassID; } <a name="l00493"></a>00493 <a name="l00499"></a><a class="code" href="classLocaleRuns.html#a6bda9996d279606a34deca94b171eb3f">00499</a> <span class="keyword">virtual</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classLocaleRuns.html#a6bda9996d279606a34deca94b171eb3f" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class.">getDynamicClassID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>(); } <a name="l00500"></a>00500 <a name="l00501"></a>00501 <span class="keyword">protected</span>: <a name="l00502"></a>00502 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#a4a4822936fdabd6c9336134fb659a32d" title="Create a data array with the given initial size.">init</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00503"></a>00503 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#ac09e01408d8afa1272027a8937a4e1a1" title="Grow a data array to the given initial size.">grow</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00504"></a>00504 <a name="l00508"></a><a class="code" href="classLocaleRuns.html#adcaeedc7587924add095b31165c3a7fd">00508</a> <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> **fLocales; <a name="l00509"></a>00509 <a name="l00510"></a>00510 <span class="keyword">private</span>: <a name="l00511"></a>00511 <a name="l00512"></a>00512 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a>(); <a name="l00513"></a>00513 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a>(<span class="keyword">const</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a> &other); <a name="l00514"></a>00514 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a> &operator=(<span class="keyword">const</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a> & <span class="comment">/*other*/</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }; <a name="l00515"></a>00515 <a name="l00520"></a>00520 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> fgClassID; <a name="l00521"></a>00521 }; <a name="l00522"></a>00522 <a name="l00523"></a>00523 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html#a8282fa6174a3891270703ddb4c54da6c" title="Construct a LocaleRuns object from pre-existing arrays of locales and limit indices...">LocaleRuns::LocaleRuns</a>() <a name="l00524"></a>00524 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fLocales(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00525"></a>00525 { <a name="l00526"></a>00526 <span class="comment">// nothing else to do...</span> <a name="l00527"></a>00527 } <a name="l00528"></a>00528 <a name="l00529"></a>00529 <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html#a8282fa6174a3891270703ddb4c54da6c" title="Construct a LocaleRuns object from pre-existing arrays of locales and limit indices...">LocaleRuns::LocaleRuns</a>(<span class="keyword">const</span> <a class="code" href="classLocaleRuns.html" title="The LocaleRuns class associates pointers to Locale objects with runs of text.">LocaleRuns</a> & <span class="comment">/*other*/</span>) <a name="l00530"></a>00530 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fLocales(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00531"></a>00531 { <a name="l00532"></a>00532 <span class="comment">// nothing else to do...</span> <a name="l00533"></a>00533 } <a name="l00534"></a>00534 <a name="l00535"></a><a class="code" href="classLocaleRuns.html#a8282fa6174a3891270703ddb4c54da6c">00535</a> <span class="keyword">inline</span> <a class="code" href="classLocaleRuns.html#a8282fa6174a3891270703ddb4c54da6c" title="Construct a LocaleRuns object from pre-existing arrays of locales and limit indices...">LocaleRuns::LocaleRuns</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> **locales, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count) <a name="l00536"></a>00536 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(limits, count), fLocales(locales) <a name="l00537"></a>00537 { <a name="l00538"></a>00538 <span class="comment">// nothing else to do...</span> <a name="l00539"></a>00539 } <a name="l00540"></a>00540 <a name="l00546"></a><a class="code" href="classValueRuns.html">00546</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a29c71565364a6e97d98b45c4e928d567" title="Set to export library symbols from inside the layout extensions library, and to import...">U_LAYOUTEX_API</a> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a> : <span class="keyword">public</span> <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a> <a name="l00547"></a>00547 { <a name="l00548"></a>00548 <span class="keyword">public</span>: <a name="l00563"></a>00563 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a>(<span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *values, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count); <a name="l00564"></a>00564 <a name="l00576"></a>00576 <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> initialCapacity); <a name="l00577"></a>00577 <a name="l00583"></a>00583 <span class="keyword">virtual</span> ~<a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a>(); <a name="l00584"></a>00584 <a name="l00598"></a>00598 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> getValue(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> run) <span class="keyword">const</span>; <a name="l00599"></a>00599 <a name="l00600"></a>00600 <a name="l00622"></a>00622 <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> <a class="code" href="classRunArray.html#a7c213f82f5c9cfa16bf866203cc30f5d" title="Add a limit index to the limit indices array and return the run index where it was...">add</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> value, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> limit); <a name="l00623"></a>00623 <a name="l00629"></a><a class="code" href="classValueRuns.html#aabeaef6897245191ee77d30ed6765928">00629</a> <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classValueRuns.html#aabeaef6897245191ee77d30ed6765928" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>() { <span class="keywordflow">return</span> (<a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a>)&fgClassID; } <a name="l00630"></a>00630 <a name="l00636"></a><a class="code" href="classValueRuns.html#a67df1e43e2f102e33ec94af3729e939e">00636</a> <span class="keyword">virtual</span> <span class="keyword">inline</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classValueRuns.html#a67df1e43e2f102e33ec94af3729e939e" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class.">getDynamicClassID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classRunArray.html#ab9bc82428042aa0ab416de2cf5ece3df" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for this class.">getStaticClassID</a>(); } <a name="l00637"></a>00637 <a name="l00638"></a>00638 <span class="keyword">protected</span>: <a name="l00639"></a>00639 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#a4a4822936fdabd6c9336134fb659a32d" title="Create a data array with the given initial size.">init</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00640"></a>00640 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRunArray.html#ac09e01408d8afa1272027a8937a4e1a1" title="Grow a data array to the given initial size.">grow</a>(<a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> capacity); <a name="l00641"></a>00641 <a name="l00642"></a>00642 <span class="keyword">private</span>: <a name="l00643"></a>00643 <a name="l00644"></a>00644 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a>(); <a name="l00645"></a>00645 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a>(<span class="keyword">const</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a> &other); <a name="l00646"></a>00646 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a> &operator=(<span class="keyword">const</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a> & <span class="comment">/*other*/</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }; <a name="l00647"></a>00647 <a name="l00652"></a>00652 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> fgClassID; <a name="l00653"></a>00653 <a name="l00654"></a>00654 <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *fValues; <a name="l00655"></a>00655 }; <a name="l00656"></a>00656 <a name="l00657"></a>00657 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html#a8f584dddcce036fa85e7f8280913b712" title="Construct a ValueRuns object from pre-existing arrays of values and limit indices...">ValueRuns::ValueRuns</a>() <a name="l00658"></a>00658 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fValues(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00659"></a>00659 { <a name="l00660"></a>00660 <span class="comment">// nothing else to do...</span> <a name="l00661"></a>00661 } <a name="l00662"></a>00662 <a name="l00663"></a>00663 <span class="keyword">inline</span> <a class="code" href="classValueRuns.html#a8f584dddcce036fa85e7f8280913b712" title="Construct a ValueRuns object from pre-existing arrays of values and limit indices...">ValueRuns::ValueRuns</a>(<span class="keyword">const</span> <a class="code" href="classValueRuns.html" title="The ValueRuns class associates integer values with runs of text.">ValueRuns</a> & <span class="comment">/*other*/</span>) <a name="l00664"></a>00664 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(0), fValues(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <a name="l00665"></a>00665 { <a name="l00666"></a>00666 <span class="comment">// nothing else to do...</span> <a name="l00667"></a>00667 } <a name="l00668"></a>00668 <a name="l00669"></a><a class="code" href="classValueRuns.html#a8f584dddcce036fa85e7f8280913b712">00669</a> <span class="keyword">inline</span> <a class="code" href="classValueRuns.html#a8f584dddcce036fa85e7f8280913b712" title="Construct a ValueRuns object from pre-existing arrays of values and limit indices...">ValueRuns::ValueRuns</a>(<span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *values, <span class="keyword">const</span> <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> *limits, <a class="code" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a" title="A type used for signed, 32-bit integers.">le_int32</a> count) <a name="l00670"></a>00670 : <a class="code" href="classRunArray.html" title="The RunArray class is a base class for building classes which represent data that...">RunArray</a>(limits, count), fValues(values) <a name="l00671"></a>00671 { <a name="l00672"></a>00672 <span class="comment">// nothing else to do...</span> <a name="l00673"></a>00673 } <a name="l00674"></a>00674 <a name="l00675"></a>00675 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a> <a name="l00676"></a>00676 <span class="preprocessor">#endif</span> </pre></div></div> <!--- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>