<!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::Util::DummyModel 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="namespaceSoprano_1_1Util.html">Util</a> </li> <li><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html">Soprano::Util::DummyModel</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>Soprano::Util::DummyModel Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Soprano::Util::DummyModel" --><!-- doxytag: inherits="Soprano::Model" --> <p>A dummy model. All its methods do nothing and always fail with a default error. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="dummymodel_8h_source.html">Soprano/Util/DummyModel</a>></code></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for Soprano::Util::DummyModel:</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="classSoprano_1_1Util_1_1DummyModel__inherit__graph.png" border="0" usemap="#Soprano_1_1Util_1_1DummyModel_inherit__map" alt="Inheritance graph"/></div> <map name="Soprano_1_1Util_1_1DummyModel_inherit__map" id="Soprano_1_1Util_1_1DummyModel_inherit__map"> <area shape="rect" id="node2" 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." alt="" coords="57,83,169,112"/><area shape="rect" id="node4" href="qobject.html" title="QObject" alt="" coords="5,5,75,35"/><area shape="rect" id="node6" href="classSoprano_1_1Error_1_1ErrorCache.html" title="Core class of Soprano's exception system." alt="" coords="99,5,277,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classSoprano_1_1Util_1_1DummyModel-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ad3ff72b17eb701c604873f8802d675f6">DummyModel</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ab61985045f52bb3f41c150fc53dd6143">~DummyModel</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a1793fc92adeb2b3781d5ca540557ad3b">addStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &statement)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a8546a8006e6d13ff2c9218fe8b10c5bc">addStatement</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context=<a class="el" href="classSoprano_1_1Node.html">Node</a>())</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#af8e41d23c196f70519ad81781c63c39f">addStatements</a> (const <a class="elRef" href="qlist.html">QList</a>< <a class="el" href="classSoprano_1_1Statement.html">Statement</a> > &statements)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ab1239d967d7bcaeac1b3750ffbdee891">removeStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &statement)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a80103c3e389e5100390df9d231059da1">removeStatement</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context=<a class="el" href="classSoprano_1_1Node.html">Node</a>())</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a4afdab742f66c0cd96bf43df4251d50c">removeAllStatements</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &statement)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a065f5327af58e978d7ef2aaabe80016b">removeStatements</a> (const <a class="elRef" href="qlist.html">QList</a>< <a class="el" href="classSoprano_1_1Statement.html">Statement</a> > &statements)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a7850fecbe64e07e923a2ea3392f818b0">removeContext</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a66f0d29a0466f97a37a49e52b5e00763">removeAllStatements</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#aff252dea7e6bbbf069f45a7a5d181972">listStatements</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &partial) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ab535672401ff1d6a9e0d587bd8cdace6">listStatements</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context=<a class="el" href="classSoprano_1_1Node.html">Node</a>()) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a8ba4072ad135b07dd057f748c7194ff9">listStatements</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#acfdfc0ce812601dceba5477a41950f5a">listStatementsInContext</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1NodeIterator.html">NodeIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a488f4fe206205be2326950d5e9829d37">listContexts</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1QueryResultIterator.html">QueryResultIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ab4701b94ace92318a1406a3ef1615299">executeQuery</a> (const <a class="elRef" href="qstring.html">QString</a> &query, <a class="el" href="namespaceSoprano_1_1Query.html#ab568869993a9d6c452c8e5a34d5ac26c">Query::QueryLanguage</a> language, const <a class="elRef" href="qstring.html">QString</a> &userQueryLanguage=<a class="elRef" href="qstring.html">QString</a>()) const </td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a181a19049201a61d8c0e3535dad3d784">containsAnyStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &statement) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#af7490c7abbc6d4d0a24d4c0d18fd8ea6">containsAnyStatement</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context=<a class="el" href="classSoprano_1_1Node.html">Node</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_1Util_1_1DummyModel.html#adc017b0b2e4502cb459215e83263cfc3">containsStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &statement) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a568122655fce53c8137de2a253be7a91">containsStatement</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context=<a class="el" href="classSoprano_1_1Node.html">Node</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_1Util_1_1DummyModel.html#a3df35cef714cf2643d3e4b6ed2f29e18">containsContext</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &context) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a88512792002daf1dff0173edc4ff7f1d">isEmpty</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a201970b544153796db57e5d683fd1961">statementCount</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a3f56f1d61f1c8ffe0575ff999c231630">write</a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &os) const </td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></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_1Util_1_1DummyModel.html#a8c03680cdb9297f2b058679cfa9592e9">createBlankNode</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A dummy model. All its methods do nothing and always fail with a default error. </p> <p>A dummy model might be useful in situations where a null pointer could lead to crashes if creating a real model fails.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Sebastian Trueg <<a href="mailto:trueg@kde.org">trueg@kde.org</a>> </dd></dl> <p>Definition at line <a class="el" href="dummymodel_8h_source.html#l00042">42</a> of file <a class="el" href="dummymodel_8h_source.html">dummymodel.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ad3ff72b17eb701c604873f8802d675f6"></a><!-- doxytag: member="Soprano::Util::DummyModel::DummyModel" ref="ad3ff72b17eb701c604873f8802d675f6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Util::DummyModel::DummyModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new dummy model. </p> </div> </div> <a class="anchor" id="ab61985045f52bb3f41c150fc53dd6143"></a><!-- doxytag: member="Soprano::Util::DummyModel::~DummyModel" ref="ab61985045f52bb3f41c150fc53dd6143" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Util::DummyModel::~DummyModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>destructor </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a1793fc92adeb2b3781d5ca540557ad3b"></a><!-- doxytag: member="Soprano::Util::DummyModel::addStatement" ref="a1793fc92adeb2b3781d5ca540557ad3b" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::addStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>statement</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Add the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> to the <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>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>statement</em> </td><td>The <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> to add. </td></tr> </table> </dd> </dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#aed5b923235288fbac997850cca8f6053">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a8546a8006e6d13ff2c9218fe8b10c5bc"></a><!-- doxytag: member="Soprano::Util::DummyModel::addStatement" ref="a8546a8006e6d13ff2c9218fe8b10c5bc" args="(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::addStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>subject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>predicate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a7ced264956229023122c4f6f48f4ca4c">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="af8e41d23c196f70519ad81781c63c39f"></a><!-- doxytag: member="Soprano::Util::DummyModel::addStatements" ref="af8e41d23c196f70519ad81781c63c39f" args="(const QList< Statement > &statements)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::addStatements </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qlist.html">QList</a>< <a class="el" href="classSoprano_1_1Statement.html">Statement</a> > & </td> <td class="paramname"> <em>statements</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a4844c89a7ba369acc9654f0543b8a0ef">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="ab1239d967d7bcaeac1b3750ffbdee891"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeStatement" ref="ab1239d967d7bcaeac1b3750ffbdee891" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>statement</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Remove one statement. For removing statements with wildward matching see <a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#a66f0d29a0466f97a37a49e52b5e00763">removeAllStatements()</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>statement</em> </td><td>The statement that should be removed. This has to be a valid statement.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a69f521a4f40b463680d393963d5b4187">Error::ErrorNone</a> on success and an error code if statement was invalid or an error occured. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ad5952940a5e589bd70fc794d434e0f63">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a80103c3e389e5100390df9d231059da1"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeStatement" ref="a80103c3e389e5100390df9d231059da1" args="(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>subject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>predicate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a4751e5b93f2c06fd33c6066f9c9c208b">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a4afdab742f66c0cd96bf43df4251d50c"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeAllStatements" ref="a4afdab742f66c0cd96bf43df4251d50c" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeAllStatements </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>statement</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Remove all statements that match the partial statement. For removing one specific statement see <a class="el" href="classSoprano_1_1Util_1_1DummyModel.html#ab1239d967d7bcaeac1b3750ffbdee891">removeStatement()</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>statement</em> </td><td>A possible partially defined statement that serves as a filter for all statements that should be removed. </td></tr> </table> </dd> </dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#af4e328680aa3470852a6ce27253324cb">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a065f5327af58e978d7ef2aaabe80016b"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeStatements" ref="a065f5327af58e978d7ef2aaabe80016b" args="(const QList< Statement > &statements)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeStatements </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qlist.html">QList</a>< <a class="el" href="classSoprano_1_1Statement.html">Statement</a> > & </td> <td class="paramname"> <em>statements</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method which removes all statements in statements. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a99d065d46ec00fde54d20af3a35cabdf">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a7850fecbe64e07e923a2ea3392f818b0"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeContext" ref="a7850fecbe64e07e923a2ea3392f818b0" args="(const Node &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeContext </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method that removes all statements in the context. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a79686de0a7da3d08b40a5684866bbcde">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a66f0d29a0466f97a37a49e52b5e00763"></a><!-- doxytag: member="Soprano::Util::DummyModel::removeAllStatements" ref="a66f0d29a0466f97a37a49e52b5e00763" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::removeAllStatements </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method that clear the <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> of all statements </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#ad24bce8972e94eeaa15d811131204394">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="aff252dea7e6bbbf069f45a7a5d181972"></a><!-- doxytag: member="Soprano::Util::DummyModel::listStatements" ref="aff252dea7e6bbbf069f45a7a5d181972" args="(const Statement &partial) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> Soprano::Util::DummyModel::listStatements </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>partial</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Return an iterator over <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> Statements that "partial" match the input <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</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>partial</em> </td><td>The partial <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> to match.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator for all the matched Statements, on error an invalid iterator is returned. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="ab535672401ff1d6a9e0d587bd8cdace6"></a><!-- doxytag: member="Soprano::Util::DummyModel::listStatements" ref="ab535672401ff1d6a9e0d587bd8cdace6" args="(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> Soprano::Util::DummyModel::listStatements </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>subject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>predicate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>subject</em> </td><td>The subject node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>predicate</em> </td><td>The predicate node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The object node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The context node to match. Can be empty as a wildcard.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator for all the matched Statements, on error an invalid iterator is returned. </dd></dl> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#ae1709afa65ab325cc5d7eaf8ffa600dd">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a8ba4072ad135b07dd057f748c7194ff9"></a><!-- doxytag: member="Soprano::Util::DummyModel::listStatements" ref="a8ba4072ad135b07dd057f748c7194ff9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> Soprano::Util::DummyModel::listStatements </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator for all statements in the model, on error an invalid iterator is returned. </dd></dl> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a3731d8cd907919b237d0ba2f93d9b572">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="acfdfc0ce812601dceba5477a41950f5a"></a><!-- doxytag: member="Soprano::Util::DummyModel::listStatementsInContext" ref="acfdfc0ce812601dceba5477a41950f5a" args="(const Node &context) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> Soprano::Util::DummyModel::listStatementsInContext </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method which lists all statements in context.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator for all the matched Statements, on error an invalid iterator is returned. </dd></dl> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a3a52a3f299b378ae5e1563cbc7fc3ee4">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a488f4fe206205be2326950d5e9829d37"></a><!-- doxytag: member="Soprano::Util::DummyModel::listContexts" ref="a488f4fe206205be2326950d5e9829d37" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1NodeIterator.html">NodeIterator</a> Soprano::Util::DummyModel::listContexts </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>List all contexts in the model, i.e. all named graphs.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator over context Nodes, on error an invalid iterator is returned. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ad530cc7d159fdb0d05f66902b9594020">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="ab4701b94ace92318a1406a3ef1615299"></a><!-- doxytag: member="Soprano::Util::DummyModel::executeQuery" ref="ab4701b94ace92318a1406a3ef1615299" args="(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1QueryResultIterator.html">QueryResultIterator</a> Soprano::Util::DummyModel::executeQuery </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>query</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceSoprano_1_1Query.html#ab568869993a9d6c452c8e5a34d5ac26c">Query::QueryLanguage</a> </td> <td class="paramname"> <em>language</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>userQueryLanguage</em> = <code><a class="elRef" href="qstring.html">QString</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>query_api_disabled Execute the given query over the <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>.</p> <p>This is a const read-only method. As such <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> implementations should not support SPARQL extensions such as INSERT or UPDATE through this method. A future version of Soprano will provide an additional API for queries that change the <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>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>query</em> </td><td>The query to evaluate. </td></tr> <tr><td valign="top"></td><td valign="top"><em>language</em> </td><td>The query language used to encode <code>query</code>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>userQueryLanguage</em> </td><td>If <code>language</code> equals <a class="el" href="namespaceSoprano_1_1Query.html#ab568869993a9d6c452c8e5a34d5ac26cac6b6f6a34d2d09221941d9a0ac522633">Query::QueryLanguageUser</a> userQueryLanguage defines the language to use.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An iterator over all results matching the query, on error an invalid iterator is returned. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a5157ca3996dea1e7a46947d41e530c51">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a181a19049201a61d8c0e3535dad3d784"></a><!-- doxytag: member="Soprano::Util::DummyModel::containsAnyStatement" ref="a181a19049201a61d8c0e3535dad3d784" args="(const Statement &statement) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::containsAnyStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>statement</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Check if the model contains certain statements.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>statement</em> </td><td>A partially defined statement that serves as a pattern.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the <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> contains a <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> matching the given statement pattern. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ab27c0414afb36a63e7bac1948293789f">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="af7490c7abbc6d4d0a24d4c0d18fd8ea6"></a><!-- doxytag: member="Soprano::Util::DummyModel::containsAnyStatement" ref="af7490c7abbc6d4d0a24d4c0d18fd8ea6" args="(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::containsAnyStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>subject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>predicate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>subject</em> </td><td>The subject node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>predicate</em> </td><td>The predicate node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The object node to match. Can be empty as a wildcard. </td></tr> <tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The context node to match. Can be empty as a wildcard. </td></tr> </table> </dd> </dl> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a860f6f805b8864bffbd330b7781f9e04">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="adc017b0b2e4502cb459215e83263cfc3"></a><!-- doxytag: member="Soprano::Util::DummyModel::containsStatement" ref="adc017b0b2e4502cb459215e83263cfc3" args="(const Statement &statement) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::containsStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"> <em>statement</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Check if the model contains a statements.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>statement</em> </td><td>The statement in question. This has to be a valid statement, i.e. subject, predicate, and object need to be defined. If the context node is empty the default graph is searched.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <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> contains the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>, <code>false</code> otherwise or is statement is invalid. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a0194c85c892ab3661d1932fca610310e">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a568122655fce53c8137de2a253be7a91"></a><!-- doxytag: member="Soprano::Util::DummyModel::containsStatement" ref="a568122655fce53c8137de2a253be7a91" args="(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::containsStatement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>subject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>predicate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a541b928dcca5c75ca424d0b6fa74d75a">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a3df35cef714cf2643d3e4b6ed2f29e18"></a><!-- doxytag: member="Soprano::Util::DummyModel::containsContext" ref="a3df35cef714cf2643d3e4b6ed2f29e18" args="(const Node &context) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::containsContext </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> & </td> <td class="paramname"> <em>context</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Convenience method which is based on containsAnyStatement </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a5b236ac496ecf2aaf7368899fbb5b67f">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a88512792002daf1dff0173edc4ff7f1d"></a><!-- doxytag: member="Soprano::Util::DummyModel::isEmpty" ref="a88512792002daf1dff0173edc4ff7f1d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Soprano::Util::DummyModel::isEmpty </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the <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> doesn't contains any <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a905f4ca3e95862e73c8aa56471b20a25">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a201970b544153796db57e5d683fd1961"></a><!-- doxytag: member="Soprano::Util::DummyModel::statementCount" ref="a201970b544153796db57e5d683fd1961" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Soprano::Util::DummyModel::statementCount </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The number of statements stored in this <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>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The size of the <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>, or -1 on error. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a831c3fd0e5dea37566fa19bd6068add8">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a3f56f1d61f1c8ffe0575ff999c231630"></a><!-- doxytag: member="Soprano::Util::DummyModel::write" ref="a3f56f1d61f1c8ffe0575ff999c231630" args="(QTextStream &os) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::Util::DummyModel::write </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qtextstream.html">QTextStream</a> & </td> <td class="paramname"> <em>os</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Write all statements in this <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> to os.</p> <p>Default implementation is based on <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Model::listStatements</a> </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a6260cd7e7d4373136ed25dcfd2f2cea0">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a8c03680cdb9297f2b058679cfa9592e9"></a><!-- doxytag: member="Soprano::Util::DummyModel::createBlankNode" ref="a8c03680cdb9297f2b058679cfa9592e9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Util::DummyModel::createBlankNode </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a new blank node with a unique identifier.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A blank node that can be used to create new statements. </dd></dl> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a7f85d6812750b30e25175f92c3c62851">Soprano::Model</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/builddir/build/BUILD/soprano-2.5.2/soprano/util/<a class="el" href="dummymodel_8h_source.html">dummymodel.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>