<!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: Soprano::Node Class 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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespaceSoprano.html">Soprano</a> </li> <li><a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Soprano::Node Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Soprano::Node" --> <p>A <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> represents one RDF resource. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="node_8h_source.html">Soprano/Node</a>></code></p> <p><a href="classSoprano_1_1Node-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16c">Type</a> { <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca51684f72e7ddec35773baa2d732a4c42">EmptyNode</a> = 0, <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca757bb91571717c2d447da4b66ba63283">ResourceNode</a> = 1, <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca59d7743a9f37cdd4c84df3b4076371e8">LiteralNode</a> = 2, <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16caf093a8a3ad76f0b25ede1c9971990827">BlankNode</a> = 3 }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432">N3ParserFlag</a> { <a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432a4c9a788cdd09fca0921554b4e87e28eb">NoFlags</a> = 0x0, <a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432a3724a4a9241dc53a1714f5e30f4148e5">StrictLiteralTypes</a> = 0x1, <a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432a1b1b6d38f95d2d64d37bd8472c36ebb9">StrictUris</a> = 0x2, <a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432a2d2d2729112d95d0ae6bb9eca4add8d5">IgnorePrefixes</a> = 0x4 }</td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#afdf075e7dc41d59f5f09c5894a122f9d">Node</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a80375e5a4efb2502e39326d78765d570">Node</a> (const <a class="elRef" href="qurl.html">QUrl</a> &uri)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#af4c19aa2b316d2c036cc727a0ff75762">Node</a> (const <a class="elRef" href="qstring.html">QString</a> &id)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a651dc3c49d1caecb8bacacc29219b0ae">Node</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_CONSTRUCTOR_DEPRECATED </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#af045d3ac18d2d2d8b94bf95f529288bf">Node</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &value, const <a class="elRef" href="qstring.html">QString</a> &language)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a103fbbd8f817208a7aad2d5a7ef32640">Node</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a4191b2d021571b54217305cc5d87939c">~Node</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader">Operators</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb3c5827f54218753bb2c3338236446c2"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aec9c51a9e75929e9a9af5802c1afe688">operator=</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#adec69aaab7bd71de057108b31cddd008">operator=</a> (const <a class="elRef" href="qurl.html">QUrl</a> &resource)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a5c72f1d4501a8cc770cb9530f8ca9ee8">operator=</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &literal)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a4ac11fe877b7c833703340bceb34b290">operator==</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &other) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a078a8f355a0e02c4905071e39c8d68ed">operator!=</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &other) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a164f014e31eb6ff4a35fc3c18fb80163">operator==</a> (const <a class="elRef" href="qurl.html">QUrl</a> &uri) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#adfb5437317f70737861d71fb6713de25">operator==</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &other) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a81a86874e940c5f14d8393e62e011f5a">matches</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &other) const </td></tr> <tr><td colspan="2"><div class="groupHeader">Type information</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp88af5930ff2f7f56c201377775567049"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16c">Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#add9761cd37ef4aefcc578c8617047fbe">type</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a3ff3bc313f10cb1814df5eae14ed4f94">isEmpty</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aec559cbe32c043f3d52659d9100c68de">isValid</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a805a849e80b7bcf87a2cce6f4df0b47c">isLiteral</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a5c9b281dfc75d03e7a7410dc14b241fe">isResource</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a0e835e48664c8e27ef3b51c2d2655041">isBlank</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Resource nodes</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfd5d116b63696f6b9e52a9decae1197a"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qurl.html">QUrl</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a4e69d078afbb4f2a71a615daa558949d">uri</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Blank nodes</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpf8bc74f6764b1c43f77e24c3ba154d29"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a40f0b169dab81f926b5db5c0fa436f6c">identifier</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Literal nodes</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpa9a841c84e0f526b6ccc24629e251728"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a80fbd3843f9271486a1fcd9a917ad872">literal</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qurl.html">QUrl</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a04b5fda32b3cb1f04fa7ba74e88c1da0">dataType</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#ad5df680fcdfcd9d9a5e32c956f383201">language</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Conversion</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp3bb1503332637805beddb73a2dd1fe1b"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">toString</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3</a> () const </td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a1b196229b7e623be4c816a87c0b2e40f">createEmptyNode</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a31e8bff2fca58eae1fe521b4c43b3438">createResourceNode</a> (const <a class="elRef" href="qurl.html">QUrl</a> &uri)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a5413a0829810b43663f257be0e6f2877">createBlankNode</a> (const <a class="elRef" href="qstring.html">QString</a> &id)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#ac4b858e09af3ebf4cbde4fe0043ab950">createLiteralNode</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static SOPRANO_DEPRECATED <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#ad90111300915caa7bbe8d2bf9447d6c8">createLiteralNode</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &value, const <a class="elRef" href="qstring.html">QString</a> &language)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#ad1c2618a28a13c6eac042ddccbf78e6a">resourceToN3</a> (const <a class="elRef" href="qurl.html">QUrl</a> &resource)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a6c9c7d5baf523f31662ce8c138fff941">blankToN3</a> (const <a class="elRef" href="qstring.html">QString</a> &blank)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aa66acf156e82b866114d90cd0c9ce13c">literalToN3</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &literal)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3</a> (const <a class="elRef" href="qstring.html">QString</a> &n3, N3ParserFlags flags=NoFlags)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#a94b2a1b215f3f41c5695aba1c3b2fa0d">fromN3Stream</a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &stream, N3ParserFlags flags=NoFlags)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT uint </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aba318c7f6f5d0d4ce605ecab610aff6b">qHash</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &node)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT QDebug </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Node.html#aff938f0aa52cd43994f92bdf4c4f89bf">operator<<</a> (QDebug s, const <a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a> &)</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="classSoprano_1_1Node.html#a6b34ac5b82644c3880ae30cca8306a26">operator<<</a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &s, const <a class="el" href="classSoprano_1_1Node.html">Soprano::Node</a> &)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> represents one RDF resource. </p> <p>Nodes are the cornerstone of RDF data in Soprano. Four Nodes form one <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> and a <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Model</a> is essentially a set of Statements.</p> <p>A <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> can have one of four types: EmptyNode, ResourceNode, LiteralNode, and BlankNode. Resource nodes are identified through their URI (<a class="el" href="classSoprano_1_1Node.html#a4e69d078afbb4f2a71a615daa558949d">uri()</a>), literal nodes have a <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> (<a class="el" href="classSoprano_1_1Node.html#a80fbd3843f9271486a1fcd9a917ad872">literal()</a>), and blank nodes have a string identifier.</p> <p>Empty nodes can be used as wildcards in methods such as <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Model::listStatements</a>.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Daniele Galdi <<a href="mailto:daniele.galdi@gmail.com">daniele.galdi@gmail.com</a>><br/> Sebastian Trueg <<a href="mailto:trueg@kde.org">trueg@kde.org</a>> </dd></dl> <p>Definition at line <a class="el" href="node_8h_source.html#l00053">53</a> of file <a class="el" href="node_8h_source.html">node.h</a>.</p> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="ac63f6890978f00f3da8da427f4c5d16c"></a><!-- doxytag: member="Soprano::Node::Type" ref="ac63f6890978f00f3da8da427f4c5d16c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16c">Soprano::Node::Type</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ac63f6890978f00f3da8da427f4c5d16ca51684f72e7ddec35773baa2d732a4c42"></a><!-- doxytag: member="EmptyNode" ref="ac63f6890978f00f3da8da427f4c5d16ca51684f72e7ddec35773baa2d732a4c42" args="" -->EmptyNode</em> </td><td> <p>An empty node, can be used as a wildcard in commands like <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Model::listStatements</a>. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ac63f6890978f00f3da8da427f4c5d16ca757bb91571717c2d447da4b66ba63283"></a><!-- doxytag: member="ResourceNode" ref="ac63f6890978f00f3da8da427f4c5d16ca757bb91571717c2d447da4b66ba63283" args="" -->ResourceNode</em> </td><td> <p>A resource node has a URI which can be accessed via <a class="el" href="classSoprano_1_1Node.html#a4e69d078afbb4f2a71a615daa558949d">uri()</a> </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ac63f6890978f00f3da8da427f4c5d16ca59d7743a9f37cdd4c84df3b4076371e8"></a><!-- doxytag: member="LiteralNode" ref="ac63f6890978f00f3da8da427f4c5d16ca59d7743a9f37cdd4c84df3b4076371e8" args="" -->LiteralNode</em> </td><td> <p>A literal node has a literal value and an optional language. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ac63f6890978f00f3da8da427f4c5d16caf093a8a3ad76f0b25ede1c9971990827"></a><!-- doxytag: member="BlankNode" ref="ac63f6890978f00f3da8da427f4c5d16caf093a8a3ad76f0b25ede1c9971990827" args="" -->BlankNode</em> </td><td> <p>A blank node has an identifier string </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="node_8h_source.html#l00056">56</a> of file <a class="el" href="node_8h_source.html">node.h</a>.</p> </div> </div> <a class="anchor" id="a5d9a022e2a1478cd5031d3876a793432"></a><!-- doxytag: member="Soprano::Node::N3ParserFlag" ref="a5d9a022e2a1478cd5031d3876a793432" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classSoprano_1_1Node.html#a5d9a022e2a1478cd5031d3876a793432">Soprano::Node::N3ParserFlag</a></td> </tr> </table> </div> <div class="memdoc"> <p>Parsing flags to infuence the behaviour of the parser in <a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3()</a> and <a class="el" href="classSoprano_1_1Node.html#a94b2a1b215f3f41c5695aba1c3b2fa0d">fromN3Stream()</a>.</p> <dl class="since"><dt><b>Since:</b></dt><dd>2.5 </dd></dl> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="a5d9a022e2a1478cd5031d3876a793432a4c9a788cdd09fca0921554b4e87e28eb"></a><!-- doxytag: member="NoFlags" ref="a5d9a022e2a1478cd5031d3876a793432a4c9a788cdd09fca0921554b4e87e28eb" args="" -->NoFlags</em> </td><td> <p>No parsing flags, default behaviour. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a5d9a022e2a1478cd5031d3876a793432a3724a4a9241dc53a1714f5e30f4148e5"></a><!-- doxytag: member="StrictLiteralTypes" ref="a5d9a022e2a1478cd5031d3876a793432a3724a4a9241dc53a1714f5e30f4148e5" args="" -->StrictLiteralTypes</em> </td><td> <p>Use strict literal parsing, i.e. do not treat <code>true</code> and <code>false</code> as boolean literals or do not handle numbers as literals if they do not contain a literal type. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a5d9a022e2a1478cd5031d3876a793432a1b1b6d38f95d2d64d37bd8472c36ebb9"></a><!-- doxytag: member="StrictUris" ref="a5d9a022e2a1478cd5031d3876a793432a1b1b6d38f95d2d64d37bd8472c36ebb9" args="" -->StrictUris</em> </td><td> <p>Use strict URI parsing.</p> <dl class="see"><dt><b>See also:</b></dt><dd>QUrl::StrictMode </dd></dl> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a5d9a022e2a1478cd5031d3876a793432a2d2d2729112d95d0ae6bb9eca4add8d5"></a><!-- doxytag: member="IgnorePrefixes" ref="a5d9a022e2a1478cd5031d3876a793432a2d2d2729112d95d0ae6bb9eca4add8d5" args="" -->IgnorePrefixes</em> </td><td> <p>Do not make use of m_prefixes </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="node_8h_source.html#l00444">444</a> of file <a class="el" href="node_8h_source.html">node.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="afdf075e7dc41d59f5f09c5894a122f9d"></a><!-- doxytag: member="Soprano::Node::Node" ref="afdf075e7dc41d59f5f09c5894a122f9d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::Node </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default costructor. Creates an empty node.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a1b196229b7e623be4c816a87c0b2e40f">createEmptyNode()</a> </dd></dl> </div> </div> <a class="anchor" id="a80375e5a4efb2502e39326d78765d570"></a><!-- doxytag: member="Soprano::Node::Node" ref="a80375e5a4efb2502e39326d78765d570" args="(const QUrl &uri)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::Node </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>uri</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a resource node.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>uri</em> </td><td>The URI of the node. If empty the type will be ignored and an empty node will be created.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a31e8bff2fca58eae1fe521b4c43b3438">createResourceNode()</a> </dd></dl> </div> </div> <a class="anchor" id="af4c19aa2b316d2c036cc727a0ff75762"></a><!-- doxytag: member="Soprano::Node::Node" ref="af4c19aa2b316d2c036cc727a0ff75762" args="(const QString &id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::Node </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>id</em></td> <td> ) </td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a blank node.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>An identifier for the blank node.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a5413a0829810b43663f257be0e6f2877">createBlankNode()</a> </dd></dl> </div> </div> <a class="anchor" id="a651dc3c49d1caecb8bacacc29219b0ae"></a><!-- doxytag: member="Soprano::Node::Node" ref="a651dc3c49d1caecb8bacacc29219b0ae" args="(const LiteralValue &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::Node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a literal node.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The value of a node. If empty the node will become an empty node.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#ac4b858e09af3ebf4cbde4fe0043ab950">createLiteralNode()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.3 </dd></dl> </div> </div> <a class="anchor" id="af045d3ac18d2d2d8b94bf95f529288bf"></a><!-- doxytag: member="Soprano::Node::Node" ref="af045d3ac18d2d2d8b94bf95f529288bf" args="(const LiteralValue &value, const QString &language)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_CONSTRUCTOR_DEPRECATED Soprano::Node::Node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>language</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a literal node.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The value of a node. If empty the node will become an empty node. </td></tr> <tr><td valign="top"></td><td valign="top"><em>language</em> </td><td>The language of the literal value.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#ac4b858e09af3ebf4cbde4fe0043ab950">createLiteralNode()</a></dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Use <a class="el" href="classSoprano_1_1Node.html#a651dc3c49d1caecb8bacacc29219b0ae">Soprano::Node::Node( const LiteralValue& )</a> and <a class="el" href="classSoprano_1_1LiteralValue.html#a1e0f8bdcfaee5e88e1a6304ac5b8f653">Soprano::LiteralValue::createPlainLiteral( const QString&, const LanguageTag& )</a> </dd></dl> </div> </div> <a class="anchor" id="a103fbbd8f817208a7aad2d5a7ef32640"></a><!-- doxytag: member="Soprano::Node::Node" ref="a103fbbd8f817208a7aad2d5a7ef32640" args="(const Node &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::Node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Copy constructor. </p> </div> </div> <a class="anchor" id="a4191b2d021571b54217305cc5d87939c"></a><!-- doxytag: member="Soprano::Node::~Node" ref="a4191b2d021571b54217305cc5d87939c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Node::~Node </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default costructor. Creates an empty node.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a1b196229b7e623be4c816a87c0b2e40f">createEmptyNode()</a> </dd></dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aec9c51a9e75929e9a9af5802c1afe688"></a><!-- doxytag: member="Soprano::Node::operator=" ref="aec9c51a9e75929e9a9af5802c1afe688" args="(const Node &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a>& Soprano::Node::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Assigns <code>resource</code> to this node and makes it a ResourceNode. </p> </div> </div> <a class="anchor" id="adec69aaab7bd71de057108b31cddd008"></a><!-- doxytag: member="Soprano::Node::operator=" ref="adec69aaab7bd71de057108b31cddd008" args="(const QUrl &resource)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a>& Soprano::Node::operator= </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>resource</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Assigns <code>resource</code> to this node and makes it a ResourceNode. </p> </div> </div> <a class="anchor" id="a5c72f1d4501a8cc770cb9530f8ca9ee8"></a><!-- doxytag: member="Soprano::Node::operator=" ref="a5c72f1d4501a8cc770cb9530f8ca9ee8" args="(const LiteralValue &literal)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a>& Soprano::Node::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>literal</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Assigns <code>literal</code> to this node and makes it a LiteralNode. </p> </div> </div> <a class="anchor" id="a4ac11fe877b7c833703340bceb34b290"></a><!-- doxytag: member="Soprano::Node::operator==" ref="a4ac11fe877b7c833703340bceb34b290" args="(const Node &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Comparision operator. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node and <code>other</code> are equal. </dd></dl> </div> </div> <a class="anchor" id="a078a8f355a0e02c4905071e39c8d68ed"></a><!-- doxytag: member="Soprano::Node::operator!=" ref="a078a8f355a0e02c4905071e39c8d68ed" args="(const Node &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Comparision operator. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node and <code>other</code> differ. </dd></dl> </div> </div> <a class="anchor" id="a164f014e31eb6ff4a35fc3c18fb80163"></a><!-- doxytag: member="Soprano::Node::operator==" ref="a164f014e31eb6ff4a35fc3c18fb80163" args="(const QUrl &uri) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::operator== </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>uri</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Comparision operator. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node is a ResourceNode and has URI <code>uri</code>. </dd></dl> </div> </div> <a class="anchor" id="adfb5437317f70737861d71fb6713de25"></a><!-- doxytag: member="Soprano::Node::operator==" ref="adfb5437317f70737861d71fb6713de25" args="(const LiteralValue &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Comparision operator. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node is a LiteralNode and has literal value <code>other</code>. </dd></dl> </div> </div> <a class="anchor" id="a81a86874e940c5f14d8393e62e011f5a"></a><!-- doxytag: member="Soprano::Node::matches" ref="a81a86874e940c5f14d8393e62e011f5a" args="(const Node &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::matches </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Match this node against template node <em>other</em>. The only difference to operator== is that empty nodes are matched as wildcards, i.e. they match any other node.</p> <p>Be aware that the following is NOT always true since only <em>other</em> is treated a a wildcard:</p> <div class="fragment"><pre class="fragment"> <span class="comment">// NOT always true:</span> a.matches(b) == b.matches(a) </pre></div><dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node matches other, <code>false</code> if not.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Statement.html#a00b2f7f11583a040e9e70e7942ad1c1e">Statement::matches</a> </dd></dl> </div> </div> <a class="anchor" id="add9761cd37ef4aefcc578c8617047fbe"></a><!-- doxytag: member="Soprano::Node::type" ref="add9761cd37ef4aefcc578c8617047fbe" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16c">Type</a> Soprano::Node::type </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>The node type. </dd></dl> </div> </div> <a class="anchor" id="a3ff3bc313f10cb1814df5eae14ed4f94"></a><!-- doxytag: member="Soprano::Node::isEmpty" ref="a3ff3bc313f10cb1814df5eae14ed4f94" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::isEmpty </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node is empty. </dd></dl> </div> </div> <a class="anchor" id="aec559cbe32c043f3d52659d9100c68de"></a><!-- doxytag: member="Soprano::Node::isValid" ref="aec559cbe32c043f3d52659d9100c68de" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::isValid </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node is a ResourceNode, LiteralNode or BlankNode. </dd></dl> </div> </div> <a class="anchor" id="a805a849e80b7bcf87a2cce6f4df0b47c"></a><!-- doxytag: member="Soprano::Node::isLiteral" ref="a805a849e80b7bcf87a2cce6f4df0b47c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::isLiteral </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node is a LiteralNode. </dd></dl> </div> </div> <a class="anchor" id="a5c9b281dfc75d03e7a7410dc14b241fe"></a><!-- doxytag: member="Soprano::Node::isResource" ref="a5c9b281dfc75d03e7a7410dc14b241fe" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::isResource </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node is a ResourceNode. </dd></dl> </div> </div> <a class="anchor" id="a0e835e48664c8e27ef3b51c2d2655041"></a><!-- doxytag: member="Soprano::Node::isBlank" ref="a0e835e48664c8e27ef3b51c2d2655041" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Node::isBlank </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node is a BlankNode (anonymous). </dd></dl> </div> </div> <a class="anchor" id="a4e69d078afbb4f2a71a615daa558949d"></a><!-- doxytag: member="Soprano::Node::uri" ref="a4e69d078afbb4f2a71a615daa558949d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qurl.html">QUrl</a> Soprano::Node::uri </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>The URI if the node is a ResourceNode. An null <a class="elRef" href="qurl.html">QUrl</a> otherwise. </dd></dl> </div> </div> <a class="anchor" id="a40f0b169dab81f926b5db5c0fa436f6c"></a><!-- doxytag: member="Soprano::Node::identifier" ref="a40f0b169dab81f926b5db5c0fa436f6c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstring.html">QString</a> Soprano::Node::identifier </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieve a blank node's identifier. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The node's identifier if it is a BlankNode, a null string otherwise. </dd></dl> </div> </div> <a class="anchor" id="a80fbd3843f9271486a1fcd9a917ad872"></a><!-- doxytag: member="Soprano::Node::literal" ref="a80fbd3843f9271486a1fcd9a917ad872" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> Soprano::Node::literal </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>The literal value if the node is a LiteralNode. An null <a class="elRef" href="qstring.html">QString</a> otherwise. </dd></dl> </div> </div> <a class="anchor" id="a04b5fda32b3cb1f04fa7ba74e88c1da0"></a><!-- doxytag: member="Soprano::Node::dataType" ref="a04b5fda32b3cb1f04fa7ba74e88c1da0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qurl.html">QUrl</a> Soprano::Node::dataType </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>The datatype URI of a literal node, i.e. the XML schema type or an empty value if the node is not a LiteralNode. </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1LiteralValue.html#a0a9f7f84b59bf4acc6bd5e31f7f47c2c">LiteralValue::dataTypeUri</a> </dd></dl> </div> </div> <a class="anchor" id="ad5df680fcdfcd9d9a5e32c956f383201"></a><!-- doxytag: member="Soprano::Node::language" ref="ad5df680fcdfcd9d9a5e32c956f383201" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstring.html">QString</a> Soprano::Node::language </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Each literal value can have an associated language, thus each property can be stored for different languages. An empty language refers to the default language.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the language of the literal value or an empty string if the node is not a literal.</dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Language exists on the <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">Soprano::LiteralValue</a>. Use <a class="el" href="classSoprano_1_1Node.html#a80fbd3843f9271486a1fcd9a917ad872">Soprano::Node::literal()</a> and <a class="el" href="classSoprano_1_1LiteralValue.html#a89387ce6886881e638a0d5ff67f6c1c3">Soprano::LiteralValue::language()</a>. </dd></dl> </div> </div> <a class="anchor" id="adc24e32385b842186cafbe31e7194a77"></a><!-- doxytag: member="Soprano::Node::toString" ref="adc24e32385b842186cafbe31e7194a77" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstring.html">QString</a> Soprano::Node::toString </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Converts the <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> to a string.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A String representation of the <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a>, suitable for storage, not really suitable for user readable strings.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1LiteralValue.html#a39c44055e35566cc4ae4d3929ed94abc">LiteralValue::toString()</a>, <a class="elRef" href="qurl.html#toString">QUrl::toString()</a>, <a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a> </dd></dl> </div> </div> <a class="anchor" id="aad4c8ab988ae7d9fd587027087b593e4"></a><!-- doxytag: member="Soprano::Node::toN3" ref="aad4c8ab988ae7d9fd587027087b593e4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstring.html">QString</a> Soprano::Node::toN3 </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Convert a <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> into N3 notation to be used in SPARQL graph patterns.</p> <p>Examples: </p> <div class="fragment"><pre class="fragment"> <http:<span class="comment">//soprano.sourceforce.net/></span> <span class="stringliteral">"Hello World"</span>^^<http:<span class="comment">//www.w3.org/2001/XMLSchema#string></span> <span class="stringliteral">"09-08-1977T17:42.234Z"</span>^^<http:<span class="comment">//www.w3.org/2001/XMLSchema#dateTime></span> _:blankNode </pre></div><dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the node in N3 encoding or an empty string for invalid nodes.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#ad1c2618a28a13c6eac042ddccbf78e6a">resourceToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#aa66acf156e82b866114d90cd0c9ce13c">literalToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a6c9c7d5baf523f31662ce8c138fff941">blankToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3()</a>, <a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">toString()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.2 </dd></dl> </div> </div> <a class="anchor" id="a1b196229b7e623be4c816a87c0b2e40f"></a><!-- doxytag: member="Soprano::Node::createEmptyNode" ref="a1b196229b7e623be4c816a87c0b2e40f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::createEmptyNode </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method to create an empty node. Using this method instead of the default constructor may result in better readable code.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>An empty <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a>. </dd></dl> </div> </div> <a class="anchor" id="a31e8bff2fca58eae1fe521b4c43b3438"></a><!-- doxytag: member="Soprano::Node::createResourceNode" ref="a31e8bff2fca58eae1fe521b4c43b3438" args="(const QUrl &uri)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::createResourceNode </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>uri</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method to create a resource node. Using this method instead of the constructor may result in better readable code.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>uri</em> </td><td>The URI of the node. If empty the type will be ignored and an empty node will be created.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A resource <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> or an empty <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> if the specified URI is empty. </dd></dl> </div> </div> <a class="anchor" id="a5413a0829810b43663f257be0e6f2877"></a><!-- doxytag: member="Soprano::Node::createBlankNode" ref="a5413a0829810b43663f257be0e6f2877" args="(const QString &id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::createBlankNode </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>id</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method to create a blank node. Using this method instead of the constructor may result in better readable code.</p> <p>If you need to create a new blank node which is not used in the model yet and, thus, has a unique identifier see <a class="el" href="classSoprano_1_1Model.html#a7f85d6812750b30e25175f92c3c62851">Model::createBlankNode()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>An identifier for the blank node.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A blank node or an empty <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> if the specified identifier was empty. </dd></dl> </div> </div> <a class="anchor" id="ac4b858e09af3ebf4cbde4fe0043ab950"></a><!-- doxytag: member="Soprano::Node::createLiteralNode" ref="ac4b858e09af3ebf4cbde4fe0043ab950" args="(const LiteralValue &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::createLiteralNode </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method to create a literal node. Using this method instead of the constructor may result in better readable code.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The value of a node. If empty the node will become an empty node.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A literal node or an empty node if the specified value was empty.</dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.3 </dd></dl> </div> </div> <a class="anchor" id="ad90111300915caa7bbe8d2bf9447d6c8"></a><!-- doxytag: member="Soprano::Node::createLiteralNode" ref="ad90111300915caa7bbe8d2bf9447d6c8" args="(const LiteralValue &value, const QString &language)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static SOPRANO_DEPRECATED <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::createLiteralNode </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>language</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method to create a literal node. Using this method instead of the constructor may result in better readable code.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The value of a node. If empty the node will become an empty node. </td></tr> <tr><td valign="top"></td><td valign="top"><em>language</em> </td><td>The language of the literal value.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A literal node or an empty node if the specified value was empty.</dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Use <a class="el" href="classSoprano_1_1Node.html#ac4b858e09af3ebf4cbde4fe0043ab950">Soprano::Node::createLiteralNode( const LiteralValue& )</a> and <a class="el" href="classSoprano_1_1LiteralValue.html#a1e0f8bdcfaee5e88e1a6304ac5b8f653">Soprano::LiteralValue::createPlainLiteral( const QString&, const LanguageTag& )</a> </dd></dl> </div> </div> <a class="anchor" id="ad1c2618a28a13c6eac042ddccbf78e6a"></a><!-- doxytag: member="Soprano::Node::resourceToN3" ref="ad1c2618a28a13c6eac042ddccbf78e6a" args="(const QUrl &resource)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="qstring.html">QString</a> Soprano::Node::resourceToN3 </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> & </td> <td class="paramname"> <em>resource</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Format a resource URI as N3 string to be used in SPARQL queries.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the resource in N3 encoding or an empty string for invalid URIs.</dd></dl> <p>Example: </p> <div class="fragment"><pre class="fragment"> <http:<span class="comment">//soprano.sourceforce.net/></span> </pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.3 </dd></dl> </div> </div> <a class="anchor" id="a6c9c7d5baf523f31662ce8c138fff941"></a><!-- doxytag: member="Soprano::Node::blankToN3" ref="a6c9c7d5baf523f31662ce8c138fff941" args="(const QString &blank)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="qstring.html">QString</a> Soprano::Node::blankToN3 </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>blank</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Format a blank node identifier as N3 string to be used in SPARQL queries.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the blank identifier in N3 encoding or an empty string for invalid/empty ids.</dd></dl> <p>Example: </p> <div class="fragment"><pre class="fragment"> _:blankNode </pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.3 </dd></dl> </div> </div> <a class="anchor" id="aa66acf156e82b866114d90cd0c9ce13c"></a><!-- doxytag: member="Soprano::Node::literalToN3" ref="aa66acf156e82b866114d90cd0c9ce13c" args="(const LiteralValue &literal)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="qstring.html">QString</a> Soprano::Node::literalToN3 </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> & </td> <td class="paramname"> <em>literal</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Format a literal value as N3 string to be used in SPARQL queries.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the literal in N3 encoding or an empty string for invalid literals.</dd></dl> <p>Examples: </p> <div class="fragment"><pre class="fragment"> <span class="stringliteral">"Hello World"</span>^^<http:<span class="comment">//www.w3.org/2001/XMLSchema#string></span> <span class="stringliteral">"09-08-1977T17:42.234Z"</span>^^<http:<span class="comment">//www.w3.org/2001/XMLSchema#dateTime></span> </pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a84da7189fb34b4fa963d1f5805b5effe">fromN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.3 </dd></dl> </div> </div> <a class="anchor" id="a84da7189fb34b4fa963d1f5805b5effe"></a><!-- doxytag: member="Soprano::Node::fromN3" ref="a84da7189fb34b4fa963d1f5805b5effe" args="(const QString &n3, N3ParserFlags flags=NoFlags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::fromN3 </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>n3</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">N3ParserFlags </td> <td class="paramname"> <em>flags</em> = <code>NoFlags</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a node from its N3 representation.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>n3</em> </td><td>The N3 representation of the node.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A Node representing the parsed version of <code>n3</code> or an invalid Node in case parsing failed.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#ad1c2618a28a13c6eac042ddccbf78e6a">resourceToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#aa66acf156e82b866114d90cd0c9ce13c">literalToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a6c9c7d5baf523f31662ce8c138fff941">blankToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.5 </dd></dl> </div> </div> <a class="anchor" id="a94b2a1b215f3f41c5695aba1c3b2fa0d"></a><!-- doxytag: member="Soprano::Node::fromN3Stream" ref="a94b2a1b215f3f41c5695aba1c3b2fa0d" args="(QTextStream &stream, N3ParserFlags flags=NoFlags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Node::fromN3Stream </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qtextstream.html">QTextStream</a> & </td> <td class="paramname"> <em>stream</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">N3ParserFlags </td> <td class="paramname"> <em>flags</em> = <code>NoFlags</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Read a node from its N3 representation on a stream.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>stream</em> </td><td>The stream from which the N3 representation of the node will be read.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A Node representing the parsed version of <code>n3</code> or an invalid Node in case parsing failed.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#ad1c2618a28a13c6eac042ddccbf78e6a">resourceToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#aa66acf156e82b866114d90cd0c9ce13c">literalToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#a6c9c7d5baf523f31662ce8c138fff941">blankToN3()</a>, <a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">toN3()</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.5 </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="aba318c7f6f5d0d4ce605ecab610aff6b"></a><!-- doxytag: member="Soprano::Node::qHash" ref="aba318c7f6f5d0d4ce605ecab610aff6b" args="(const Node &node)" --> <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="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>node</em></td> <td> ) </td> <td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aff938f0aa52cd43994f92bdf4c4f89bf"></a><!-- doxytag: member="Soprano::Node::operator<<" ref="aff938f0aa52cd43994f92bdf4c4f89bf" args="(QDebug s, const Soprano::Node &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_EXPORT QDebug operator<< </td> <td>(</td> <td class="paramtype">QDebug </td> <td class="paramname"> <em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <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><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6b34ac5b82644c3880ae30cca8306a26"></a><!-- doxytag: member="Soprano::Node::operator<<" ref="a6b34ac5b82644c3880ae30cca8306a26" args="(QTextStream &s, const 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">const <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><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Soprano::Node</a> stream operator. The operator serializes the <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> based on the N-Triples standard, except that it uses Unicode strings.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#aad4c8ab988ae7d9fd587027087b593e4">Soprano::Node::toN3()</a> </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/builddir/build/BUILD/soprano-2.5.2/soprano/<a class="el" href="node_8h_source.html">node.h</a></li> </ul> </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>