This file is indexed.

/usr/share/doc/mia-2.2/libdoc/classCAttributedData.html is in libmia-2.2-doc 2.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
<!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>CAttributedData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CAttributedData Class Reference<div class="ingroups"><a class="el" href="group__basic.html">Basic data strctures and functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A collection of attributes.  
 <a href="classCAttributedData.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="attributes_8hh_source.html">mia/core/attributes.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CAttributedData:</div>
<div class="dyncontent">
<div class="center"><img src="classCAttributedData__inherit__graph.png" border="0" usemap="#CAttributedData_inherit__map" alt="Inheritance graph"/></div>
<map name="CAttributedData_inherit__map" id="CAttributedData_inherit__map">
<area shape="rect" id="node2" href="classC2DImage.html" title="This is the base class for 2D images that can hold generic pixel data. " alt="" coords="221,39,310,65"/><area shape="rect" id="node5" href="classC3DImage.html" title="The generic base type of a 3D image. " alt="" coords="221,89,310,116"/><area shape="rect" id="node7" href="classT2DVectorfield.html" title="2D Vector field " alt="" coords="190,191,341,217"/><area shape="rect" id="node8" href="classT2DVectorfield.html" title="T2DVectorfield\&lt; C2DFVector \&gt;" alt="" coords="593,161,812,188"/><area shape="rect" id="node10" href="classT3DVectorfield.html" title="a 3D vector field " alt="" coords="190,292,341,319"/><area shape="rect" id="node11" href="classT3DVectorfield.html" title="T3DVectorfield\&lt; C3DFVector \&gt;" alt="" coords="593,263,812,289"/><area shape="rect" id="node13" href="classTransformation.html" title="generic base class for transformations " alt="" coords="181,393,349,420"/><area shape="rect" id="node14" href="classTransformation.html" title="Transformation\&lt; C2DImage,\l C2DInterpolatorFactory \&gt;" alt="" coords="601,455,804,497"/><area shape="rect" id="node17" href="classTransformation.html" title="Transformation\&lt; C3DImage,\l C3DInterpolatorFactory \&gt;" alt="" coords="601,373,804,414"/><area shape="rect" id="node3" href="classT2DImage.html" title="This is the template version of a 2D image that is used for holding real data. " alt="" coords="641,39,765,65"/><area shape="rect" id="node4" href="classT2DImage.html" title="T2DImage\&lt; float \&gt;" alt="" coords="923,5,1068,32"/><area shape="rect" id="node6" href="classT3DImage.html" title="Specific type of the 3D images that hold real pixel data. " alt="" coords="641,89,765,116"/><area shape="rect" id="node9" href="classC2DIOVectorfield.html" title="a class for the IO of 2D vector fields " alt="" coords="931,161,1060,188"/><area shape="rect" id="node12" href="classC3DIOVectorfield.html" title="An interface class to wrap a vector field into something, IO plugins can understand. " alt="" coords="931,263,1060,289"/><area shape="rect" id="node15" href="classC2DTransformation.html" title="This is the generic base class for 2D transformations. " alt="" coords="923,463,1067,489"/><area shape="rect" id="node16" href="classC2DTransformMock.html" title="This class mocks a transformation by implementing all the pure virtual methods of the C2DTransformati..." alt="" coords="1120,463,1265,489"/><area shape="rect" id="node18" href="classC3DTransformation.html" title="This is the generic base class for 3D transformations. " alt="" coords="923,380,1067,407"/><area shape="rect" id="node19" href="classC3DLinearTransform.html" title="C3DLinearTransform" alt="" coords="1117,396,1268,423"/><area shape="rect" id="node20" href="classC3DTransformMock.html" title="A test class to enable running code that needs a transformation. " alt="" coords="1120,345,1265,372"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<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:a1ea5227b383bba1abaa00b6b2d946724"><td class="memItemLeft" align="right" valign="top">CAttributeMap::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a1ea5227b383bba1abaa00b6b2d946724">begin_attributes</a> () const </td></tr>
<tr class="separator:a1ea5227b383bba1abaa00b6b2d946724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a9d434214ec025614b2575c71fe771c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a5a9d434214ec025614b2575c71fe771c">delete_attribute</a> (const std::string &amp;key)</td></tr>
<tr class="separator:a5a9d434214ec025614b2575c71fe771c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2031b4a472766d0843cf248c8e9bb953"><td class="memItemLeft" align="right" valign="top">CAttributeMap::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a2031b4a472766d0843cf248c8e9bb953">end_attributes</a> () const </td></tr>
<tr class="separator:a2031b4a472766d0843cf248c8e9bb953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6100afd0e13af2b713dc6422cbee2216"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="attributes_8hh.html#a8e2479e95252a094d72da87dff80a068">PAttribute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a6100afd0e13af2b713dc6422cbee2216">get_attribute</a> (const std::string &amp;key) const </td></tr>
<tr class="separator:a6100afd0e13af2b713dc6422cbee2216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1064bcfeb10ce2f1ca5ac5a8745593ff"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a1064bcfeb10ce2f1ca5ac5a8745593ff"><td class="memTemplItemLeft" align="right" valign="top">const T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a1064bcfeb10ce2f1ca5ac5a8745593ff">get_attribute_as</a> (const std::string &amp;key) const </td></tr>
<tr class="separator:a1064bcfeb10ce2f1ca5ac5a8745593ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1715c9638a4335a70d4d7bf31545d65"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ad1715c9638a4335a70d4d7bf31545d65"><td class="memTemplItemLeft" align="right" valign="top">const T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#ad1715c9638a4335a70d4d7bf31545d65">get_attribute_as</a> (const std::string &amp;key, T default_value) const </td></tr>
<tr class="separator:ad1715c9638a4335a70d4d7bf31545d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e6a1ddc332dafc88e722660fd7d922"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#ad9e6a1ddc332dafc88e722660fd7d922">get_attribute_as_string</a> (const std::string &amp;key) const </td></tr>
<tr class="memdesc:ad9e6a1ddc332dafc88e722660fd7d922"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the requested attribute as string, returns an empty string if attribute doesn't exist  <a href="#ad9e6a1ddc332dafc88e722660fd7d922">More...</a><br /></td></tr>
<tr class="separator:ad9e6a1ddc332dafc88e722660fd7d922"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4d12c15fab4bb384c6c77dc6a7163f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#aa4d12c15fab4bb384c6c77dc6a7163f9">has_attribute</a> (const std::string &amp;key) const </td></tr>
<tr class="separator:aa4d12c15fab4bb384c6c77dc6a7163f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a227b66916e4dfc754d9cdf9077b048e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCAttributedData.html">CAttributedData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a227b66916e4dfc754d9cdf9077b048e6">operator=</a> (const <a class="el" href="classCAttributedData.html">CAttributedData</a> &amp;org)</td></tr>
<tr class="memdesc:a227b66916e4dfc754d9cdf9077b048e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignemt operator.  <a href="#a227b66916e4dfc754d9cdf9077b048e6">More...</a><br /></td></tr>
<tr class="separator:a227b66916e4dfc754d9cdf9077b048e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bb277beb67fff31f050f4c4038aeef4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a2bb277beb67fff31f050f4c4038aeef4">print</a> (std::ostream &amp;os) const </td></tr>
<tr class="separator:a2bb277beb67fff31f050f4c4038aeef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58983aa9f3524c8d61843b67dba789d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a58983aa9f3524c8d61843b67dba789d4">set_attribute</a> (const std::string &amp;key, <a class="el" href="attributes_8hh.html#a8e2479e95252a094d72da87dff80a068">PAttribute</a> attr)</td></tr>
<tr class="separator:a58983aa9f3524c8d61843b67dba789d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58dd2ec6cdafa92a31d33f3157b43571"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a58dd2ec6cdafa92a31d33f3157b43571">set_attribute</a> (const std::string &amp;key, const std::string &amp;value)</td></tr>
<tr class="separator:a58dd2ec6cdafa92a31d33f3157b43571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2e8c1ef5479c2592aaf3d236bf67491"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ac2e8c1ef5479c2592aaf3d236bf67491"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#ac2e8c1ef5479c2592aaf3d236bf67491">set_attribute</a> (const std::string &amp;key, const T &amp;value)</td></tr>
<tr class="separator:ac2e8c1ef5479c2592aaf3d236bf67491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f96e6d298e042b71835dd85af6d98c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a6f96e6d298e042b71835dd85af6d98c2">set_attribute</a> (const std::string &amp;key, const char *value)</td></tr>
<tr class="separator:a6f96e6d298e042b71835dd85af6d98c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad42c74c46b6cebe013b9cf8fee2ee3f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#ad42c74c46b6cebe013b9cf8fee2ee3f0">set_attributes</a> (CAttributeMap::const_iterator begin, CAttributeMap::const_iterator end)</td></tr>
<tr class="separator:ad42c74c46b6cebe013b9cf8fee2ee3f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr class="memitem:a05910ef8952494ca14dbf1d9f8a5060b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a05910ef8952494ca14dbf1d9f8a5060b">CAttributedData</a> ()</td></tr>
<tr class="separator:a05910ef8952494ca14dbf1d9f8a5060b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabd4ec46a76086332dd29d2aa5a77885"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#aabd4ec46a76086332dd29d2aa5a77885">CAttributedData</a> (const <a class="el" href="classCAttributedData.html">CAttributedData</a> &amp;org)</td></tr>
<tr class="separator:aabd4ec46a76086332dd29d2aa5a77885"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47a05f633f8ed35dccdc305e3510ed53"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttributedData.html#a47a05f633f8ed35dccdc305e3510ed53">CAttributedData</a> (<a class="el" href="group__basic.html#ga661c9f28fd7ca92427b955041d876156">PAttributeMap</a> attr)</td></tr>
<tr class="separator:a47a05f633f8ed35dccdc305e3510ed53"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A collection of attributes. </p>
<p>This is the base class for all data that uses attributes. It provides all the needed functions to store and retrive attributes. </p>

<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00252">252</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a05910ef8952494ca14dbf1d9f8a5060b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CAttributedData::CAttributedData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aabd4ec46a76086332dd29d2aa5a77885"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CAttributedData::CAttributedData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCAttributedData.html">CAttributedData</a> &amp;&#160;</td>
          <td class="paramname"><em>org</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a47a05f633f8ed35dccdc305e3510ed53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CAttributedData::CAttributedData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__basic.html#ga661c9f28fd7ca92427b955041d876156">PAttributeMap</a>&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor that initialises with a certain attribute map </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>the map to be initialised with </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1ea5227b383bba1abaa00b6b2d946724"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CAttributeMap::const_iterator CAttributedData::begin_attributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the begin iterator to the attributes </dd></dl>

</div>
</div>
<a class="anchor" id="a5a9d434214ec025614b2575c71fe771c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::delete_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Delete the attribute with a given key from the list </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2031b4a472766d0843cf248c8e9bb953"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CAttributeMap::const_iterator CAttributedData::end_attributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the end iterator to the attributes </dd></dl>

</div>
</div>
<a class="anchor" id="a6100afd0e13af2b713dc6422cbee2216"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="attributes_8hh.html#a8e2479e95252a094d72da87dff80a068">PAttribute</a> CAttributedData::get_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the attribute with name <em>name</em> or <em>NULL</em> (wrapped as shared pointer) if the attribute with <em>name</em> is not found </dd></dl>

<p>Referenced by <a class="el" href="attributes_8hh_source.html#l00743">get_attribute_as()</a>.</p>

</div>
</div>
<a class="anchor" id="a1064bcfeb10ce2f1ca5ac5a8745593ff"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T CAttributedData::get_attribute_as </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Look for a certain attribute and try to cast it to the output type. If the attribute is not found, a std::invalid_argument exception is thrown. If the cast fails then std::bad_cast exception will be thrown. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key of the attribute to look up. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of the attribute </dd></dl>

<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00743">743</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>

<p>References <a class="el" href="classCAttributedData.html#a6100afd0e13af2b713dc6422cbee2216">get_attribute()</a>.</p>

</div>
</div>
<a class="anchor" id="ad1715c9638a4335a70d4d7bf31545d65"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T CAttributedData::get_attribute_as </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>default_value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Look for a certain attribute and try to cast it to the output type. If the attribute is not found, or the cast goes wrong use the default value In the latter case a warning is written out. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key of the attribute to look up. </td></tr>
    <tr><td class="paramname">default_value</td><td>the default value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of the attribute </dd></dl>

<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00753">753</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>

<p>References <a class="el" href="msgstream_8hh_source.html#l00311">cvwarn()</a>, and <a class="el" href="classCAttributedData.html#a6100afd0e13af2b713dc6422cbee2216">get_attribute()</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e6a1ddc332dafc88e722660fd7d922"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string CAttributedData::get_attribute_as_string </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the requested attribute as string, returns an empty string if attribute doesn't exist </p>

</div>
</div>
<a class="anchor" id="aa4d12c15fab4bb384c6c77dc6a7163f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CAttributedData::has_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>See if a certain attribute exists </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if attribute exists, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a227b66916e4dfc754d9cdf9077b048e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCAttributedData.html">CAttributedData</a>&amp; CAttributedData::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCAttributedData.html">CAttributedData</a> &amp;&#160;</td>
          <td class="paramname"><em>org</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignemt operator. </p>

</div>
</div>
<a class="anchor" id="a2bb277beb67fff31f050f4c4038aeef4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00372">372</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>

<p>Referenced by <a class="el" href="attributes_8hh_source.html#l00380">operator&lt;&lt;()</a>.</p>

</div>
</div>
<a class="anchor" id="a58983aa9f3524c8d61843b67dba789d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::set_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="attributes_8hh.html#a8e2479e95252a094d72da87dff80a068">PAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the attribute <em>name</em> to value <em>attr</em>. If <em>attr</em> is <em>NULL</em>, then the attribute is removed from the list (or not added) </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
    <tr><td class="paramname">attr</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a58dd2ec6cdafa92a31d33f3157b43571"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::set_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set an attribute using one of the defined translators </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
    <tr><td class="paramname">value</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac2e8c1ef5479c2592aaf3d236bf67491"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::set_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set an attribute, generic version. </p><dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of the attribute value to be set </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
    <tr><td class="paramname">value</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00690">690</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>

<p>References <a class="el" href="attributes_8hh_source.html#l00478">add_attribute()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f96e6d298e042b71835dd85af6d98c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::set_attribute </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set an attribute using one of the defined translators </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td></td></tr>
    <tr><td class="paramname">value</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad42c74c46b6cebe013b9cf8fee2ee3f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CAttributedData::set_attributes </td>
          <td>(</td>
          <td class="paramtype">CAttributeMap::const_iterator&#160;</td>
          <td class="paramname"><em>begin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CAttributeMap::const_iterator&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Insersts or overwrites the attributes given in the input range </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">begin</td><td></td></tr>
    <tr><td class="paramname">end</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="attributes_8hh_source.html">attributes.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 9 2014 13:52:56 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>