/usr/share/doc/mia-2.2/libdoc/classCXMLElement.html is in libmia-2.2-doc 2.2.7-3.
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 | <!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.9.1"/>
<title>CXMLElement 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="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">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</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.9.1 -->
<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="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</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">
$(document).ready(function(){initNavTree('classCXMLElement.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#friends">Friends</a> </div>
<div class="headertitle">
<div class="title">CXMLElement Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This class implements a facade for the xml Element.
<a href="classCXMLElement.html#details">More...</a></p>
<p><code>#include <<a class="el" href="xmlinterface_8hh_source.html">mia/core/xmlinterface.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a8f174bd3f8958db0002bcb3c7092e1c3"><td class="memItemLeft" align="right" valign="top">typedef std::shared_ptr< <a class="el" href="classCXMLElement.html">CXMLElement</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a8f174bd3f8958db0002bcb3c7092e1c3">Pointer</a></td></tr>
<tr class="separator:a8f174bd3f8958db0002bcb3c7092e1c3"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a7c9b7d9c3522da9bbeea5bbffe88d829"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCXMLElement.html#a8f174bd3f8958db0002bcb3c7092e1c3">CXMLElement::Pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a7c9b7d9c3522da9bbeea5bbffe88d829">add_child</a> (const char *name)</td></tr>
<tr class="memdesc:a7c9b7d9c3522da9bbeea5bbffe88d829"><td class="mdescLeft"> </td><td class="mdescRight">add a new child element <a href="#a7c9b7d9c3522da9bbeea5bbffe88d829">More...</a><br /></td></tr>
<tr class="separator:a7c9b7d9c3522da9bbeea5bbffe88d829"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e2888583b2155a36ed04479572e5a44"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a0e2888583b2155a36ed04479572e5a44">CXMLElement</a> (const char *name)</td></tr>
<tr class="separator:a0e2888583b2155a36ed04479572e5a44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1afbdb3a6c2f365f661925f7a062b451"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a1afbdb3a6c2f365f661925f7a062b451">CXMLElement</a> (const <a class="el" href="classCXMLElement.html">CXMLElement</a> &orig)=delete</td></tr>
<tr class="separator:a1afbdb3a6c2f365f661925f7a062b451"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade84f28ba1e3c73bde03b9376110ccf6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCXMLElement.html">CXMLElement</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#ade84f28ba1e3c73bde03b9376110ccf6">operator=</a> (const <a class="el" href="classCXMLElement.html">CXMLElement</a> &orig)=delete</td></tr>
<tr class="separator:ade84f28ba1e3c73bde03b9376110ccf6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7772858fa9ce4fde7ca3db5ba1a4a646"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a7772858fa9ce4fde7ca3db5ba1a4a646">set_attribute</a> (const char *name, const std::string &value)</td></tr>
<tr class="memdesc:a7772858fa9ce4fde7ca3db5ba1a4a646"><td class="mdescLeft"> </td><td class="mdescRight">Set an attribute of the node. <a href="#a7772858fa9ce4fde7ca3db5ba1a4a646">More...</a><br /></td></tr>
<tr class="separator:a7772858fa9ce4fde7ca3db5ba1a4a646"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32f924033c1a7a4351f5c9ab14308a36"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a32f924033c1a7a4351f5c9ab14308a36">set_child_text</a> (const std::string &value)</td></tr>
<tr class="separator:a32f924033c1a7a4351f5c9ab14308a36"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1cd0653f1c2065ca517e08c4daa14f11"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a1cd0653f1c2065ca517e08c4daa14f11">~CXMLElement</a> ()</td></tr>
<tr class="separator:a1cd0653f1c2065ca517e08c4daa14f11"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a2fd1376c211059b2c4281cf53aafd5fa"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classCXMLElement.html#a2fd1376c211059b2c4281cf53aafd5fa">CXMLDocument</a></td></tr>
<tr class="separator:a2fd1376c211059b2c4281cf53aafd5fa"><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 class implements a facade for the xml Element. </p>
<p>This class implements a facade for the XML IO to make it (later) possible to change the used XML implementation. It is also useful to reduce the compile time dependencies for programs that use MIA. </p>
<p>Definition at line <a class="el" href="xmlinterface_8hh_source.html#l00042">42</a> of file <a class="el" href="xmlinterface_8hh_source.html">xmlinterface.hh</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a8f174bd3f8958db0002bcb3c7092e1c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::shared_ptr<<a class="el" href="classCXMLElement.html">CXMLElement</a>> <a class="el" href="classCXMLElement.html#a8f174bd3f8958db0002bcb3c7092e1c3">CXMLElement::Pointer</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="xmlinterface_8hh_source.html#l00044">44</a> of file <a class="el" href="xmlinterface_8hh_source.html">xmlinterface.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a0e2888583b2155a36ed04479572e5a44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CXMLElement::CXMLElement </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1cd0653f1c2065ca517e08c4daa14f11"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CXMLElement::~CXMLElement </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1afbdb3a6c2f365f661925f7a062b451"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">CXMLElement::CXMLElement </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCXMLElement.html">CXMLElement</a> & </td>
<td class="paramname"><em>orig</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7c9b7d9c3522da9bbeea5bbffe88d829"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCXMLElement.html#a8f174bd3f8958db0002bcb3c7092e1c3">CXMLElement::Pointer</a> CXMLElement::add_child </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>add a new child element </p>
<p>This method adds a new child element to this node </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>name tag of the new child element </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the newly created node </dd></dl>
</div>
</div>
<a class="anchor" id="ade84f28ba1e3c73bde03b9376110ccf6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCXMLElement.html">CXMLElement</a>& CXMLElement::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCXMLElement.html">CXMLElement</a> & </td>
<td class="paramname"><em>orig</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7772858fa9ce4fde7ca3db5ba1a4a646"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CXMLElement::set_attribute </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an attribute of the node. </p>
<p>This method sets an attribute of a node </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>attribute name </td></tr>
<tr><td class="paramname">value</td><td>(string) value of the attribute </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a32f924033c1a7a4351f5c9ab14308a36"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CXMLElement::set_child_text </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the child text of the node </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>text value to be set </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a2fd1376c211059b2c4281cf53aafd5fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classCXMLDocument.html">CXMLDocument</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="xmlinterface_8hh_source.html#l00078">78</a> of file <a class="el" href="xmlinterface_8hh_source.html">xmlinterface.hh</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xmlinterface_8hh_source.html">xmlinterface.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classCXMLElement.html">CXMLElement</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>
|