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j '  'P$a ( `D$Na L?u80e J,K˷NI'0eݷ(NI'؀ 2ipIIKp`:O'`ʤxB8Ѥx Ѥx $ $P6 :vRNb 'p,>NB 'P]-->P T+*^h& p '‰a ‰ (ĵt#u33;Nt̵'ޯ; [3W ~]0KH1q@8]O2]3*̧7# *p>us p _6]/}-4|t'|Smx= DoʾM×M_8!)6lq':l7!|4} '\ne t!=hnLn (~Dn\+‰_4k)0e@OhZ`F `.m1} 'vp{F`ON7Srx 'D˸nV`><;yMx!IS钦OM)Ե٥x 'DSD6bS8!" ODz#R >S8!7ّxEh0m$MIPHi$IvS8IN$I p$O8I,sk&I)$IN$Hi$I^Ah.p$MIN$IR8I·N "IF9Ah0m$MIN$IR8IN$I 3jIU;kO$ɳN$+ q.x* tEXtComment

Viewing File: /opt/alt/alt-nodejs18/root/usr/share/doc/alt-nodejs18-libicu-doc/ustringtrie_8h.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 74.2: common/unicode/ustringtrie.h File 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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 74.2
   &#160;<span id="projectnumber">74.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></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="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">ustringtrie.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Helper definitions for dictionary trie APIs.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br />
</div>
<p><a href="ustringtrie_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad1e3fea7099ad56dfbc6d82d997a15ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ustringtrie_8h.html#ad1e3fea7099ad56dfbc6d82d997a15ec">USTRINGTRIE_MATCHES</a>(result)&#160;&#160;&#160;((result)!=<a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37">USTRINGTRIE_NO_MATCH</a>)</td></tr>
<tr class="memdesc:ad1e3fea7099ad56dfbc6d82d997a15ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as (result!=USTRINGTRIE_NO_MATCH).  <a href="ustringtrie_8h.html#ad1e3fea7099ad56dfbc6d82d997a15ec">More...</a><br /></td></tr>
<tr class="separator:ad1e3fea7099ad56dfbc6d82d997a15ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bd176224b0d2e692c76d819be185b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ustringtrie_8h.html#af1bd176224b0d2e692c76d819be185b8">USTRINGTRIE_HAS_VALUE</a>(result)&#160;&#160;&#160;((result)&gt;=<a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663">USTRINGTRIE_FINAL_VALUE</a>)</td></tr>
<tr class="memdesc:af1bd176224b0d2e692c76d819be185b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equivalent to (result==USTRINGTRIE_INTERMEDIATE_VALUE || result==USTRINGTRIE_FINAL_VALUE) but this macro evaluates result exactly once.  <a href="ustringtrie_8h.html#af1bd176224b0d2e692c76d819be185b8">More...</a><br /></td></tr>
<tr class="separator:af1bd176224b0d2e692c76d819be185b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1962396a228f3d0f7d073fef78e2e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ustringtrie_8h.html#a7e1962396a228f3d0f7d073fef78e2e0">USTRINGTRIE_HAS_NEXT</a>(result)&#160;&#160;&#160;((result)&amp;1)</td></tr>
<tr class="memdesc:a7e1962396a228f3d0f7d073fef78e2e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equivalent to (result==USTRINGTRIE_NO_VALUE || result==USTRINGTRIE_INTERMEDIATE_VALUE) but this macro evaluates result exactly once.  <a href="ustringtrie_8h.html#a7e1962396a228f3d0f7d073fef78e2e0">More...</a><br /></td></tr>
<tr class="separator:a7e1962396a228f3d0f7d073fef78e2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a760046451d48a1551ba71162a31365bd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> { <a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37">USTRINGTRIE_NO_MATCH</a>
, <a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda686677dbe92d514a0f424b48810fb21c">USTRINGTRIE_NO_VALUE</a>
, <a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663">USTRINGTRIE_FINAL_VALUE</a>
, <a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda62f2fef78e07bab5f68fa803b581504f">USTRINGTRIE_INTERMEDIATE_VALUE</a>
 }</td></tr>
<tr class="memdesc:a760046451d48a1551ba71162a31365bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return values for BytesTrie::next(), UCharsTrie::next() and similar methods.  <a href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">More...</a><br /></td></tr>
<tr class="separator:a760046451d48a1551ba71162a31365bd"><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>C API: Helper definitions for dictionary trie APIs. </p>

<p class="definition">Definition in file <a class="el" href="ustringtrie_8h_source.html">ustringtrie.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a7e1962396a228f3d0f7d073fef78e2e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e1962396a228f3d0f7d073fef78e2e0">&#9670;&nbsp;</a></span>USTRINGTRIE_HAS_NEXT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USTRINGTRIE_HAS_NEXT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">result</td><td>)</td>
          <td>&#160;&#160;&#160;((result)&amp;1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Equivalent to (result==USTRINGTRIE_NO_VALUE || result==USTRINGTRIE_INTERMEDIATE_VALUE) but this macro evaluates result exactly once. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A result from BytesTrie::first(), UCharsTrie::next() etc. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if another input byte/unit can continue a matching string. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003249">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="ustringtrie_8h_source.html#l00095">95</a> of file <a class="el" href="ustringtrie_8h_source.html">ustringtrie.h</a>.</p>

</div>
</div>
<a id="af1bd176224b0d2e692c76d819be185b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1bd176224b0d2e692c76d819be185b8">&#9670;&nbsp;</a></span>USTRINGTRIE_HAS_VALUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USTRINGTRIE_HAS_VALUE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">result</td><td>)</td>
          <td>&#160;&#160;&#160;((result)&gt;=<a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663">USTRINGTRIE_FINAL_VALUE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Equivalent to (result==USTRINGTRIE_INTERMEDIATE_VALUE || result==USTRINGTRIE_FINAL_VALUE) but this macro evaluates result exactly once. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A result from BytesTrie::first(), UCharsTrie::next() etc. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if there is a value for the input bytes/units so far. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>BytesTrie::getValue </dd>
<dd>
UCharsTrie::getValue </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003248">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="ustringtrie_8h_source.html#l00086">86</a> of file <a class="el" href="ustringtrie_8h_source.html">ustringtrie.h</a>.</p>

</div>
</div>
<a id="ad1e3fea7099ad56dfbc6d82d997a15ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e3fea7099ad56dfbc6d82d997a15ec">&#9670;&nbsp;</a></span>USTRINGTRIE_MATCHES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USTRINGTRIE_MATCHES</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">result</td><td>)</td>
          <td>&#160;&#160;&#160;((result)!=<a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37">USTRINGTRIE_NO_MATCH</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as (result!=USTRINGTRIE_NO_MATCH). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A result from BytesTrie::first(), UCharsTrie::next() etc. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the input bytes/units so far are part of a matching string/byte sequence. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003247">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="ustringtrie_8h_source.html#l00075">75</a> of file <a class="el" href="ustringtrie_8h_source.html">ustringtrie.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a760046451d48a1551ba71162a31365bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a760046451d48a1551ba71162a31365bd">&#9670;&nbsp;</a></span>UStringTrieResult</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return values for BytesTrie::next(), UCharsTrie::next() and similar methods. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ustringtrie_8h.html#ad1e3fea7099ad56dfbc6d82d997a15ec" title="Same as (result!=USTRINGTRIE_NO_MATCH).">USTRINGTRIE_MATCHES</a> </dd>
<dd>
<a class="el" href="ustringtrie_8h.html#af1bd176224b0d2e692c76d819be185b8" title="Equivalent to (result==USTRINGTRIE_INTERMEDIATE_VALUE || result==USTRINGTRIE_FINAL_VALUE) but this ma...">USTRINGTRIE_HAS_VALUE</a> </dd>
<dd>
<a class="el" href="ustringtrie_8h.html#a7e1962396a228f3d0f7d073fef78e2e0" title="Equivalent to (result==USTRINGTRIE_NO_VALUE || result==USTRINGTRIE_INTERMEDIATE_VALUE) but this macro...">USTRINGTRIE_HAS_NEXT</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003246">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a760046451d48a1551ba71162a31365bda59cdeb2ea73a75c61684b4ea11ccfb37"></a>USTRINGTRIE_NO_MATCH&#160;</td><td class="fielddoc"><p>The input unit(s) did not continue a matching string. </p>
<p>Once current()/next() return USTRINGTRIE_NO_MATCH, all further calls to current()/next() will also return USTRINGTRIE_NO_MATCH, until the trie is reset to its original state or to a saved state. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003250">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a760046451d48a1551ba71162a31365bda686677dbe92d514a0f424b48810fb21c"></a>USTRINGTRIE_NO_VALUE&#160;</td><td class="fielddoc"><p>The input unit(s) continued a matching string but there is no value for the string so far. </p>
<p>(It is a prefix of a longer string.) </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003251">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a760046451d48a1551ba71162a31365bda4474a12ed66e5def252c31cadd0a2663"></a>USTRINGTRIE_FINAL_VALUE&#160;</td><td class="fielddoc"><p>The input unit(s) continued a matching string and there is a value for the string so far. </p>
<p>This value will be returned by getValue(). No further input byte/unit can continue a matching string. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003252">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a760046451d48a1551ba71162a31365bda62f2fef78e07bab5f68fa803b581504f"></a>USTRINGTRIE_INTERMEDIATE_VALUE&#160;</td><td class="fielddoc"><p>The input unit(s) continued a matching string and there is a value for the string so far. </p>
<p>This value will be returned by getValue(). Another input byte/unit can continue a matching string. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003253">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="ustringtrie_8h_source.html#l00035">35</a> of file <a class="el" href="ustringtrie_8h_source.html">ustringtrie.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
Back to Directory=ceiIENDB`