<!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"/> <title>ICU 52.1: ustringtrie.h Source File</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 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="namespaces.html"><span>Namespaces</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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ustringtrie.h</div> </div> </div><!--header--> <div class="contents"> <a href="ustringtrie_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 2010-2012, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* file name: udicttrie.h</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* encoding: US-ASCII</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">* tab size: 8 (not used)</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* indentation:4</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* created on: 2010dec17</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* created by: Markus W. Scherer</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*/</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef __USTRINGTRIE_H__</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define __USTRINGTRIE_H__</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <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></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd"> 33</a></span> <span class="keyword">enum</span> <a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd" title="Return values for BytesTrie::next(), UCharsTrie::next() and similar methods.">UStringTrieResult</a> {</div> <div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37"> 41</a></span>  <a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37" title="The input unit(s) did not continue a matching string.">USTRINGTRIE_NO_MATCH</a>,</div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda686677dbe92d514a0f424b48810fb21c"> 48</a></span>  <a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda686677dbe92d514a0f424b48810fb21c" title="The input unit(s) continued a matching string but there is no value for the string so far...">USTRINGTRIE_NO_VALUE</a>,</div> <div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663"> 56</a></span>  <a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663" title="The input unit(s) continued a matching string and there is a value for the string so far...">USTRINGTRIE_FINAL_VALUE</a>,</div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda62f2fef78e07bab5f68fa803b581504f"> 64</a></span>  <a class="code" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda62f2fef78e07bab5f68fa803b581504f" title="The input unit(s) continued a matching string and there is a value for the string so far...">USTRINGTRIE_INTERMEDIATE_VALUE</a></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> };</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> <div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#ad1e3fea7099ad56dfbc6d82d997a15ec"> 73</a></span> <span class="preprocessor">#define USTRINGTRIE_MATCHES(result) ((result)!=USTRINGTRIE_NO_MATCH)</span></div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#af1bd176224b0d2e692c76d819be185b8"> 84</a></span> <span class="preprocessor">#define USTRINGTRIE_HAS_VALUE(result) ((result)>=USTRINGTRIE_FINAL_VALUE)</span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="ustringtrie_8h.html#a7e1962396a228f3d0f7d073fef78e2e0"> 93</a></span> <span class="preprocessor">#define USTRINGTRIE_HAS_NEXT(result) ((result)&1)</span></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif </span><span class="comment">/* __USTRINGTRIE_H__ */</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:22 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>