This file is indexed.

/usr/share/qt5/doc/qtxmlpatterns/qsimplexmlnodemodel.html is in qtxmlpatterns5-doc-html 5.3.2-2.

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
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qsimplexmlnodemodel.cpp -->
  <title>QSimpleXmlNodeModel Class | QtXmlPatterns </title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.3</li>
<li><a href="qtxmlpatterns-index.html">Qt XML Patterns</a></li>
<li><a href="qtxmlpatterns-module.html">C++ Classes</a></li>
<li>QSimpleXmlNodeModel</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QSimpleXmlNodeModel Class</h1>
<!-- $$$QSimpleXmlNodeModel-brief -->
<p>The QSimpleXmlNodeModel class is an implementation of <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> sufficient for many common cases. <a href="#details">More...</a></p>
<!-- @@@QSimpleXmlNodeModel -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QSimpleXmlNodeModel&gt;</span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += xmlpatterns</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.4</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>.</td></tr></table><p><b>Note:</b> All functions in this class are reentrant.</p>
<ul>
<li><a href="qsimplexmlnodemodel-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#QSimpleXmlNodeModel">QSimpleXmlNodeModel</a></b>(const QXmlNamePool &amp;<i> namePool</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#dtor.QSimpleXmlNodeModel">~QSimpleXmlNodeModel</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QXmlNamePool &amp; </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#namePool">namePool</a></b>() const</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QUrl </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#baseUri">baseUri</a></b>(const QXmlNodeModelIndex &amp;<i> node</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QXmlNodeModelIndex </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#elementById">elementById</a></b>(const QXmlName &amp;<i> id</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVector&lt;QXmlName&gt; </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#namespaceBindings">namespaceBindings</a></b>(const QXmlNodeModelIndex &amp;<i> node</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVector&lt;QXmlNodeModelIndex&gt; </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#nodesByIdref">nodesByIdref</a></b>(const QXmlName &amp;<i> idref</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qsimplexmlnodemodel.html#stringValue">stringValue</a></b>(const QXmlNodeModelIndex &amp;<i> node</i>) const</td></tr>
</table>
<ul>
<li class="fn">12 public functions inherited from <a href="qabstractxmlnodemodel.html#public-functions">QAbstractXmlNodeModel</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">5 protected functions inherited from <a href="qabstractxmlnodemodel.html#protected-functions">QAbstractXmlNodeModel</a></li>
</ul>
<a name="details"></a>
<!-- $$$QSimpleXmlNodeModel-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QSimpleXmlNodeModel class is an implementation of <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> sufficient for many common cases.</p>
<p>Subclassing <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> can be a significant task, because it requires implementing several, complex member functions. QSimpleXmlNodeModel provides default implementations of these member functions that are suitable for a wide range of node models.</p>
<p>Subclasses of QSimpleXmlNodeModel must be thread-safe.</p>
</div>
<!-- @@@QSimpleXmlNodeModel -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QSimpleXmlNodeModel[overload1]$$$QSimpleXmlNodeModelconstQXmlNamePool& -->
<h3 class="fn"><a name="QSimpleXmlNodeModel"></a>QSimpleXmlNodeModel::<span class="name">QSimpleXmlNodeModel</span>(const <span class="type"><a href="qxmlnamepool.html">QXmlNamePool</a></span> &amp;<i> namePool</i>)</h3>
<p>Constructs a <a href="qsimplexmlnodemodel.html">QSimpleXmlNodeModel</a> for use with with the specified <i>namePool</i>.</p>
<!-- @@@QSimpleXmlNodeModel -->
<!-- $$$~QSimpleXmlNodeModel[overload1]$$$~QSimpleXmlNodeModel -->
<h3 class="fn"><a name="dtor.QSimpleXmlNodeModel"></a>QSimpleXmlNodeModel::<span class="name">~QSimpleXmlNodeModel</span>()<tt> [virtual]</tt></h3>
<p>Destructor.</p>
<!-- @@@~QSimpleXmlNodeModel -->
<!-- $$$baseUri[overload1]$$$baseUriconstQXmlNodeModelIndex& -->
<h3 class="fn"><a name="baseUri"></a><span class="type">QUrl</span> QSimpleXmlNodeModel::<span class="name">baseUri</span>(const <span class="type"><a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></span> &amp;<i> node</i>) const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractxmlnodemodel.html#baseUri">QAbstractXmlNodeModel::baseUri</a>().</p>
<p>Returns the base URI for <i>node</i>. This is always the document URI.</p>
<p><b>See also </b><a href="qabstractxmlnodemodel.html#documentUri">documentUri</a>().</p>
<!-- @@@baseUri -->
<!-- $$$elementById[overload1]$$$elementByIdconstQXmlName& -->
<h3 class="fn"><a name="elementById"></a><span class="type"><a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></span> QSimpleXmlNodeModel::<span class="name">elementById</span>(const <span class="type"><a href="qxmlname.html">QXmlName</a></span> &amp;<i> id</i>) const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractxmlnodemodel.html#elementById">QAbstractXmlNodeModel::elementById</a>().</p>
<p>Always returns a default constructed <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> instance, regardless of <i>id</i>.</p>
<p>This effectively means the model has no elements that have an id.</p>
<!-- @@@elementById -->
<!-- $$$namePool[overload1]$$$namePool -->
<h3 class="fn"><a name="namePool"></a><span class="type"><a href="qxmlnamepool.html">QXmlNamePool</a></span> &amp; QSimpleXmlNodeModel::<span class="name">namePool</span>() const</h3>
<p>Returns the name pool associated with this model. The implementation of <a href="qabstractxmlnodemodel.html#name">name</a>() will use this name pool to create names.</p>
<!-- @@@namePool -->
<!-- $$$namespaceBindings[overload1]$$$namespaceBindingsconstQXmlNodeModelIndex& -->
<h3 class="fn"><a name="namespaceBindings"></a><span class="type">QVector</span>&lt;<span class="type"><a href="qxmlname.html">QXmlName</a></span>&gt; QSimpleXmlNodeModel::<span class="name">namespaceBindings</span>(const <span class="type"><a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></span> &amp;<i> node</i>) const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractxmlnodemodel.html#namespaceBindings">QAbstractXmlNodeModel::namespaceBindings</a>().</p>
<p>Always returns an empty QVector. This signals that no namespace bindings are in scope for <i>node</i>.</p>
<!-- @@@namespaceBindings -->
<!-- $$$nodesByIdref[overload1]$$$nodesByIdrefconstQXmlName& -->
<h3 class="fn"><a name="nodesByIdref"></a><span class="type">QVector</span>&lt;<span class="type"><a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></span>&gt; QSimpleXmlNodeModel::<span class="name">nodesByIdref</span>(const <span class="type"><a href="qxmlname.html">QXmlName</a></span> &amp;<i> idref</i>) const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractxmlnodemodel.html#nodesByIdref">QAbstractXmlNodeModel::nodesByIdref</a>().</p>
<p>Always returns an empty vector, regardless of <i>idref</i>.</p>
<p>This effectively means the model has no elements or attributes of type <tt>IDREF</tt>.</p>
<!-- @@@nodesByIdref -->
<!-- $$$stringValue[overload1]$$$stringValueconstQXmlNodeModelIndex& -->
<h3 class="fn"><a name="stringValue"></a><span class="type">QString</span> QSimpleXmlNodeModel::<span class="name">stringValue</span>(const <span class="type"><a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a></span> &amp;<i> node</i>) const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractxmlnodemodel.html#stringValue">QAbstractXmlNodeModel::stringValue</a>().</p>
<p>If <i>node</i> is an element or attribute, <a href="qabstractxmlnodemodel.html#typedValue">typedValue</a>() is called, and the return value converted to a string, as per <a href="xmlprocessing.html">XQuery</a>'s rules.</p>
<p>If <i>node</i> is another type of node, the empty string is returned.</p>
<p>If this function is overridden for comments or processing instructions, it is important to remember to call it (for elements and attributes having values not of type <tt>xs:string</tt>) to ensure that the values are formatted according to <a href="xmlprocessing.html">XQuery</a>.</p>
<!-- @@@stringValue -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2014 Digia Plc and/or its
   subsidiaries. Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Digia, Qt and their respective logos are trademarks of Digia Plc     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>