Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 0508df3f0f31cdc1fec017f60572b2b0 > files > 265

libicu-doc-4.8.1.1-5.fc17.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"/>
<title>ICU 4.8.1.1: UCharsTrie 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</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 4.8.1.1
   &#160;<span id="projectnumber">4.8.1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <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>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.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)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </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>
<!-- 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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">UCharsTrie Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Light-weight, non-const reader class for a <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a>.  
 <a href="classUCharsTrie.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for UCharsTrie:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classUCharsTrie.png" usemap="#UCharsTrie_map" alt=""/>
  <map id="UCharsTrie_map" name="UCharsTrie_map">
<area href="classUMemory.html" title="UMemory is the common ICU base class." alt="UMemory" shape="rect" coords="0,0,76,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie_1_1Iterator.html">Iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classUCharsTrie_1_1Iterator.html" title="Iterator for all of the (string, value) pairs in a UCharsTrie.">Iterator</a> for all of the (string, value) pairs in a <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a>.  <a href="classUCharsTrie_1_1Iterator.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie_1_1State.html">State</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> state object, for saving a trie's current state and resetting the trie back to this state later.  <a href="classUCharsTrie_1_1State.html#details">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0d9b923e028d7b99e179cd69f1131a5d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a0d9b923e028d7b99e179cd69f1131a5d">UCharsTrie</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *trieUChars)</td></tr>
<tr class="memdesc:a0d9b923e028d7b99e179cd69f1131a5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> reader instance.  <a href="#a0d9b923e028d7b99e179cd69f1131a5d"></a><br/></td></tr>
<tr class="memitem:a09461556659d79f926f2e5522e43d627"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a09461556659d79f926f2e5522e43d627">~UCharsTrie</a> ()</td></tr>
<tr class="memdesc:a09461556659d79f926f2e5522e43d627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a09461556659d79f926f2e5522e43d627"></a><br/></td></tr>
<tr class="memitem:ac851628b571d47de93b780eb50cc10ed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#ac851628b571d47de93b780eb50cc10ed">UCharsTrie</a> (const <a class="el" href="classUCharsTrie.html">UCharsTrie</a> &amp;other)</td></tr>
<tr class="memdesc:ac851628b571d47de93b780eb50cc10ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor, copies the other trie reader object and its state, but not the UChar array which will be shared.  <a href="#ac851628b571d47de93b780eb50cc10ed"></a><br/></td></tr>
<tr class="memitem:a6071f44a2a7d6803ac633ce93f59f5a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUCharsTrie.html">UCharsTrie</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a6071f44a2a7d6803ac633ce93f59f5a0">reset</a> ()</td></tr>
<tr class="memdesc:a6071f44a2a7d6803ac633ce93f59f5a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this trie to its initial state.  <a href="#a6071f44a2a7d6803ac633ce93f59f5a0"></a><br/></td></tr>
<tr class="memitem:a98f5a94f1a79627633d6f6f4aeb75c4a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUCharsTrie.html">UCharsTrie</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a98f5a94f1a79627633d6f6f4aeb75c4a">saveState</a> (<a class="el" href="classUCharsTrie_1_1State.html">State</a> &amp;state) const </td></tr>
<tr class="memdesc:a98f5a94f1a79627633d6f6f4aeb75c4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the state of this trie.  <a href="#a98f5a94f1a79627633d6f6f4aeb75c4a"></a><br/></td></tr>
<tr class="memitem:a90702fc8679cdd48976c25fea855bc3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUCharsTrie.html">UCharsTrie</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a90702fc8679cdd48976c25fea855bc3a">resetToState</a> (const <a class="el" href="classUCharsTrie_1_1State.html">State</a> &amp;state)</td></tr>
<tr class="memdesc:a90702fc8679cdd48976c25fea855bc3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this trie to the saved state.  <a href="#a90702fc8679cdd48976c25fea855bc3a"></a><br/></td></tr>
<tr class="memitem:a3d27b5429b8411d74c9f586708376308"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a3d27b5429b8411d74c9f586708376308">current</a> () const </td></tr>
<tr class="memdesc:a3d27b5429b8411d74c9f586708376308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the string so far matches, whether it has a value, and whether another input UChar can continue a matching string.  <a href="#a3d27b5429b8411d74c9f586708376308"></a><br/></td></tr>
<tr class="memitem:a17cbb0636b09db7da2d3c24fa1565e33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a17cbb0636b09db7da2d3c24fa1565e33">first</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> uchar)</td></tr>
<tr class="memdesc:a17cbb0636b09db7da2d3c24fa1565e33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverses the trie from the initial state for this input UChar.  <a href="#a17cbb0636b09db7da2d3c24fa1565e33"></a><br/></td></tr>
<tr class="memitem:a55c3f3babd7d35144e40828b29ea9e39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a55c3f3babd7d35144e40828b29ea9e39">firstForCodePoint</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> cp)</td></tr>
<tr class="memdesc:a55c3f3babd7d35144e40828b29ea9e39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverses the trie from the initial state for the one or two UTF-16 code units for this input code point.  <a href="#a55c3f3babd7d35144e40828b29ea9e39"></a><br/></td></tr>
<tr class="memitem:af5a9db16403230639f64db0841f75afd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#af5a9db16403230639f64db0841f75afd">next</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> uchar)</td></tr>
<tr class="memdesc:af5a9db16403230639f64db0841f75afd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverses the trie from the current state for this input UChar.  <a href="#af5a9db16403230639f64db0841f75afd"></a><br/></td></tr>
<tr class="memitem:afbd7ad29dc2709f4560fb7552bea69d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#afbd7ad29dc2709f4560fb7552bea69d9">nextForCodePoint</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> cp)</td></tr>
<tr class="memdesc:afbd7ad29dc2709f4560fb7552bea69d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverses the trie from the current state for the one or two UTF-16 code units for this input code point.  <a href="#afbd7ad29dc2709f4560fb7552bea69d9"></a><br/></td></tr>
<tr class="memitem:ad84789bd3b22afb99719eef5f80d1c5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#ad84789bd3b22afb99719eef5f80d1c5a">next</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *s, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> length)</td></tr>
<tr class="memdesc:ad84789bd3b22afb99719eef5f80d1c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverses the trie from the current state for this string.  <a href="#ad84789bd3b22afb99719eef5f80d1c5a"></a><br/></td></tr>
<tr class="memitem:a026797cbfaf7e09a831cd4461a852542"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a026797cbfaf7e09a831cd4461a852542">getValue</a> () const </td></tr>
<tr class="memdesc:a026797cbfaf7e09a831cd4461a852542"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a matching string's value if called immediately after <a class="el" href="classUCharsTrie.html#a3d27b5429b8411d74c9f586708376308" title="Determines whether the string so far matches, whether it has a value, and whether another input UChar...">current()</a>/first()/next() returned USTRINGTRIE_INTERMEDIATE_VALUE or USTRINGTRIE_FINAL_VALUE.  <a href="#a026797cbfaf7e09a831cd4461a852542"></a><br/></td></tr>
<tr class="memitem:a491d43af87c89dadf65c20bbf1e68cd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a491d43af87c89dadf65c20bbf1e68cd7">hasUniqueValue</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;uniqueValue) const </td></tr>
<tr class="memdesc:a491d43af87c89dadf65c20bbf1e68cd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether all strings reachable from the current state map to the same value.  <a href="#a491d43af87c89dadf65c20bbf1e68cd7"></a><br/></td></tr>
<tr class="memitem:a9b395444ca288323f83e8905bd049dee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUCharsTrie.html#a9b395444ca288323f83e8905bd049dee">getNextUChars</a> (<a class="el" href="classAppendable.html">Appendable</a> &amp;out) const </td></tr>
<tr class="memdesc:a9b395444ca288323f83e8905bd049dee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds each UChar which continues the string from the current state.  <a href="#a9b395444ca288323f83e8905bd049dee"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a3fd4883185299885d4322d4bbed3b75f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fd4883185299885d4322d4bbed3b75f"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>UCharsTrieBuilder</b></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/>&nbsp;Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr>
<tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr>
<tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a309b19b5777e2840b85b202aef5a54fb"></a><br/></td></tr>
<tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr>
<tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5"></a><br/></td></tr>
<tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (void *p)</td></tr>
<tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#adcda65a58813749f8f45c5e6c1ed37e1"></a><br/></td></tr>
<tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (void *p)</td></tr>
<tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a7602a7a8c6fdff21d9fbecea4d899333"></a><br/></td></tr>
<tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, void *ptr)</td></tr>
<tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a43b5221fe429f77230b2040f8724c154"></a><br/></td></tr>
<tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (void *, void *)</td></tr>
<tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a9b746b0cdb49c8f8907773002ea5c4ea"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Light-weight, non-const reader class for a <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a>. </p>
<p>Traverses a UChar-serialized data structure with minimal state, for mapping strings (16-bit-unit sequences) to non-negative integer values.</p>
<p>This class owns the serialized trie data only if it was constructed by the builder's build() method. The public constructor and the copy constructor only alias the data (only copy the pointer). There is no assignment operator.</p>
<p>This class is not intended for public subclassing. </p>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000157">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00048">48</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0d9b923e028d7b99e179cd69f1131a5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">UCharsTrie::UCharsTrie </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>trieUChars</em></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>Constructs a <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> reader instance. </p>
<p>The trieUChars must contain a copy of a UChar sequence from the <a class="el" href="classUCharsTrieBuilder.html" title="Builder class for UCharsTrie.">UCharsTrieBuilder</a>, starting with the first UChar of that sequence. The <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> object will not read more UChars than the <a class="el" href="classUCharsTrieBuilder.html" title="Builder class for UCharsTrie.">UCharsTrieBuilder</a> generated in the corresponding build() call.</p>
<p>The array is not copied/cloned and must not be modified while the <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> object is in use.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">trieUChars</td><td>The UChar array that contains the serialized trie. </td></tr>
  </table>
  </dd>
</dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000158">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00064">64</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

</div>
</div>
<a class="anchor" id="a09461556659d79f926f2e5522e43d627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UCharsTrie::~UCharsTrie </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000159">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ac851628b571d47de93b780eb50cc10ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">UCharsTrie::UCharsTrie </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUCharsTrie.html">UCharsTrie</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></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>Copy constructor, copies the other trie reader object and its state, but not the UChar array which will be shared. </p>
<p>(Shallow copy.) </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>Another <a class="el" href="classUCharsTrie.html" title="Light-weight, non-const reader class for a UCharsTrie.">UCharsTrie</a> object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000160">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00080">80</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3d27b5429b8411d74c9f586708376308"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::current </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the string so far matches, whether it has a value, and whether another input UChar can continue a matching string. </p>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000165">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a17cbb0636b09db7da2d3c24fa1565e33"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::first </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>uchar</em></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>Traverses the trie from the initial state for this input UChar. </p>
<p>Equivalent to <a class="el" href="classUCharsTrie.html#a6071f44a2a7d6803ac633ce93f59f5a0" title="Resets this trie to its initial state.">reset()</a>.next(uchar). </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">uchar</td><td>Input char value. Values below 0 and above 0xffff will never match. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000166">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00162">162</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

<p>Referenced by <a class="el" href="ucharstrie_8h_source.html#l00175">firstForCodePoint()</a>.</p>

</div>
</div>
<a class="anchor" id="a55c3f3babd7d35144e40828b29ea9e39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::firstForCodePoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>cp</em></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>Traverses the trie from the initial state for the one or two UTF-16 code units for this input code point. </p>
<p>Equivalent to <a class="el" href="classUCharsTrie.html#a6071f44a2a7d6803ac633ce93f59f5a0" title="Resets this trie to its initial state.">reset()</a>.nextForCodePoint(cp). </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">cp</td><td>A Unicode code point 0..0x10ffff. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000167">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00175">175</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

<p>References <a class="el" href="ucharstrie_8h_source.html#l00162">first()</a>, <a class="el" href="classUCharsTrie.html#af5a9db16403230639f64db0841f75afd">next()</a>, <a class="el" href="utf16_8h_source.html#l00122">U16_LEAD</a>, <a class="el" href="utf16_8h_source.html#l00131">U16_TRAIL</a>, <a class="el" href="ustringtrie_8h_source.html#l00092">USTRINGTRIE_HAS_NEXT</a>, and <a class="el" href="ustringtrie_8h_source.html#l00040">USTRINGTRIE_NO_MATCH</a>.</p>

</div>
</div>
<a class="anchor" id="a9b395444ca288323f83e8905bd049dee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> UCharsTrie::getNextUChars </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAppendable.html">Appendable</a> &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds each UChar which continues the string from the current state. </p>
<p>That is, each UChar c for which it would be next(c)!=USTRINGTRIE_NO_MATCH now. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>Each next UChar is appended to this object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>the number of UChars which continue the string from here </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000173">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a026797cbfaf7e09a831cd4461a852542"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> UCharsTrie::getValue </td>
          <td>(</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>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a matching string's value if called immediately after <a class="el" href="classUCharsTrie.html#a3d27b5429b8411d74c9f586708376308" title="Determines whether the string so far matches, whether it has a value, and whether another input UChar...">current()</a>/first()/next() returned USTRINGTRIE_INTERMEDIATE_VALUE or USTRINGTRIE_FINAL_VALUE. </p>
<p><a class="el" href="classUCharsTrie.html#a026797cbfaf7e09a831cd4461a852542" title="Returns a matching string&#39;s value if called immediately after current()/first()/next() returned USTRI...">getValue()</a> can be called multiple times.</p>
<p>Do not call <a class="el" href="classUCharsTrie.html#a026797cbfaf7e09a831cd4461a852542" title="Returns a matching string&#39;s value if called immediately after current()/first()/next() returned USTRI...">getValue()</a> after USTRINGTRIE_NO_MATCH or USTRINGTRIE_NO_VALUE! </p>
<dl class="section return"><dt>Returns:</dt><dd>The value for the string so far. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000171">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00232">232</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

</div>
</div>
<a class="anchor" id="a491d43af87c89dadf65c20bbf1e68cd7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UCharsTrie::hasUniqueValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;&#160;</td>
          <td class="paramname"><em>uniqueValue</em></td><td>)</td>
          <td> const</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>Determines whether all strings reachable from the current state map to the same value. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">uniqueValue</td><td>Receives the unique value, if this function returns TRUE. (output-only) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>TRUE if all strings reachable from the current state map to the same value. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000172">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00249">249</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

<p>References <a class="el" href="umachine_8h_source.html#l00236">FALSE</a>, and <a class="el" href="utypes_8h_source.html#l00299">NULL</a>.</p>

</div>
</div>
<a class="anchor" id="af5a9db16403230639f64db0841f75afd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>uchar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Traverses the trie from the current state for this input UChar. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">uchar</td><td>Input char value. Values below 0 and above 0xffff will never match. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000168">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Referenced by <a class="el" href="ucharstrie_8h_source.html#l00175">firstForCodePoint()</a>, and <a class="el" href="ucharstrie_8h_source.html#l00198">nextForCodePoint()</a>.</p>

</div>
</div>
<a class="anchor" id="ad84789bd3b22afb99719eef5f80d1c5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::next </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Traverses the trie from the current state for this string. </p>
<p>Equivalent to </p>
<div class="fragment"><div class="line">       Result result=<a class="code" href="classUCharsTrie.html#a3d27b5429b8411d74c9f586708376308" title="Determines whether the string so far matches, whether it has a value, and whether another input UChar...">current</a>();</div>
<div class="line">       <span class="keywordflow">for</span>(each c in s)</div>
<div class="line">         <span class="keywordflow">if</span>(!<a class="code" href="ustringtrie_8h.html#a7e1962396a228f3d0f7d073fef78e2e0" title="Equivalent to (result==USTRINGTRIE_NO_VALUE || result==USTRINGTRIE_INTERMEDIATE_VALUE) but this macro...">USTRINGTRIE_HAS_NEXT</a>(result)) <span class="keywordflow">return</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">         result=<a class="code" href="classUCharsTrie.html#af5a9db16403230639f64db0841f75afd" title="Traverses the trie from the current state for this input UChar.">next</a>(c);</div>
<div class="line">       <span class="keywordflow">return</span> result;</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>A string. Can be NULL if length is 0. </td></tr>
    <tr><td class="paramname">length</td><td>The length of the string. Can be -1 if NUL-terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000170">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="afbd7ad29dc2709f4560fb7552bea69d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ustringtrie_8h.html#a760046451d48a1551ba71162a31365bd">UStringTrieResult</a> UCharsTrie::nextForCodePoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>cp</em></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>Traverses the trie from the current state for the one or two UTF-16 code units for this input code point. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">cp</td><td>A Unicode code point 0..0x10ffff. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The match/value Result. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000169">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00198">198</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

<p>References <a class="el" href="classUCharsTrie.html#af5a9db16403230639f64db0841f75afd">next()</a>, <a class="el" href="utf16_8h_source.html#l00122">U16_LEAD</a>, <a class="el" href="utf16_8h_source.html#l00131">U16_TRAIL</a>, <a class="el" href="ustringtrie_8h_source.html#l00092">USTRINGTRIE_HAS_NEXT</a>, and <a class="el" href="ustringtrie_8h_source.html#l00040">USTRINGTRIE_NO_MATCH</a>.</p>

</div>
</div>
<a class="anchor" id="a6071f44a2a7d6803ac633ce93f59f5a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUCharsTrie.html">UCharsTrie</a>&amp; UCharsTrie::reset </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>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this trie to its initial state. </p>
<dl class="section return"><dt>Returns:</dt><dd>*this </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000161">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00089">89</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

</div>
</div>
<a class="anchor" id="a90702fc8679cdd48976c25fea855bc3a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUCharsTrie.html">UCharsTrie</a>&amp; UCharsTrie::resetToState </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUCharsTrie_1_1State.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em></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>Resets this trie to the saved state. </p>
<p>If the state object contains no state, or the state of a different trie, then this trie remains unchanged. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>The <a class="el" href="classUCharsTrie_1_1State.html" title="UCharsTrie state object, for saving a trie&#39;s current state and resetting the trie back to this state ...">State</a> object which holds a saved trie state. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>*this </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="classUCharsTrie.html#a98f5a94f1a79627633d6f6f4aeb75c4a" title="Saves the state of this trie.">saveState</a> </dd>
<dd>
<a class="el" href="classUCharsTrie.html#a6071f44a2a7d6803ac633ce93f59f5a0" title="Resets this trie to its initial state.">reset</a> </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000164">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00139">139</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

<p>References <a class="el" href="utypes_8h_source.html#l00299">NULL</a>.</p>

</div>
</div>
<a class="anchor" id="a98f5a94f1a79627633d6f6f4aeb75c4a"></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="classUCharsTrie.html">UCharsTrie</a>&amp; UCharsTrie::saveState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUCharsTrie_1_1State.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td> const</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>Saves the state of this trie. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>The <a class="el" href="classUCharsTrie_1_1State.html" title="UCharsTrie state object, for saving a trie&#39;s current state and resetting the trie back to this state ...">State</a> object to hold the trie's state. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>*this </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="classUCharsTrie.html#a90702fc8679cdd48976c25fea855bc3a" title="Resets this trie to the saved state.">resetToState</a> </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000163">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucharstrie_8h_source.html#l00122">122</a> of file <a class="el" href="ucharstrie_8h_source.html">ucharstrie.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ucharstrie_8h_source.html">ucharstrie.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.1.1
</small></address>
</body>
</html>