/usr/share/doc/mia-2.0/libdoc/classTAttribute.html is in libmia-2.0-doc 2.0.13-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 | <!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.6"/>
<title>TAttribute< T > Class Template 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.6 -->
<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="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<div class="title">TAttribute< T > Class Template 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>Class of an attribute that holds data of type <em>T</em>.
<a href="classTAttribute.html#details">More...</a></p>
<p><code>#include <<a class="el" href="attributes_8hh_source.html">mia/core/attributes.hh</a>></code></p>
<div class="dynheader">
Inheritance diagram for TAttribute< T >:</div>
<div class="dyncontent">
<div class="center">
<img src="classTAttribute.png" usemap="#TAttribute< T >_map" alt=""/>
<map id="TAttribute< T >_map" name="TAttribute< T >_map">
<area href="classCAttribute.html" title="The class of all attributes of data that is considered to ve meta-data. " alt="CAttribute" shape="rect" coords="0,0,97,24"/>
</map>
</div></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:a8d5f15f7f8ae24998d192a863aade720"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTAttribute.html#a8d5f15f7f8ae24998d192a863aade720">operator T</a> () const </td></tr>
<tr class="separator:a8d5f15f7f8ae24998d192a863aade720"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9b6bfaba504b9297d7af4a20cef7e51"><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTAttribute.html#ae9b6bfaba504b9297d7af4a20cef7e51">typedescr</a> () const </td></tr>
<tr class="separator:ae9b6bfaba504b9297d7af4a20cef7e51"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr class="memitem:a8d22855c9ecc82ba386f161daa193099"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTAttribute.html#a8d22855c9ecc82ba386f161daa193099">TAttribute</a> (typename::boost::reference_wrapper< T >::type value)</td></tr>
<tr class="separator:a8d22855c9ecc82ba386f161daa193099"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classCAttribute"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCAttribute')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classCAttribute.html">CAttribute</a></td></tr>
<tr class="memitem:a241ca5b120a48d330bde4e6981e54bcc inherit pub_methods_classCAttribute"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttribute.html#a241ca5b120a48d330bde4e6981e54bcc">as_string</a> () const </td></tr>
<tr class="memdesc:a241ca5b120a48d330bde4e6981e54bcc inherit pub_methods_classCAttribute"><td class="mdescLeft"> </td><td class="mdescRight">returns the value as a atring <a href="#a241ca5b120a48d330bde4e6981e54bcc">More...</a><br/></td></tr>
<tr class="separator:a241ca5b120a48d330bde4e6981e54bcc inherit pub_methods_classCAttribute"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7cbdeed16f97c5b98f52a9c63c1a075 inherit pub_methods_classCAttribute"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttribute.html#ad7cbdeed16f97c5b98f52a9c63c1a075">is_equal</a> (const <a class="el" href="classCAttribute.html">CAttribute</a> &other) const </td></tr>
<tr class="separator:ad7cbdeed16f97c5b98f52a9c63c1a075 inherit pub_methods_classCAttribute"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7f6b94449739d64c969187f620ae265 inherit pub_methods_classCAttribute"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttribute.html#ad7f6b94449739d64c969187f620ae265">is_less</a> (const <a class="el" href="classCAttribute.html">CAttribute</a> &other) const </td></tr>
<tr class="separator:ad7f6b94449739d64c969187f620ae265 inherit pub_methods_classCAttribute"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8f0524aa179c5869f0de4fd454e3070 inherit pub_methods_classCAttribute"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCAttribute.html#ac8f0524aa179c5869f0de4fd454e3070">~CAttribute</a> ()</td></tr>
<tr class="memdesc:ac8f0524aa179c5869f0de4fd454e3070 inherit pub_methods_classCAttribute"><td class="mdescLeft"> </td><td class="mdescRight">virtual destructor since derived classes may define dynamic objetcs <a href="#ac8f0524aa179c5869f0de4fd454e3070">More...</a><br/></td></tr>
<tr class="separator:ac8f0524aa179c5869f0de4fd454e3070 inherit pub_methods_classCAttribute"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7da19cd02c68c91b468a6da77b627ef1"><td class="memItemLeft" align="right" valign="top">const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTAttribute.html#a7da19cd02c68c91b468a6da77b627ef1">get_value</a> () const </td></tr>
<tr class="separator:a7da19cd02c68c91b468a6da77b627ef1"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<typename T><br/>
class TAttribute< T ></h3>
<p>Class of an attribute that holds data of type <em>T</em>. </p>
<p>This class is the templated derivative of <a class="el" href="classCAttribute.html" title="The class of all attributes of data that is considered to ve meta-data. ">CAttribute</a> that provides the container for most attributes you will come across. The value is stored read-only. It implements implements the abstract methods typedescr, do_as_string, do_is_equal, do_is_less For this type, is_equal returns true if the <em>other</em> attribute has the same type and holds the same value. is_less returns true of either the type is equal and the value is less, or with different types if a string-compare strcmp between the type descriptions returns -1. </p>
<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00121">121</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a8d22855c9ecc82ba386f161daa193099"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTAttribute.html">TAttribute</a>< T >::<a class="el" href="classTAttribute.html">TAttribute</a> </td>
<td>(</td>
<td class="paramtype">typename::boost::reference_wrapper< T >::type </td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct the attribute by setting its value to </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td></td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00484">484</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7da19cd02c68c91b468a6da77b627ef1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const T & <a class="el" href="classTAttribute.html">TAttribute</a>< T >::get_value </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<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#l00496">496</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a8d5f15f7f8ae24998d192a863aade720"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTAttribute.html">TAttribute</a>< T >::operator T </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>provide a transparent conversion to the content type </p>
<dl class="section remark"><dt>Remarks</dt><dd>should we really use this? </dd></dl>
<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00490">490</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</div>
</div>
<a class="anchor" id="ae9b6bfaba504b9297d7af4a20cef7e51"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const char * <a class="el" href="classTAttribute.html">TAttribute</a>< T >::typedescr </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>typeid(T).name(), and is, therefore, dependend on the compiler </dd></dl>
<p>Implements <a class="el" href="classCAttribute.html#aeb74fcad1721d3402227262b2e510c48">CAttribute</a>.</p>
<p>Definition at line <a class="el" href="attributes_8hh_source.html#l00502">502</a> of file <a class="el" href="attributes_8hh_source.html">attributes.hh</a>.</p>
</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 Sat Jan 25 2014 23:52:10 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|