<!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"/> <title>Soprano: /builddir/build/BUILD/soprano-2.5.2/soprano/node.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <script type="text/javascript"> function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); } function addClass(ele,cls) { if (!this.hasClass(ele,cls)) ele.className += " "+cls; } function removeClass(ele,cls) { if (hasClass(ele,cls)) { var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); ele.className=ele.className.replace(reg,' '); } } function toggleVisibility(linkObj) { var base = linkObj.getAttribute('id'); var summary = document.getElementById(base + '-summary'); var content = document.getElementById(base + '-content'); var trigger = document.getElementById(base + '-trigger'); if ( hasClass(linkObj,'closed') ) { summary.style.display = 'none'; content.style.display = 'block'; trigger.src = 'open.png'; removeClass(linkObj,'closed'); addClass(linkObj,'opened'); } else if ( hasClass(linkObj,'opened') ) { summary.style.display = 'block'; content.style.display = 'none'; trigger.src = 'closed.png'; removeClass(linkObj,'opened'); addClass(linkObj,'closed'); } return false; } </script> <div class="navigation" id="top"> <div 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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>/builddir/build/BUILD/soprano-2.5.2/soprano/node.h File Reference</h1> </div> </div> <div class="contents"> <code>#include <QtCore/QUrl></code><br/> <code>#include <QtCore/QSharedDataPointer></code><br/> <code>#include <QtCore/QTextStream></code><br/> <code>#include "<a class="el" href="soprano__export_8h_source.html">soprano_export.h</a>"</code><br/> <code>#include "<a class="el" href="literalvalue_8h_source.html">literalvalue.h</a>"</code><br/> <code>#include "<a class="el" href="languagetag_8h_source.html">languagetag.h</a>"</code><br/> <code>#include "<a class="el" href="sopranomacros_8h_source.html">sopranomacros.h</a>"</code><br/> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png"/> Include dependency graph for node.h:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="node_8h__incl.png" border="0" usemap="#_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8h" alt=""/></div> <map name="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8h" id="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8h"> <area shape="rect" id="node9" href="soprano__export_8h.html" title="soprano_export.h" alt="" coords="648,237,771,267"/><area shape="rect" id="node13" href="literalvalue_8h.html" title="literalvalue.h" alt="" coords="477,83,571,112"/><area shape="rect" id="node19" href="languagetag_8h.html" title="languagetag.h" alt="" coords="516,160,617,189"/><area shape="rect" id="node31" href="sopranomacros_8h.html" title="sopranomacros.h" alt="" coords="793,83,916,112"/></map> </div> <div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png"/> This graph shows which files directly or indirectly include this file:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="node_8h__dep__incl.png" border="0" usemap="#_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8hdep" alt=""/></div> <map name="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8hdep" id="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2node_8hdep"> <area shape="rect" id="node3" href="model_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/model.h" alt="" coords="2939,83,3264,112"/><area shape="rect" id="node9" href="rdfschemamodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/rdfschemamodel.h" alt="" coords="5,237,392,267"/><area shape="rect" id="node11" href="soprano_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/soprano.h" alt="" coords="3727,315,4063,344"/><area shape="rect" id="node40" href="graph_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/graph.h" alt="" coords="3773,160,4096,189"/><area shape="rect" id="node42" href="statement_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/statement.h" alt="" coords="4583,83,4929,112"/><area shape="rect" id="node63" href="n3nodeparser_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/n3nodeparser.h" alt="" coords="5441,83,5809,112"/><area shape="rect" id="node65" href="nodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/nodeiterator.h" alt="" coords="5872,83,6229,112"/><area shape="rect" id="node74" href="statementpattern_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/inference/statementpattern.h" alt="" coords="4972,83,5417,112"/><area shape="rect" id="node77" href="nodepattern_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/inference/nodepattern.h" alt="" coords="6787,83,7200,112"/><area shape="rect" id="node5" href="filtermodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/filtermodel.h" alt="" coords="2083,160,2432,189"/><area shape="rect" id="node28" href="storagemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/storagemodel.h" alt="" coords="2917,160,3285,189"/><area shape="rect" id="node33" href="dummymodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/dummymodel.h" alt="" coords="3360,160,3749,189"/><area shape="rect" id="node36" href="readonlymodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/readonlymodel.h" alt="" coords="2499,160,2893,189"/><area shape="rect" id="node38" href="sparqlmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/sparql/sparqlmodel.h" alt="" coords="1675,160,2059,189"/><area shape="rect" id="node7" href="nrlmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/nrlmodel.h" alt="" coords="1677,237,2016,267"/><area shape="rect" id="node13" href="inferencemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/inference/inferencemodel.h" alt="" coords="2040,237,2475,267"/><area shape="rect" id="node15" href="asyncmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/asyncmodel.h" alt="" coords="2549,237,2931,267"/><area shape="rect" id="node18" href="mutexmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/mutexmodel.h" alt="" coords="2955,237,3336,267"/><area shape="rect" id="node21" href="signalcachemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/signalcachemodel.h" alt="" coords="416,237,829,267"/><area shape="rect" id="node23" href="indexfiltermodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/index/indexfiltermodel.h" alt="" coords="853,237,1219,267"/><area shape="rect" id="node25" href="dbusexportmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/server/dbus/dbusexportmodel.h" alt="" coords="1243,237,1653,267"/><area shape="rect" id="node31" href="dbusmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusmodel.h" alt="" coords="3360,237,3731,267"/><area shape="rect" id="node45" href="queryresultiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/queryresultiterator.h" alt="" coords="4955,160,5349,189"/><area shape="rect" id="node51" href="statementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/statementiterator.h" alt="" coords="4171,160,4557,189"/><area shape="rect" id="node59" href="inferencerule_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/inference/inferencerule.h" alt="" coords="5373,160,5795,189"/><area shape="rect" id="node61" href="cluceneindex_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/index/cluceneindex.h" alt="" coords="4581,160,4931,189"/><area shape="rect" id="node48" href="dbusqueryresultiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusqueryresultiterator.h" alt="" coords="4933,237,5371,267"/><area shape="rect" id="node54" href="simplestatementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/simplestatementiterator.h" alt="" coords="3957,237,4403,267"/><area shape="rect" id="node57" href="dbusstatementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusstatementiterator.h" alt="" coords="4427,237,4859,267"/><area shape="rect" id="node68" href="simplenodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/simplenodeiterator.h" alt="" coords="6296,160,6712,189"/><area shape="rect" id="node70" href="dbusnodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusnodeiterator.h" alt="" coords="5869,160,6272,189"/></map> </div> <p><a href="node_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> represents one RDF resource. <a href="classSoprano_1_1Node.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano.html">Soprano</a></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#ad9d75308dca675c4b0b6a8e709ec03b5">operator>></a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &s, <a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT uint </td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#aaef794d105030c0602a0c0f69cfc1fe1">qHash</a> (const <a class="elRef" href="qurl.html">QUrl</a> &url)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ad9d75308dca675c4b0b6a8e709ec03b5"></a><!-- doxytag: member="node.h::operator>>" ref="ad9d75308dca675c4b0b6a8e709ec03b5" args="(QTextStream &s, Soprano::Node &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a>& operator>> </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qtextstream.html">QTextStream</a> & </td> <td class="paramname"> <em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a> & </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Read a node from an N3 encoded string.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">Soprano::Node::fromN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.5 </dd></dl> </div> </div> <a class="anchor" id="aaef794d105030c0602a0c0f69cfc1fe1"></a><!-- doxytag: member="node.h::qHash" ref="aaef794d105030c0602a0c0f69cfc1fe1" args="(const QUrl &url)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_EXPORT uint qHash </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>url</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>