-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy patha00050_source.html
313 lines (311 loc) · 45.3 KB
/
a00050_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!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.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tesseract: /tesseract/include/tesseract/unichar.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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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">tesseract
 <span id="projectnumber">5.0.0-alpha-619-ge9db</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<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&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00050_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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 class="header">
<div class="headertitle">
<div class="title">unichar.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00050.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">// File: unichar.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Description: Unicode character/ligature class.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Author: Ray Smith</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">// (C) Copyright 2006, Google Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">//</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef TESSERACT_CCUTIL_UNICHAR_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define TESSERACT_CCUTIL_UNICHAR_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <memory.h></span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <cstring></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <string></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <vector></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="a00029.html">platform.h</a>"</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// Maximum number of characters that can be stored in a UNICHAR. Must be</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// at least 4. Must not exceed 31 without changing the coding of length.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708"> 32</a></span> <span class="preprocessor">#define UNICHAR_LEN 30</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// TODO(rays) Move these to the tesseract namespace.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// A UNICHAR_ID is the unique id of a unichar.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="a00050.html#afedceee7ea132dae3d224db2cf8b5618"> 36</a></span> <span class="keyword">using</span> <a class="code" href="a00050.html#afedceee7ea132dae3d224db2cf8b5618">UNICHAR_ID</a> = <a class="code" href="a01827.html#a09a009a90bfc702287cb52f5b818acda">int</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// A variable to indicate an invalid or uninitialized unichar id.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> INVALID_UNICHAR_ID = -1;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// A special unichar that corresponds to INVALID_UNICHAR_ID.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> INVALID_UNICHAR[] = <span class="stringliteral">"__INVALID_UNICHAR__"</span>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dba"> 43</a></span> <span class="keyword">enum</span> <a class="code" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dba">StrongScriptDirection</a> {</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaaacc5ec7fd402a8806e78fba831045aae"> 44</a></span>  <a class="code" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaaacc5ec7fd402a8806e78fba831045aae">DIR_NEUTRAL</a> = 0, <span class="comment">// Text contains only neutral characters.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa5978cd698552a6106db1bf6528617317"> 45</a></span>  <a class="code" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa5978cd698552a6106db1bf6528617317">DIR_LEFT_TO_RIGHT</a> = 1, <span class="comment">// Text contains no Right-to-Left characters.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa3c6da23f98ab8ac48598c21583d9297e"> 46</a></span>  <a class="code" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa3c6da23f98ab8ac48598c21583d9297e">DIR_RIGHT_TO_LEFT</a> = 2, <span class="comment">// Text contains no Left-to-Right characters.</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa252615b6d7ebef9293183f6e94488cc1"> 47</a></span>  <a class="code" href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa252615b6d7ebef9293183f6e94488cc1">DIR_MIX</a> = 3, <span class="comment">// Text contains a mixture of left-to-right</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// and right-to-left characters.</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> };</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">namespace </span><a class="code" href="a01818.html">tesseract</a> {</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="a01818.html#a445c8390d18d4299d6a46de3a0d2fb63"> 53</a></span> <span class="keyword">using</span> <a class="code" href="a01818.html#a445c8390d18d4299d6a46de3a0d2fb63">char32</a> = <span class="keywordtype">signed</span> <a class="code" href="a01827.html#a09a009a90bfc702287cb52f5b818acda">int</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// The UNICHAR class holds a single classification result. This may be</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment">// a single Unicode character (stored as between 1 and 4 utf8 bytes) or</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// multiple Unicode characters representing the NFKC expansion of a ligature</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">// such as fi, ffl etc. These are also stored as utf8.</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="a02554.html"> 59</a></span> <span class="keyword">class </span><a class="code" href="a02554.html">UNICHAR</a> {</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="a02554.html#a434eedd84f58cd0d5d3ebb4049da22c4"> 61</a></span>  <a class="code" href="a02554.html#a434eedd84f58cd0d5d3ebb4049da22c4">UNICHAR</a>() {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  memset(chars, 0, <a class="code" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// Construct from a utf8 string. If len<0 then the string is null terminated.</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// If the string is too long to fit in the UNICHAR then it takes only what</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// will fit.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="a02554.html#a434eedd84f58cd0d5d3ebb4049da22c4">UNICHAR</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// Construct from a single UCS4 character.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">explicit</span> <a class="code" href="a02554.html#a434eedd84f58cd0d5d3ebb4049da22c4">UNICHAR</a>(<span class="keywordtype">int</span> unicode);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Default copy constructor and operator= are OK.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Get the first character as UCS-4.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">int</span> <a class="code" href="a02554.html#a714633da3ef653acb2485c059e2472e1">first_uni</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Get the length of the UTF8 string.</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="a02554.html#ad2563620e9bcf7cf917105a785f13424"> 79</a></span>  <span class="keywordtype">int</span> <a class="code" href="a02554.html#ad2563620e9bcf7cf917105a785f13424">utf8_len</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">int</span> len = chars[<a class="code" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a> - 1];</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> len >= 0 && len < <a class="code" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a> ? len : <a class="code" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Get a UTF8 string, but NOT nullptr terminated.</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="a02554.html#a54c2ebdeeba2a5eba3ab4ed0952b55ce"> 85</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a54c2ebdeeba2a5eba3ab4ed0952b55ce">utf8</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">return</span> chars;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// Get a terminated UTF8 string: Must delete[] it after use.</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// Get the number of bytes in the first character of the given utf8 string.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="a02554.html#aeed6ba882799c327d4fefcf12ec36aa4">utf8_step</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// A class to simplify iterating over and accessing elements of a UTF8</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// string. Note that unlike the UNICHAR class, const_iterator does NOT COPY or</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// take ownership of the underlying byte array. It also does not permit</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// modification of the array (as the name suggests).</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">//</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Example:</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// for (UNICHAR::const_iterator it = UNICHAR::begin(str, str_len);</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// it != UNICHAR::end(str, len);</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// ++it) {</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// tprintf("UCS-4 symbol code = %d\n", *it);</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">// char buf[5];</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// int char_len = it.get_utf8(buf); buf[char_len] = '\0';</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// tprintf("Char = %s\n", buf);</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// }</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="a02558.html"> 109</a></span>  <span class="keyword">class </span><a class="code" href="a02558.html">const_iterator</a> {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">using</span> <a class="code" href="a02558.html">CI</a> = <a class="code" href="a02558.html">const_iterator</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// Step to the next UTF8 character.</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// If the current position is at an illegal UTF8 character, then print an</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// error message and step by one byte. If the current position is at a</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// nullptr value, don't step past it.</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="a02558.html">const_iterator</a>& <a class="code" href="a02558.html#a6c2758e39804d5044c5626929e97897f">operator++</a>();</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// Return the UCS-4 value at the current position.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// If the current position is at an illegal UTF8 value, return a single</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// space character.</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">int</span> <a class="code" href="a02558.html#a45e1282bbd1c657ffa8d14b516709f7d">operator*</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// Store the UTF-8 encoding of the current codepoint into buf, which must be</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// at least 4 bytes long. Return the number of bytes written.</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// If the current position is at an illegal UTF8 value, writes a single</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// space character and returns 1.</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// Note that this method does not null-terminate the buffer.</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">int</span> <a class="code" href="a02558.html#a6de2ba0a1e44afc5e1555cefbd85d9bd">get_utf8</a>(<span class="keywordtype">char</span>* buf) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">// Returns the number of bytes of the current codepoint. Returns 1 if the</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// current position is at an illegal UTF8 value.</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">int</span> <a class="code" href="a02558.html#ad0ddb3ff1cf211ef74bea96b2200b383">utf8_len</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// Returns true if the UTF-8 encoding at the current position is legal.</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">bool</span> <a class="code" href="a02558.html#a745e17478b989f4d86700c6d0a39f2c5">is_legal</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">// Return the pointer into the string at the current position.</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="a02558.html#aee7cbaee7e2930b8210463ff947cdbeb"> 137</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02558.html#aee7cbaee7e2930b8210463ff947cdbeb">utf8_data</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span> it_;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// Iterator equality operators.</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="a02558.html#af6b1615999d88d4ce7a36de6f84ed51c"> 142</a></span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="a02558.html#af6b1615999d88d4ce7a36de6f84ed51c">operator==</a>(<span class="keyword">const</span> <a class="code" href="a02558.html">CI</a>& lhs, <span class="keyword">const</span> <a class="code" href="a02558.html">CI</a>& rhs) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">return</span> lhs.it_ == rhs.it_;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  }</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="a02558.html#ae9378c0da555cd681c15943b2aa4e10a"> 145</a></span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="a02558.html#ae9378c0da555cd681c15943b2aa4e10a">operator!=</a>(<span class="keyword">const</span> <a class="code" href="a02558.html">CI</a>& lhs, <span class="keyword">const</span> <a class="code" href="a02558.html">CI</a>& rhs) {</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="a02558.html#aea7b9130961fcd26705a742a11634606"> 150</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a02554.html">UNICHAR</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">explicit</span> <a class="code" href="a02558.html">const_iterator</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* it) : it_(it) {}</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* it_; <span class="comment">// Pointer into the string.</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  };</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="comment">// Create a start/end iterator pointing to a string. Note that these methods</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="comment">// are static and do NOT create a copy or take ownership of the underlying</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="comment">// array.</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">static</span> const_iterator <a class="code" href="a02554.html#a9fc2a174be0dffc6f7fc8def729b65e0">begin</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>, <span class="keywordtype">int</span> byte_length);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">static</span> const_iterator <a class="code" href="a02554.html#aec7f696c1de6e7a99458f9328f984380">end</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>, <span class="keywordtype">int</span> byte_length);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// Converts a utf-8 string to a vector of unicodes.</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">// Returns an empty vector if the input contains invalid UTF-8.</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">static</span> std::vector<char32> <a class="code" href="a02554.html#aaf9abe60ed0d8b36b5efb00119637485">UTF8ToUTF32</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a02554.html#a0058701bd957673f97c128ef0f7d3950">utf8_str</a>);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="comment">// Converts a vector of unicodes to a utf8 string.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="comment">// Returns an empty string if the input contains an invalid unicode.</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">static</span> <a class="code" href="a01622.html#aca454f84dd198a937af6499dd758aa3d">std::string</a> <a class="code" href="a02554.html#ae09b04c624311ffe794d683c21c2cc9e">UTF32ToUTF8</a>(<span class="keyword">const</span> std::vector<char32>& str32);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="comment">// A UTF-8 representation of 1 or more Unicode characters.</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// The last element (chars[UNICHAR_LEN - 1]) is a length if</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// its value < UNICHAR_LEN, otherwise it is a genuine character.</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">char</span> chars[<a class="code" href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a>]{};</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> };</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> } <span class="comment">// namespace tesseract</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor">#endif // TESSERACT_CCUTIL_UNICHAR_H_</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02554_html_ad2563620e9bcf7cf917105a785f13424"><div class="ttname"><a href="a02554.html#ad2563620e9bcf7cf917105a785f13424">tesseract::UNICHAR::utf8_len</a></div><div class="ttdeci">int utf8_len() const</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00079">unichar.h:79</a></div></div>
<div class="ttc" id="aa01622_html_aca454f84dd198a937af6499dd758aa3d"><div class="ttname"><a href="a01622.html#aca454f84dd198a937af6499dd758aa3d">string</a></div><div class="ttdeci">std::string string</div><div class="ttdef"><b>Definition:</b> <a href="a01622_source.html#l00021">equationdetect_test.cc:21</a></div></div>
<div class="ttc" id="aa02554_html_a54c2ebdeeba2a5eba3ab4ed0952b55ce"><div class="ttname"><a href="a02554.html#a54c2ebdeeba2a5eba3ab4ed0952b55ce">tesseract::UNICHAR::utf8</a></div><div class="ttdeci">const char * utf8() const</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00085">unichar.h:85</a></div></div>
<div class="ttc" id="aa02554_html_a9fc2a174be0dffc6f7fc8def729b65e0"><div class="ttname"><a href="a02554.html#a9fc2a174be0dffc6f7fc8def729b65e0">tesseract::UNICHAR::begin</a></div><div class="ttdeci">static const_iterator begin(const char *utf8_str, int byte_length)</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00204">unichar.cpp:204</a></div></div>
<div class="ttc" id="aa02554_html_aaf9abe60ed0d8b36b5efb00119637485"><div class="ttname"><a href="a02554.html#aaf9abe60ed0d8b36b5efb00119637485">tesseract::UNICHAR::UTF8ToUTF32</a></div><div class="ttdeci">static std::vector< char32 > UTF8ToUTF32(const char *utf8_str)</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00215">unichar.cpp:215</a></div></div>
<div class="ttc" id="aa02554_html_aec7f696c1de6e7a99458f9328f984380"><div class="ttname"><a href="a02554.html#aec7f696c1de6e7a99458f9328f984380">tesseract::UNICHAR::end</a></div><div class="ttdeci">static const_iterator end(const char *utf8_str, int byte_length)</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00208">unichar.cpp:208</a></div></div>
<div class="ttc" id="aa02558_html"><div class="ttname"><a href="a02558.html">tesseract::UNICHAR::const_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00109">unichar.h:109</a></div></div>
<div class="ttc" id="aa02558_html_ad0ddb3ff1cf211ef74bea96b2200b383"><div class="ttname"><a href="a02558.html#ad0ddb3ff1cf211ef74bea96b2200b383">tesseract::UNICHAR::const_iterator::utf8_len</a></div><div class="ttdeci">int utf8_len() const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00190">unichar.cpp:190</a></div></div>
<div class="ttc" id="aa02558_html_a745e17478b989f4d86700c6d0a39f2c5"><div class="ttname"><a href="a02558.html#a745e17478b989f4d86700c6d0a39f2c5">tesseract::UNICHAR::const_iterator::is_legal</a></div><div class="ttdeci">bool is_legal() const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00200">unichar.cpp:200</a></div></div>
<div class="ttc" id="aa00050_html_abc3119a959ecd5cffc1d9b9d57479dba"><div class="ttname"><a href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dba">StrongScriptDirection</a></div><div class="ttdeci">StrongScriptDirection</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00043">unichar.h:43</a></div></div>
<div class="ttc" id="aa00029_html"><div class="ttname"><a href="a00029.html">platform.h</a></div></div>
<div class="ttc" id="aa02554_html_a434eedd84f58cd0d5d3ebb4049da22c4"><div class="ttname"><a href="a02554.html#a434eedd84f58cd0d5d3ebb4049da22c4">tesseract::UNICHAR::UNICHAR</a></div><div class="ttdeci">UNICHAR()</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00061">unichar.h:61</a></div></div>
<div class="ttc" id="aa02558_html_af6b1615999d88d4ce7a36de6f84ed51c"><div class="ttname"><a href="a02558.html#af6b1615999d88d4ce7a36de6f84ed51c">tesseract::UNICHAR::const_iterator::operator==</a></div><div class="ttdeci">friend bool operator==(const CI &lhs, const CI &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00142">unichar.h:142</a></div></div>
<div class="ttc" id="aa02558_html_a6c2758e39804d5044c5626929e97897f"><div class="ttname"><a href="a02558.html#a6c2758e39804d5044c5626929e97897f">tesseract::UNICHAR::const_iterator::operator++</a></div><div class="ttdeci">const_iterator & operator++()</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00153">unichar.cpp:153</a></div></div>
<div class="ttc" id="aa02554_html"><div class="ttname"><a href="a02554.html">tesseract::UNICHAR</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00059">unichar.h:59</a></div></div>
<div class="ttc" id="aa00050_html_abc3119a959ecd5cffc1d9b9d57479dbaa5978cd698552a6106db1bf6528617317"><div class="ttname"><a href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa5978cd698552a6106db1bf6528617317">DIR_LEFT_TO_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00045">unichar.h:45</a></div></div>
<div class="ttc" id="aa02558_html_aee7cbaee7e2930b8210463ff947cdbeb"><div class="ttname"><a href="a02558.html#aee7cbaee7e2930b8210463ff947cdbeb">tesseract::UNICHAR::const_iterator::utf8_data</a></div><div class="ttdeci">const char * utf8_data() const</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00137">unichar.h:137</a></div></div>
<div class="ttc" id="aa02558_html_a45e1282bbd1c657ffa8d14b516709f7d"><div class="ttname"><a href="a02558.html#a45e1282bbd1c657ffa8d14b516709f7d">tesseract::UNICHAR::const_iterator::operator*</a></div><div class="ttdeci">int operator*() const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00167">unichar.cpp:167</a></div></div>
<div class="ttc" id="aa01827_html_a09a009a90bfc702287cb52f5b818acda"><div class="ttname"><a href="a01827.html#a09a009a90bfc702287cb52f5b818acda">tesstrain_utils.int</a></div><div class="ttdeci">int</div><div class="ttdef"><b>Definition:</b> <a href="a01397_source.html#l00154">tesstrain_utils.py:154</a></div></div>
<div class="ttc" id="aa01818_html_a445c8390d18d4299d6a46de3a0d2fb63"><div class="ttname"><a href="a01818.html#a445c8390d18d4299d6a46de3a0d2fb63">tesseract::char32</a></div><div class="ttdeci">signed int char32</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00053">unichar.h:53</a></div></div>
<div class="ttc" id="aa02554_html_a714633da3ef653acb2485c059e2472e1"><div class="ttname"><a href="a02554.html#a714633da3ef653acb2485c059e2472e1">tesseract::UNICHAR::first_uni</a></div><div class="ttdeci">int first_uni() const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00098">unichar.cpp:98</a></div></div>
<div class="ttc" id="aa02554_html_aeed6ba882799c327d4fefcf12ec36aa4"><div class="ttname"><a href="a02554.html#aeed6ba882799c327d4fefcf12ec36aa4">tesseract::UNICHAR::utf8_step</a></div><div class="ttdeci">static int utf8_step(const char *utf8_str)</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00138">unichar.cpp:138</a></div></div>
<div class="ttc" id="aa02554_html_ae09b04c624311ffe794d683c21c2cc9e"><div class="ttname"><a href="a02554.html#ae09b04c624311ffe794d683c21c2cc9e">tesseract::UNICHAR::UTF32ToUTF8</a></div><div class="ttdeci">static std::string UTF32ToUTF8(const std::vector< char32 > &str32)</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00232">unichar.cpp:232</a></div></div>
<div class="ttc" id="aa02558_html_a6de2ba0a1e44afc5e1555cefbd85d9bd"><div class="ttname"><a href="a02558.html#a6de2ba0a1e44afc5e1555cefbd85d9bd">tesseract::UNICHAR::const_iterator::get_utf8</a></div><div class="ttdeci">int get_utf8(char *buf) const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00178">unichar.cpp:178</a></div></div>
<div class="ttc" id="aa02554_html_a0058701bd957673f97c128ef0f7d3950"><div class="ttname"><a href="a02554.html#a0058701bd957673f97c128ef0f7d3950">tesseract::UNICHAR::utf8_str</a></div><div class="ttdeci">char * utf8_str() const</div><div class="ttdef"><b>Definition:</b> <a href="a00587_source.html#l00129">unichar.cpp:129</a></div></div>
<div class="ttc" id="aa01818_html"><div class="ttname"><a href="a01818.html">tesseract</a></div><div class="ttdef"><b>Definition:</b> <a href="a00005_source.html#l00065">baseapi.h:65</a></div></div>
<div class="ttc" id="aa00050_html_afedceee7ea132dae3d224db2cf8b5618"><div class="ttname"><a href="a00050.html#afedceee7ea132dae3d224db2cf8b5618">UNICHAR_ID</a></div><div class="ttdeci">int UNICHAR_ID</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00036">unichar.h:36</a></div></div>
<div class="ttc" id="aa00050_html_abc3119a959ecd5cffc1d9b9d57479dbaaacc5ec7fd402a8806e78fba831045aae"><div class="ttname"><a href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaaacc5ec7fd402a8806e78fba831045aae">DIR_NEUTRAL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00044">unichar.h:44</a></div></div>
<div class="ttc" id="aa00050_html_a902bc40c9d89802bc063afe30ce9e708"><div class="ttname"><a href="a00050.html#a902bc40c9d89802bc063afe30ce9e708">UNICHAR_LEN</a></div><div class="ttdeci">#define UNICHAR_LEN</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00032">unichar.h:32</a></div></div>
<div class="ttc" id="aa00050_html_abc3119a959ecd5cffc1d9b9d57479dbaa3c6da23f98ab8ac48598c21583d9297e"><div class="ttname"><a href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa3c6da23f98ab8ac48598c21583d9297e">DIR_RIGHT_TO_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00046">unichar.h:46</a></div></div>
<div class="ttc" id="aa00050_html_abc3119a959ecd5cffc1d9b9d57479dbaa252615b6d7ebef9293183f6e94488cc1"><div class="ttname"><a href="a00050.html#abc3119a959ecd5cffc1d9b9d57479dbaa252615b6d7ebef9293183f6e94488cc1">DIR_MIX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00047">unichar.h:47</a></div></div>
<div class="ttc" id="aa02558_html_ae9378c0da555cd681c15943b2aa4e10a"><div class="ttname"><a href="a02558.html#ae9378c0da555cd681c15943b2aa4e10a">tesseract::UNICHAR::const_iterator::operator!=</a></div><div class="ttdeci">friend bool operator!=(const CI &lhs, const CI &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="a00050_source.html#l00145">unichar.h:145</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_00200a555532e7ec3afbcddd6091e65a.html">tesseract</a></li><li class="navelem"><a class="el" href="a00050.html">unichar.h</a></li>
<li class="footer">Generated on Thu Jan 30 2020 14:22:19 for tesseract by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
</ul>
</div>
</body>
</html>