-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy patha00038_source.html
252 lines (250 loc) · 28.7 KB
/
a00038_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
<!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/resultiterator.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('a00038_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">resultiterator.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00038.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: resultiterator.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Description: Iterator for tesseract results that is capable of</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// iterating in proper reading order over Bi Directional</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// (e.g. mixed Hebrew and English) text.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// Author: David Eger</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Created: Fri May 27 13:58:06 PST 2011</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// (C) Copyright 2011, Google Inc.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">//</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"></span> </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H_</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define TESSERACT_CCMAIN_RESULT_ITERATOR_H_</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <set></span> <span class="comment">// for std::pair</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <vector></span> <span class="comment">// for std::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="a00017.html">ltrresultiterator.h</a>"</span> <span class="comment">// for LTRResultIterator</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="a00029.html">platform.h</a>"</span> <span class="comment">// for TESS_API, TESS_LOCAL</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="a00032.html">publictypes.h</a>"</span> <span class="comment">// for PageIteratorLevel</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="a00050.html">unichar.h</a>"</span> <span class="comment">// for StrongScriptDirection</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">class </span><a class="code" href="a02434.html">GenericVector</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span><a class="code" href="a02446.html">GenericVectorEqEq</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="keyword">class </span><a class="code" href="a02542.html">STRING</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">namespace </span><a class="code" href="a01818.html">tesseract</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>Tesseract;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="a02534.html"> 44</a></span> <span class="keyword">class </span><a class="code" href="a00029.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a02534.html">ResultIterator</a> : <span class="keyword">public</span> <a class="code" href="a02454.html">LTRResultIterator</a> {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">static</span> <a class="code" href="a02534.html">ResultIterator</a>* StartOfParagraph(<span class="keyword">const</span> <a class="code" href="a02454.html">LTRResultIterator</a>& resit);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  ~<a class="code" href="a02534.html">ResultIterator</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// ============= Moving around within the page ============.</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"></span> <span class="keywordtype">void</span> Begin() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">bool</span> Next(<a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> level) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">bool</span> IsAtBeginningOf(<a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> level) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">bool</span> IsAtFinalElement(<a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> level,</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> element) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// ============= Functions that refer to words only ============.</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// Returns the number of blanks before the current word.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">int</span> BlanksBeforeWord() <span class="keyword">const</span>;</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">// ============= Accessing data ==============.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">virtual</span> <span class="keywordtype">char</span>* GetUTF8Text(<a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> level) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">virtual</span> std::vector<std::vector<std::vector<std::pair<const char*, float>>>>*</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  GetRawLSTMTimesteps() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">virtual</span> std::vector<std::vector<std::pair<const char*, float>>>*</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  GetBestLSTMSymbolChoices() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">bool</span> ParagraphIsLtr() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// ============= Exposed only for testing =============.</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> CalculateTextlineOrder(</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordtype">bool</span> paragraph_is_ltr,</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">const</span> <a class="code" href="a02434.html">GenericVector<StrongScriptDirection></a>& word_dirs,</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="a02446.html">GenericVectorEqEq<int></a>* reading_order);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="a02534.html#a1c97324553ea1b897dfb5404e0f9e315"> 146</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="a02534.html#a1c97324553ea1b897dfb5404e0f9e315">kMinorRunStart</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="a02534.html#a15e95d21ce320a7c282c5a8d61fe73ee"> 147</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="a02534.html#a15e95d21ce320a7c282c5a8d61fe73ee">kMinorRunEnd</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="a02534.html#ad23440ad1059127afadd17c18fbf93ad"> 148</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="a02534.html#ad23440ad1059127afadd17c18fbf93ad">kComplexWord</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="a00029.html#aefcd819eeed9085ef0eeeff0f4cac64f">TESS_LOCAL</a> <span class="keyword">explicit</span> <a class="code" href="a02534.html">ResultIterator</a>(<span class="keyword">const</span> <a class="code" href="a02454.html">LTRResultIterator</a>& resit);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">bool</span> CurrentParagraphIsLtr() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">void</span> CalculateTextlineOrder(<span class="keywordtype">bool</span> paragraph_is_ltr,</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> <a class="code" href="a02454.html">LTRResultIterator</a>& resit,</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="a02446.html">GenericVectorEqEq<int></a>* indices) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> CalculateTextlineOrder(<span class="keywordtype">bool</span> paragraph_is_ltr,</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">const</span> <a class="code" href="a02454.html">LTRResultIterator</a>& resit,</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="a02434.html">GenericVector<StrongScriptDirection></a>* ssd,</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="a02446.html">GenericVectorEqEq<int></a>* indices) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">int</span> LTRWordIndex() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordtype">void</span> CalculateBlobOrder(<a class="code" href="a02434.html">GenericVector<int></a>* blob_indices) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">void</span> MoveToLogicalStartOfTextline();</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">void</span> MoveToLogicalStartOfWord();</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">bool</span> IsAtFinalSymbolOfWord() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">bool</span> IsAtFirstSymbolOfWord() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">void</span> AppendSuffixMarks(<a class="code" href="a02542.html">STRING</a>* text) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">void</span> AppendUTF8WordText(<a class="code" href="a02542.html">STRING</a>* text) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">void</span> IterateAndAppendUTF8TextlineText(<a class="code" href="a02542.html">STRING</a>* text);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">void</span> AppendUTF8ParagraphText(<a class="code" href="a02542.html">STRING</a>* text) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordtype">bool</span> BidiDebug(<span class="keywordtype">int</span> min_level) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">bool</span> current_paragraph_is_ltr_;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  </div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">bool</span> at_beginning_of_minor_run_;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">bool</span> in_minor_direction_;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordtype">bool</span> preserve_interword_spaces_;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> };</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> } <span class="comment">// namespace tesseract.</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor">#endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H_</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00029_html_aefcd819eeed9085ef0eeeff0f4cac64f"><div class="ttname"><a href="a00029.html#aefcd819eeed9085ef0eeeff0f4cac64f">TESS_LOCAL</a></div><div class="ttdeci">#define TESS_LOCAL</div><div class="ttdef"><b>Definition:</b> <a href="a00029_source.html#l00055">platform.h:55</a></div></div>
<div class="ttc" id="aa02534_html_a1c97324553ea1b897dfb5404e0f9e315"><div class="ttname"><a href="a02534.html#a1c97324553ea1b897dfb5404e0f9e315">tesseract::ResultIterator::kMinorRunStart</a></div><div class="ttdeci">static const int kMinorRunStart</div><div class="ttdef"><b>Definition:</b> <a href="a00038_source.html#l00146">resultiterator.h:146</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="aa02542_html"><div class="ttname"><a href="a02542.html">STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00044_source.html#l00045">strngs.h:45</a></div></div>
<div class="ttc" id="aa00017_html"><div class="ttname"><a href="a00017.html">ltrresultiterator.h</a></div></div>
<div class="ttc" id="aa02454_html"><div class="ttname"><a href="a02454.html">tesseract::LTRResultIterator</a></div><div class="ttdef"><b>Definition:</b> <a href="a00017_source.html#l00047">ltrresultiterator.h:47</a></div></div>
<div class="ttc" id="aa02534_html_ad23440ad1059127afadd17c18fbf93ad"><div class="ttname"><a href="a02534.html#ad23440ad1059127afadd17c18fbf93ad">tesseract::ResultIterator::kComplexWord</a></div><div class="ttdeci">static const int kComplexWord</div><div class="ttdef"><b>Definition:</b> <a href="a00038_source.html#l00148">resultiterator.h:148</a></div></div>
<div class="ttc" id="aa00032_html"><div class="ttname"><a href="a00032.html">publictypes.h</a></div></div>
<div class="ttc" id="aa02534_html_a15e95d21ce320a7c282c5a8d61fe73ee"><div class="ttname"><a href="a02534.html#a15e95d21ce320a7c282c5a8d61fe73ee">tesseract::ResultIterator::kMinorRunEnd</a></div><div class="ttdeci">static const int kMinorRunEnd</div><div class="ttdef"><b>Definition:</b> <a href="a00038_source.html#l00147">resultiterator.h:147</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">tesseract::PageIteratorLevel</a></div><div class="ttdeci">PageIteratorLevel</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00216">publictypes.h:216</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="aa02446_html"><div class="ttname"><a href="a02446.html">GenericVectorEqEq</a></div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00640">genericvector.h:640</a></div></div>
<div class="ttc" id="aa02434_html"><div class="ttname"><a href="a02434.html">GenericVector</a></div><div class="ttdef"><b>Definition:</b> <a href="a00005_source.html#l00040">baseapi.h:40</a></div></div>
<div class="ttc" id="aa02534_html"><div class="ttname"><a href="a02534.html">tesseract::ResultIterator</a></div><div class="ttdef"><b>Definition:</b> <a href="a00038_source.html#l00044">resultiterator.h:44</a></div></div>
<div class="ttc" id="aa00050_html"><div class="ttname"><a href="a00050.html">unichar.h</a></div></div>
<div class="ttc" id="aa00029_html_a86e51270628c53ce7e2c23b1c2b4490e"><div class="ttname"><a href="a00029.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a></div><div class="ttdeci">#define TESS_API</div><div class="ttdef"><b>Definition:</b> <a href="a00029_source.html#l00054">platform.h:54</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="a00038.html">resultiterator.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>