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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
|
<!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"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Dillo: dw::core::TextIterator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://www.dillo.org/dw/html/jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Dillo
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacedw.html">dw</a></li><li class="navelem"><a class="el" href="namespacedw_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classdw_1_1core_1_1TextIterator.html">TextIterator</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classdw_1_1core_1_1TextIterator.html#pub-methods">Public Member Functions</a> |
<a href="classdw_1_1core_1_1TextIterator.html#pri-methods">Private Member Functions</a> |
<a href="classdw_1_1core_1_1TextIterator.html#pri-attribs">Private Attributes</a> |
<a href="classdw_1_1core_1_1TextIterator-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">dw::core::TextIterator Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This implementation of <a class="el" href="classdw_1_1core_1_1Iterator.html" title="Iterators are used to iterate through the contents of a widget. ">dw::core::Iterator</a> can be used by widgets having one text word as contents.
<a href="classdw_1_1core_1_1TextIterator.html#details">More...</a></p>
<p><code>#include <<a class="el" href="iterator_8hh_source.html">iterator.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a87ca69f6a60e6ed19c6e2f0c3395f7f9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a87ca69f6a60e6ed19c6e2f0c3395f7f9">TextIterator</a> (<a class="el" href="classdw_1_1core_1_1Widget.html">Widget</a> *<a class="el" href="classdw_1_1core_1_1Iterator.html#a1b8e26f5800c7c6f14e51c45efe0f2ad">widget</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5">Content::Type</a> <a class="el" href="classdw_1_1core_1_1Iterator.html#aea8c1cae56061660c38a1e1fe43502c5">mask</a>, bool atEnd, const char *<a class="el" href="classdw_1_1core_1_1TextIterator.html#a04e90371663b5c4ecb50a9b8c34e67af">text</a>)</td></tr>
<tr class="separator:a87ca69f6a60e6ed19c6e2f0c3395f7f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8b69450d866d041224b46ba7a50167f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#ae8b69450d866d041224b46ba7a50167f">compareTo</a> (<a class="el" href="classlout_1_1object_1_1Comparable.html">lout::object::Comparable</a> *other)</td></tr>
<tr class="memdesc:ae8b69450d866d041224b46ba7a50167f"><td class="mdescLeft"> </td><td class="mdescRight">Compare two objects, this and other. <a href="classdw_1_1core_1_1TextIterator.html#ae8b69450d866d041224b46ba7a50167f">More...</a><br /></td></tr>
<tr class="separator:ae8b69450d866d041224b46ba7a50167f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22f6cfccd339ecd95178c67923cbe325"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a22f6cfccd339ecd95178c67923cbe325">next</a> ()</td></tr>
<tr class="memdesc:a22f6cfccd339ecd95178c67923cbe325"><td class="mdescLeft"> </td><td class="mdescRight">Move iterator forward and store content it. <a href="classdw_1_1core_1_1TextIterator.html#a22f6cfccd339ecd95178c67923cbe325">More...</a><br /></td></tr>
<tr class="separator:a22f6cfccd339ecd95178c67923cbe325"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90696ad1a86cc619b3c116e49b45fee5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a90696ad1a86cc619b3c116e49b45fee5">prev</a> ()</td></tr>
<tr class="memdesc:a90696ad1a86cc619b3c116e49b45fee5"><td class="mdescLeft"> </td><td class="mdescRight">Move iterator backward and store content it. <a href="classdw_1_1core_1_1TextIterator.html#a90696ad1a86cc619b3c116e49b45fee5">More...</a><br /></td></tr>
<tr class="separator:a90696ad1a86cc619b3c116e49b45fee5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a994d77ebff22d5734b6365bbf3a18549"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a994d77ebff22d5734b6365bbf3a18549">getAllocation</a> (int start, int end, <a class="el" href="structdw_1_1core_1_1Allocation.html">Allocation</a> *allocation)</td></tr>
<tr class="memdesc:a994d77ebff22d5734b6365bbf3a18549"><td class="mdescLeft"> </td><td class="mdescRight">Return the shape, which a part of the item, the iterator points on, allocates. <a href="classdw_1_1core_1_1TextIterator.html#a994d77ebff22d5734b6365bbf3a18549">More...</a><br /></td></tr>
<tr class="separator:a994d77ebff22d5734b6365bbf3a18549"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classdw_1_1core_1_1Iterator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdw_1_1core_1_1Iterator')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classdw_1_1core_1_1Iterator.html">dw::core::Iterator</a></td></tr>
<tr class="memitem:a93015e7bc0d208d1f53ff67c4ce7c3f8 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a93015e7bc0d208d1f53ff67c4ce7c3f8">equals</a> (<a class="el" href="classlout_1_1object_1_1Object.html">Object</a> *other)</td></tr>
<tr class="memdesc:a93015e7bc0d208d1f53ff67c4ce7c3f8 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Returns, whether two objects are equal. <a href="classdw_1_1core_1_1TextIterator.html#a93015e7bc0d208d1f53ff67c4ce7c3f8">More...</a><br /></td></tr>
<tr class="separator:a93015e7bc0d208d1f53ff67c4ce7c3f8 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6599cd89a420967f3e87890ea13af163 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a6599cd89a420967f3e87890ea13af163">intoStringBuffer</a> (<a class="el" href="classlout_1_1misc_1_1StringBuffer.html">lout::misc::StringBuffer</a> *sb)</td></tr>
<tr class="memdesc:a6599cd89a420967f3e87890ea13af163 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Store a textual representation of the object in a misc::StringBuffer. <a href="classdw_1_1core_1_1TextIterator.html#a6599cd89a420967f3e87890ea13af163">More...</a><br /></td></tr>
<tr class="separator:a6599cd89a420967f3e87890ea13af163 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26915782af6044608f98ade66c324836 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdw_1_1core_1_1Widget.html">Widget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a26915782af6044608f98ade66c324836">getWidget</a> ()</td></tr>
<tr class="separator:a26915782af6044608f98ade66c324836 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd6b45b875ee8d69b913cc49326633d0 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdw_1_1core_1_1Content.html">Content</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#afd6b45b875ee8d69b913cc49326633d0">getContent</a> ()</td></tr>
<tr class="separator:afd6b45b875ee8d69b913cc49326633d0 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8040dcfa52fc2204230a6b765671a7d inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5">Content::Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#ab8040dcfa52fc2204230a6b765671a7d">getMask</a> ()</td></tr>
<tr class="separator:ab8040dcfa52fc2204230a6b765671a7d inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b7d934d2dd614e9005a2be463a84aec inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a4b7d934d2dd614e9005a2be463a84aec">unref</a> ()</td></tr>
<tr class="memdesc:a4b7d934d2dd614e9005a2be463a84aec inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Delete the iterator. <a href="classdw_1_1core_1_1TextIterator.html#a4b7d934d2dd614e9005a2be463a84aec">More...</a><br /></td></tr>
<tr class="separator:a4b7d934d2dd614e9005a2be463a84aec inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37c258e6e0235918d1957ea348b752b4 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a37c258e6e0235918d1957ea348b752b4">highlight</a> (int start, int end, <a class="el" href="namespacedw_1_1core.html#a8e1256872000334f5da5704f3b21c1df">HighlightLayer</a> layer)=0</td></tr>
<tr class="memdesc:a37c258e6e0235918d1957ea348b752b4 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Extend highlighted region to contain part of the current content. <a href="classdw_1_1core_1_1TextIterator.html#a37c258e6e0235918d1957ea348b752b4">More...</a><br /></td></tr>
<tr class="separator:a37c258e6e0235918d1957ea348b752b4 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a977e09483e4a73dc8812f2fe5a0eb503 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a977e09483e4a73dc8812f2fe5a0eb503">unhighlight</a> (int direction, <a class="el" href="namespacedw_1_1core.html#a8e1256872000334f5da5704f3b21c1df">HighlightLayer</a> layer)=0</td></tr>
<tr class="memdesc:a977e09483e4a73dc8812f2fe5a0eb503 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Shrink highlighted region to no longer contain the current content. <a href="classdw_1_1core_1_1TextIterator.html#a977e09483e4a73dc8812f2fe5a0eb503">More...</a><br /></td></tr>
<tr class="separator:a977e09483e4a73dc8812f2fe5a0eb503 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57afe4f78763eca7f27dfde4986a3b11 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdw_1_1core_1_1Iterator.html">Iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a57afe4f78763eca7f27dfde4986a3b11">cloneIterator</a> ()</td></tr>
<tr class="separator:a57afe4f78763eca7f27dfde4986a3b11 inherit pub_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classlout_1_1object_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlout_1_1object_1_1Object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classlout_1_1object_1_1Object.html">lout::object::Object</a></td></tr>
<tr class="memitem:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a9fef8a29a41124cb0370f4dc0410fb5b">~Object</a> ()</td></tr>
<tr class="memdesc:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">The destructor is defined as virtual (but not abstract), so that destruction of <a class="el" href="classlout_1_1object_1_1Object.html" title="This is the base class for many other classes, which defines very common virtual methods. ">Object</a>'s works properly. <a href="classdw_1_1core_1_1TextIterator.html#a9fef8a29a41124cb0370f4dc0410fb5b">More...</a><br /></td></tr>
<tr class="separator:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#ad81c4136418c9b44253568f9ae069006">hashValue</a> ()</td></tr>
<tr class="memdesc:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return a hash value for the object. <a href="classdw_1_1core_1_1TextIterator.html#ad81c4136418c9b44253568f9ae069006">More...</a><br /></td></tr>
<tr class="separator:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlout_1_1object_1_1Object.html">Object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a7ab36efad0df9a036b9252a9564a8cd4">clone</a> ()</td></tr>
<tr class="memdesc:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return an exact copy of the object. <a href="classdw_1_1core_1_1TextIterator.html#a7ab36efad0df9a036b9252a9564a8cd4">More...</a><br /></td></tr>
<tr class="separator:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#ad7aeadc7934293197110d550abda81ff">toString</a> ()</td></tr>
<tr class="memdesc:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Use <a class="el" href="classlout_1_1object_1_1Object.html#ad1ad2f2b36fc7a7bead883caa64b0082" title="Store a textual representation of the object in a misc::StringBuffer. ">object::Object::intoStringBuffer</a> to return a textual representation of the object. <a href="classdw_1_1core_1_1TextIterator.html#ad7aeadc7934293197110d550abda81ff">More...</a><br /></td></tr>
<tr class="separator:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a8b53443ca61b25e794157792f5d3a956">sizeOf</a> ()</td></tr>
<tr class="memdesc:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of bytes, this object totally uses. <a href="classdw_1_1core_1_1TextIterator.html#a8b53443ca61b25e794157792f5d3a956">More...</a><br /></td></tr>
<tr class="separator:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a12f5c6de6bd1819c87b0513a21fcaded"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a12f5c6de6bd1819c87b0513a21fcaded">TextIterator</a> (<a class="el" href="classdw_1_1core_1_1TextIterator.html">TextIterator</a> &it)</td></tr>
<tr class="separator:a12f5c6de6bd1819c87b0513a21fcaded"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a04e90371663b5c4ecb50a9b8c34e67af"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1TextIterator.html#a04e90371663b5c4ecb50a9b8c34e67af">text</a></td></tr>
<tr class="separator:a04e90371663b5c4ecb50a9b8c34e67af"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classdw_1_1core_1_1Iterator"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classdw_1_1core_1_1Iterator')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classdw_1_1core_1_1Iterator.html">dw::core::Iterator</a></td></tr>
<tr class="memitem:a58c653bce1723908045c99d96cd3174f inherit pub_static_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a58c653bce1723908045c99d96cd3174f">scrollTo</a> (<a class="el" href="classdw_1_1core_1_1Iterator.html">Iterator</a> *it1, <a class="el" href="classdw_1_1core_1_1Iterator.html">Iterator</a> *it2, int start, int end, <a class="el" href="namespacedw_1_1core.html#adcc37c8d91f2adaaa594858f052aa1bf">HPosition</a> hpos, <a class="el" href="namespacedw_1_1core.html#ac4eb3a2c80b4b3ce37c6908623efa2ab">VPosition</a> vpos)</td></tr>
<tr class="memdesc:a58c653bce1723908045c99d96cd3174f inherit pub_static_methods_classdw_1_1core_1_1Iterator"><td class="mdescLeft"> </td><td class="mdescRight">Scrolls the viewport, so that the region between <em>it1</em> and <em>it2</em> is seen, according to <em>hpos</em> and <em>vpos</em>. <a href="classdw_1_1core_1_1TextIterator.html#a58c653bce1723908045c99d96cd3174f">More...</a><br /></td></tr>
<tr class="separator:a58c653bce1723908045c99d96cd3174f inherit pub_static_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classdw_1_1core_1_1Iterator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classdw_1_1core_1_1Iterator')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classdw_1_1core_1_1Iterator.html">dw::core::Iterator</a></td></tr>
<tr class="memitem:a7436fd82f57423901ea041e06ae95796 inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a7436fd82f57423901ea041e06ae95796">Iterator</a> (<a class="el" href="classdw_1_1core_1_1Widget.html">Widget</a> *<a class="el" href="classdw_1_1core_1_1Iterator.html#a1b8e26f5800c7c6f14e51c45efe0f2ad">widget</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5">Content::Type</a> <a class="el" href="classdw_1_1core_1_1Iterator.html#aea8c1cae56061660c38a1e1fe43502c5">mask</a>, bool atEnd)</td></tr>
<tr class="separator:a7436fd82f57423901ea041e06ae95796 inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6af51e5f766aab0c01d64420d8e88af5 inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#a6af51e5f766aab0c01d64420d8e88af5">Iterator</a> (<a class="el" href="classdw_1_1core_1_1Iterator.html">Iterator</a> &it)</td></tr>
<tr class="separator:a6af51e5f766aab0c01d64420d8e88af5 inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8270a65b4e7881e7652da59184b1c5d inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#ae8270a65b4e7881e7652da59184b1c5d">~Iterator</a> ()</td></tr>
<tr class="separator:ae8270a65b4e7881e7652da59184b1c5d inherit pro_methods_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classdw_1_1core_1_1Iterator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classdw_1_1core_1_1Iterator')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classdw_1_1core_1_1Iterator.html">dw::core::Iterator</a></td></tr>
<tr class="memitem:ad2cbd6bdfda861b1809ba7c84c444a72 inherit pro_attribs_classdw_1_1core_1_1Iterator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdw_1_1core_1_1Content.html">Content</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Iterator.html#ad2cbd6bdfda861b1809ba7c84c444a72">content</a></td></tr>
<tr class="separator:ad2cbd6bdfda861b1809ba7c84c444a72 inherit pro_attribs_classdw_1_1core_1_1Iterator"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This implementation of <a class="el" href="classdw_1_1core_1_1Iterator.html" title="Iterators are used to iterate through the contents of a widget. ">dw::core::Iterator</a> can be used by widgets having one text word as contents. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a12f5c6de6bd1819c87b0513a21fcaded"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">dw::core::TextIterator::TextIterator </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdw_1_1core_1_1TextIterator.html">TextIterator</a> & </td>
<td class="paramname"><em>it</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="classdw_1_1core_1_1TextIterator.html#a04e90371663b5c4ecb50a9b8c34e67af">text</a>.</p>
</div>
</div>
<a class="anchor" id="a87ca69f6a60e6ed19c6e2f0c3395f7f9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dw::core::TextIterator::TextIterator </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdw_1_1core_1_1Widget.html">Widget</a> * </td>
<td class="paramname"><em>widget</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5">Content::Type</a> </td>
<td class="paramname"><em>mask</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>atEnd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>text</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="classdw_1_1core_1_1Iterator.html#ad2cbd6bdfda861b1809ba7c84c444a72">dw::core::Iterator::content</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5a7514f6d00a8a95b9df5623e0e71240d6">dw::core::Content::END</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab81c14fe6d6ba55d996a051307fdbdf4">dw::core::Content::START</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab09dfe6b754bb928d2c7dfdfc5b15e25">dw::core::Content::TEXT</a>, and <a class="el" href="structdw_1_1core_1_1Content.html#aa971ad509ca33d74ea808f3254446cff">dw::core::Content::type</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae8b69450d866d041224b46ba7a50167f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dw::core::TextIterator::compareTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlout_1_1object_1_1Comparable.html">lout::object::Comparable</a> * </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two objects, this and other. </p>
<p>Return a value < 0, when this is less than other, a value > 0, when this is greater than other, or 0, when this and other are equal.</p>
<p>If c1.equals(c2) (as defined in Object), c1.compareTo(c2) must be 0, but, unlike you may expect, the reversed is not necessarily true. This method returns 0, if, according to the rules for sorting, there is no difference, but there may still be differences (not relevant for sorting), which "equals" will care about. </p>
<p>Implements <a class="el" href="classlout_1_1object_1_1Comparable.html#a9a927587b7319329a6052d3cc5379dae">lout::object::Comparable</a>.</p>
<p>References <a class="el" href="namespacelout_1_1misc.html#af12c41294c3892aa63cd1cf87030c1ad">lout::misc::assertNotReached()</a>, <a class="el" href="classdw_1_1core_1_1Iterator.html#ad2cbd6bdfda861b1809ba7c84c444a72">dw::core::Iterator::content</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5a7514f6d00a8a95b9df5623e0e71240d6">dw::core::Content::END</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab81c14fe6d6ba55d996a051307fdbdf4">dw::core::Content::START</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab09dfe6b754bb928d2c7dfdfc5b15e25">dw::core::Content::TEXT</a>, and <a class="el" href="structdw_1_1core_1_1Content.html#aa971ad509ca33d74ea808f3254446cff">dw::core::Content::type</a>.</p>
</div>
</div>
<a class="anchor" id="a994d77ebff22d5734b6365bbf3a18549"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void dw::core::TextIterator::getAllocation </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structdw_1_1core_1_1Allocation.html">Allocation</a> * </td>
<td class="paramname"><em>allocation</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the shape, which a part of the item, the iterator points on, allocates. </p>
<p>The parameters start and end have the same meaning as in DwIterator::highlight(). </p>
<p>Implements <a class="el" href="classdw_1_1core_1_1Iterator.html#a478a579d8a94ee5879c24b296391c2cf">dw::core::Iterator</a>.</p>
<p>References <a class="el" href="classdw_1_1core_1_1Widget.html#a64b3f0e0b905f041b813774ca1a0376b">dw::core::Widget::getAllocation()</a>, and <a class="el" href="classdw_1_1core_1_1Iterator.html#a26915782af6044608f98ade66c324836">dw::core::Iterator::getWidget()</a>.</p>
</div>
</div>
<a class="anchor" id="a22f6cfccd339ecd95178c67923cbe325"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool dw::core::TextIterator::next </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Move iterator forward and store content it. </p>
<p>Returns true on success. </p>
<p>Implements <a class="el" href="classdw_1_1core_1_1Iterator.html#a72f475e2c830ed8ef3b437f23a37c976">dw::core::Iterator</a>.</p>
<p>References <a class="el" href="classdw_1_1core_1_1Iterator.html#ad2cbd6bdfda861b1809ba7c84c444a72">dw::core::Iterator::content</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5a7514f6d00a8a95b9df5623e0e71240d6">dw::core::Content::END</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab81c14fe6d6ba55d996a051307fdbdf4">dw::core::Content::START</a>, <a class="el" href="classdw_1_1core_1_1TextIterator.html#a04e90371663b5c4ecb50a9b8c34e67af">text</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab09dfe6b754bb928d2c7dfdfc5b15e25">dw::core::Content::TEXT</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a70a6629fc3794f835cb51eb54f37044b">dw::core::Content::text</a>, and <a class="el" href="structdw_1_1core_1_1Content.html#aa971ad509ca33d74ea808f3254446cff">dw::core::Content::type</a>.</p>
</div>
</div>
<a class="anchor" id="a90696ad1a86cc619b3c116e49b45fee5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool dw::core::TextIterator::prev </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Move iterator backward and store content it. </p>
<p>Returns true on success. </p>
<p>Implements <a class="el" href="classdw_1_1core_1_1Iterator.html#a8c64db1acab3349ba787396392bbe4d5">dw::core::Iterator</a>.</p>
<p>References <a class="el" href="classdw_1_1core_1_1Iterator.html#ad2cbd6bdfda861b1809ba7c84c444a72">dw::core::Iterator::content</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5a7514f6d00a8a95b9df5623e0e71240d6">dw::core::Content::END</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab81c14fe6d6ba55d996a051307fdbdf4">dw::core::Content::START</a>, <a class="el" href="classdw_1_1core_1_1TextIterator.html#a04e90371663b5c4ecb50a9b8c34e67af">text</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a41c29111b049db05a8de25b2e1ca4bd5ab09dfe6b754bb928d2c7dfdfc5b15e25">dw::core::Content::TEXT</a>, <a class="el" href="structdw_1_1core_1_1Content.html#a70a6629fc3794f835cb51eb54f37044b">dw::core::Content::text</a>, and <a class="el" href="structdw_1_1core_1_1Content.html#aa971ad509ca33d74ea808f3254446cff">dw::core::Content::type</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a04e90371663b5c4ecb50a9b8c34e67af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const char* dw::core::TextIterator::text</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>May be NULL, in this case, the next is skipped. </p>
<p>Referenced by <a class="el" href="classdw_1_1core_1_1TextIterator.html#a22f6cfccd339ecd95178c67923cbe325">next()</a>, <a class="el" href="classdw_1_1core_1_1TextIterator.html#a90696ad1a86cc619b3c116e49b45fee5">prev()</a>, and <a class="el" href="classdw_1_1core_1_1TextIterator.html#a12f5c6de6bd1819c87b0513a21fcaded">TextIterator()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>dw/<a class="el" href="iterator_8hh_source.html">iterator.hh</a></li>
<li>dw/<a class="el" href="iterator_8cc.html">iterator.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 28 2016 11:47:44 for Dillo by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|