<!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::FilterModel 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_1FilterModel.html">Soprano::FilterModel</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>Soprano::FilterModel Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Soprano::FilterModel" --><!-- doxytag: inherits="Soprano::Model" --> <p>A <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> is a virtual model that wraps another <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>. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="filtermodel_8h_source.html">Soprano/FilterModel</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::FilterModel:</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_1FilterModel__inherit__graph.png" border="0" usemap="#Soprano_1_1FilterModel_inherit__map" alt="Inheritance graph"/></div> <map name="Soprano_1_1FilterModel_inherit__map" id="Soprano_1_1FilterModel_inherit__map"> <area shape="rect" id="node9" href="classSoprano_1_1Index_1_1IndexFilterModel.html" title="The IndexFilterModel provides a full text index around any Soprano Model." alt="" coords="599,5,812,35"/><area shape="rect" id="node11" href="classSoprano_1_1Inference_1_1InferenceModel.html" title="The Soprano Inference Model provides a simple forward chaining inference engine which uses the underl..." alt="" coords="591,59,820,88"/><area shape="rect" id="node13" href="classSoprano_1_1NRLModel.html" title="Model filter that makes working with NRL data simpler." alt="" coords="636,112,775,141"/><area shape="rect" id="node15" href="classSoprano_1_1RdfSchemaModel.html" title="Provides convenience methods to handle RDFS data." alt="" coords="615,165,796,195"/><area shape="rect" id="node17" href="classSoprano_1_1Server_1_1DBusExportModel.html" title="Exports a Soprano Model via D-Bus." alt="" coords="591,219,820,248"/><area shape="rect" id="node19" href="classSoprano_1_1Util_1_1AsyncModel.html" title="Filter model that allows to perform operations asyncroneously." alt="" coords="616,272,795,301"/><area shape="rect" id="node21" href="classSoprano_1_1Util_1_1MutexModel.html" title="Protect a Model for multiple calls in multi-threaded applications." alt="" coords="617,325,793,355"/><area shape="rect" id="node23" href="classSoprano_1_1Util_1_1SignalCacheModel.html" title="Caches multiple signals into one to avoid slowdown when adding or removing many statements." alt="" coords="599,379,812,408"/><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="236,192,348,221"/><area shape="rect" id="node4" href="qobject.html" title="QObject" alt="" coords="61,165,131,195"/><area shape="rect" id="node6" href="classSoprano_1_1Error_1_1ErrorCache.html" title="Core class of Soprano's exception system." alt="" coords="7,219,185,248"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classSoprano_1_1FilterModel-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">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a50fc2f10171914b98495a98cfda1d73a">~FilterModel</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">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a175bf899c75344b7c4567583f1c8f464">setParentModel</a> (<a class="el" href="classSoprano_1_1Model.html">Model</a> *model)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classSoprano_1_1Model.html">Model</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#aed1acb51e22e97c8d9fbe23810013da0">parentModel</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">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a1994117b73985823f12cb76192fdcda1">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_1FilterModel.html#a8cc77eeefd030b3b63a0977c1f6bdf13">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 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">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#af6bf72a84ffb0fe92c2470eeb0eb8b4e">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_1FilterModel.html#af296ca8d93132452d2e9d64a8aa09721">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">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#ab5bf9cad97a0426e6dcf9fba65228911">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_1FilterModel.html#aa182e7d23d2e69f8daf6d0a0f703447b">removeAllStatements</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 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">virtual <a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#af046c0ab7f49cd2aa0d1783d0dee8903">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_1FilterModel.html#a3ea957b4192974ad95040e8df2b072f7">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">virtual <a class="el" href="classSoprano_1_1NodeIterator.html">NodeIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a79edd3a6f31bffc706c28641d04952eb">listContexts</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classSoprano_1_1QueryResultIterator.html">QueryResultIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a8d5189d772d22a7dd878bdc31cd01c18">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">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#af846accbea848739b50cd4e0f3f832e1">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_1FilterModel.html#a67f7abd093760cf8360fc5a06edb0c91">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">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#ae3dc83bde44d1de4055eaea93f392c0a">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_1FilterModel.html#ac5f320572af01d76e660fd9ed7fc36bb">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 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">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a2fb3ae451e7715319b57d061fd9352ae">isEmpty</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#ac6330779ed50c13a84e90fd053e7b24b">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">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a9b4c97fdaf2c1f56a9e43047ae6e2ca1">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">virtual <a class="el" href="classSoprano_1_1Node.html">Node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a099c3c2c012fab75cc4e6b8544704a6b">createBlankNode</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected 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_1FilterModel.html#ae0d9c1780959b1352ef864f174128184">FilterModel</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#ab1f53f031cafeba271df06d57be4fcbb">FilterModel</a> (<a class="el" href="classSoprano_1_1Model.html">Model</a> *<a class="elRef" href="qobject.html#parent">parent</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a724fc0ecde472e7a4c56972604addf09">parentStatementsAdded</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#aa4c75931a56b30e0a5b2ec5105ad4653">parentStatementsRemoved</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#acb285d8f28c4a39f2702c2a52da83050">parentStatementAdded</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1FilterModel.html#a1c1ef3edf043a77c0f5f3670a21580ca">parentStatementRemoved</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> is a virtual model that wraps another <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>FilterModels can be stacked to provide filtering on each of the Model's methods. A <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> has a parent model which is the data base for this filter. The parent can be an actual <a class="el" href="classSoprano_1_1StorageModel.html" title="Base class for all Model implementations that store data (as compared to FilterModel).">StorageModel</a> or another <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a>.</p> <p><b><a class="el" href="namespaceSoprano_1_1Error.html">Error</a> handling:</b></p> <p>The <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> "inherits" its parent Model's errors, i.e. <a class="el" href="classSoprano_1_1Error_1_1ErrorCache.html#a3251b8052cdf932d59a523ca215d21c9">FilterModel::lastError()</a> always equals <a class="elRef" href="qobject.html#parent">FilterModel::parent()</a>-><a class="el" href="classSoprano_1_1Error_1_1ErrorCache.html#a3251b8052cdf932d59a523ca215d21c9">lastError()</a> (If the <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> implementations are called in subclasses).</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="filtermodel_8h_source.html#l00045">45</a> of file <a class="el" href="filtermodel_8h_source.html">filtermodel.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a50fc2f10171914b98495a98cfda1d73a"></a><!-- doxytag: member="Soprano::FilterModel::~FilterModel" ref="a50fc2f10171914b98495a98cfda1d73a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Soprano::FilterModel::~FilterModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor </p> </div> </div> <a class="anchor" id="ae0d9c1780959b1352ef864f174128184"></a><!-- doxytag: member="Soprano::FilterModel::FilterModel" ref="ae0d9c1780959b1352ef864f174128184" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::FilterModel::FilterModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create an empty filter model. </p> </div> </div> <a class="anchor" id="ab1f53f031cafeba271df06d57be4fcbb"></a><!-- doxytag: member="Soprano::FilterModel::FilterModel" ref="ab1f53f031cafeba271df06d57be4fcbb" args="(Model *parent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::FilterModel::FilterModel </td> <td>(</td> <td class="paramtype"><a class="el" href="classSoprano_1_1Model.html">Model</a> * </td> <td class="paramname"> <em>parent</em></td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> which works on parent. Calls setParentModel. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent <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>. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a175bf899c75344b7c4567583f1c8f464"></a><!-- doxytag: member="Soprano::FilterModel::setParentModel" ref="a175bf899c75344b7c4567583f1c8f464" args="(Model *model)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Soprano::FilterModel::setParentModel </td> <td>(</td> <td class="paramtype"><a class="el" href="classSoprano_1_1Model.html">Model</a> * </td> <td class="paramname"> <em>model</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set the parent <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>model</em> </td><td>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> that this filter will forward any commands to. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aed1acb51e22e97c8d9fbe23810013da0"></a><!-- doxytag: member="Soprano::FilterModel::parentModel" ref="aed1acb51e22e97c8d9fbe23810013da0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classSoprano_1_1Model.html">Model</a>* Soprano::FilterModel::parentModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the parent model. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The parent <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 0 if none has been set. </dd></dl> </div> </div> <a class="anchor" id="a1994117b73985823f12cb76192fdcda1"></a><!-- doxytag: member="Soprano::FilterModel::addStatement" ref="a1994117b73985823f12cb76192fdcda1" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#aed5b923235288fbac997850cca8f6053">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Inference_1_1InferenceModel.html#a74db154412f02bc5e237ec7838eecd4e">Soprano::Inference::InferenceModel</a>, <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa5a60b397d0ed18b437d02a180885945">Soprano::Util::MutexModel</a>, and <a class="el" href="classSoprano_1_1Index_1_1IndexFilterModel.html#a858fea29158897e1d67273548aa359e6">Soprano::Index::IndexFilterModel</a>.</p> </div> </div> <a class="anchor" id="a8cc77eeefd030b3b63a0977c1f6bdf13"></a><!-- doxytag: member="Soprano::FilterModel::addStatement" ref="a8cc77eeefd030b3b63a0977c1f6bdf13" 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::FilterModel::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>Reimplemented for convenience. Calls <a class="el" href="classSoprano_1_1Model.html#a7ced264956229023122c4f6f48f4ca4c">Model::addStatement(const Node&,const Node&,const Node&,const Node&)</a> </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a7ced264956229023122c4f6f48f4ca4c">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="af6bf72a84ffb0fe92c2470eeb0eb8b4e"></a><!-- doxytag: member="Soprano::FilterModel::removeStatement" ref="af6bf72a84ffb0fe92c2470eeb0eb8b4e" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ad5952940a5e589bd70fc794d434e0f63">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Inference_1_1InferenceModel.html#a2f87ee6724513469afa5f0a00415bc15">Soprano::Inference::InferenceModel</a>, <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a18edbeaaccb9702736802a9546c942fc">Soprano::Util::MutexModel</a>, and <a class="el" href="classSoprano_1_1Index_1_1IndexFilterModel.html#a42da38dc7619b3bfe894dcdd006b05da">Soprano::Index::IndexFilterModel</a>.</p> </div> </div> <a class="anchor" id="af296ca8d93132452d2e9d64a8aa09721"></a><!-- doxytag: member="Soprano::FilterModel::removeStatement" ref="af296ca8d93132452d2e9d64a8aa09721" 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::FilterModel::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>Reimplemented for convenience. Calls <a class="el" href="classSoprano_1_1Model.html#a4751e5b93f2c06fd33c6066f9c9c208b">Model::removeStatement(const Node&,const Node&,const Node&,const Node&)</a> </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a4751e5b93f2c06fd33c6066f9c9c208b">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="ab5bf9cad97a0426e6dcf9fba65228911"></a><!-- doxytag: member="Soprano::FilterModel::removeAllStatements" ref="ab5bf9cad97a0426e6dcf9fba65228911" args="(const Statement &statement)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#af4e328680aa3470852a6ce27253324cb">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1NRLModel.html#ae515da2102283fc752162597d33216c2">Soprano::NRLModel</a>, <a class="el" href="classSoprano_1_1Inference_1_1InferenceModel.html#a4233075b129ffebd04478598e7a5172e">Soprano::Inference::InferenceModel</a>, <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa120608f9a7e0c43a33aca7a0a478e67">Soprano::Util::MutexModel</a>, and <a class="el" href="classSoprano_1_1Index_1_1IndexFilterModel.html#ad8d37102c79a1f4e8d197806163d3d43">Soprano::Index::IndexFilterModel</a>.</p> </div> </div> <a class="anchor" id="aa182e7d23d2e69f8daf6d0a0f703447b"></a><!-- doxytag: member="Soprano::FilterModel::removeAllStatements" ref="aa182e7d23d2e69f8daf6d0a0f703447b" 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::FilterModel::removeAllStatements </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>Reimplemented for convenience. Calls <a class="el" href="classSoprano_1_1Model.html#a23e32a77953671fa8627fb277b7d9817">Model::removeAllStatements(const Node&,const Node&,const Node&,const Node&)</a> </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a23e32a77953671fa8627fb277b7d9817">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="af046c0ab7f49cd2aa0d1783d0dee8903"></a><!-- doxytag: member="Soprano::FilterModel::listStatements" ref="af046c0ab7f49cd2aa0d1783d0dee8903" args="(const Statement &partial) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1AsyncModel.html#ae27f005490b80a79c551642d7b1f5b08">Soprano::Util::AsyncModel</a>, and <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#ab31105e88e8107fd9488573da44e3c13">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="a3ea957b4192974ad95040e8df2b072f7"></a><!-- doxytag: member="Soprano::FilterModel::listStatements" ref="a3ea957b4192974ad95040e8df2b072f7" 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::FilterModel::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>Reimplemented for convenience. Calls Model::listStatements(const Node&,const Node&,const Node&,const Node&) </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#ae1709afa65ab325cc5d7eaf8ffa600dd">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a79edd3a6f31bffc706c28641d04952eb"></a><!-- doxytag: member="Soprano::FilterModel::listContexts" ref="a79edd3a6f31bffc706c28641d04952eb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classSoprano_1_1NodeIterator.html">NodeIterator</a> Soprano::FilterModel::listContexts </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ad530cc7d159fdb0d05f66902b9594020">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1AsyncModel.html#a96e75d77663bc37a498ea7ce597ba59f">Soprano::Util::AsyncModel</a>, and <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#ae216792d698712c2d0e3b2aef30b7e67">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="a8d5189d772d22a7dd878bdc31cd01c18"></a><!-- doxytag: member="Soprano::FilterModel::executeQuery" ref="a8d5189d772d22a7dd878bdc31cd01c18" 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">virtual <a class="el" href="classSoprano_1_1QueryResultIterator.html">QueryResultIterator</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a5157ca3996dea1e7a46947d41e530c51">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1NRLModel.html#a38af0c9f0bd70b6497e428ce25317b3a">Soprano::NRLModel</a>, <a class="el" href="classSoprano_1_1Util_1_1AsyncModel.html#a9e3c08788cf03ceffe1eb0b8cd315790">Soprano::Util::AsyncModel</a>, <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a3ce2239303435e19729a31abd749dd6b">Soprano::Util::MutexModel</a>, and <a class="el" href="classSoprano_1_1Index_1_1IndexFilterModel.html#a09ae3a8005c3692dc3d452816f689a44">Soprano::Index::IndexFilterModel</a>.</p> </div> </div> <a class="anchor" id="af846accbea848739b50cd4e0f3f832e1"></a><!-- doxytag: member="Soprano::FilterModel::containsStatement" ref="af846accbea848739b50cd4e0f3f832e1" args="(const Statement &statement) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a0194c85c892ab3661d1932fca610310e">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#af5a812a75761135f021ac91f5f2bf766">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="a67f7abd093760cf8360fc5a06edb0c91"></a><!-- doxytag: member="Soprano::FilterModel::containsStatement" ref="a67f7abd093760cf8360fc5a06edb0c91" 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::FilterModel::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>Reimplemented for convenience. Calls Model::containsStatement(const Node&,const Node&,const Node&,const Node&) </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a541b928dcca5c75ca424d0b6fa74d75a">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="ae3dc83bde44d1de4055eaea93f392c0a"></a><!-- doxytag: member="Soprano::FilterModel::containsAnyStatement" ref="ae3dc83bde44d1de4055eaea93f392c0a" args="(const Statement &statement) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#ab27c0414afb36a63e7bac1948293789f">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa2aa58ea50b84a2159f8ff8494587e87">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="ac5f320572af01d76e660fd9ed7fc36bb"></a><!-- doxytag: member="Soprano::FilterModel::containsAnyStatement" ref="ac5f320572af01d76e660fd9ed7fc36bb" 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::FilterModel::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>Reimplemented for convenience. Calls Model::containsAnyStatement(const Node&,const Node&,const Node&,const Node&) </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a860f6f805b8864bffbd330b7781f9e04">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a2fb3ae451e7715319b57d061fd9352ae"></a><!-- doxytag: member="Soprano::FilterModel::isEmpty" ref="a2fb3ae451e7715319b57d061fd9352ae" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Soprano::FilterModel::isEmpty </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a905f4ca3e95862e73c8aa56471b20a25">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a2934779248c5e72b208574df51aad98e">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="ac6330779ed50c13a84e90fd053e7b24b"></a><!-- doxytag: member="Soprano::FilterModel::statementCount" ref="ac6330779ed50c13a84e90fd053e7b24b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int Soprano::FilterModel::statementCount </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a831c3fd0e5dea37566fa19bd6068add8">Soprano::Model</a>.</p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a9b3b32ed4597b11fb2d24b322fa1afd9">Soprano::Util::MutexModel</a>.</p> </div> </div> <a class="anchor" id="a9b4c97fdaf2c1f56a9e43047ae6e2ca1"></a><!-- doxytag: member="Soprano::FilterModel::write" ref="a9b4c97fdaf2c1f56a9e43047ae6e2ca1" args="(QTextStream &os) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a> Soprano::FilterModel::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>Default implementation simply pipes the call through to the parent model. </p> <p>Reimplemented from <a class="el" href="classSoprano_1_1Model.html#a6260cd7e7d4373136ed25dcfd2f2cea0">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a099c3c2c012fab75cc4e6b8544704a6b"></a><!-- doxytag: member="Soprano::FilterModel::createBlankNode" ref="a099c3c2c012fab75cc4e6b8544704a6b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::FilterModel::createBlankNode </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation simply pipes the call through to the parent model. </p> <p>Implements <a class="el" href="classSoprano_1_1Model.html#a7f85d6812750b30e25175f92c3c62851">Soprano::Model</a>.</p> </div> </div> <a class="anchor" id="a724fc0ecde472e7a4c56972604addf09"></a><!-- doxytag: member="Soprano::FilterModel::parentStatementsAdded" ref="a724fc0ecde472e7a4c56972604addf09" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Soprano::FilterModel::parentStatementsAdded </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Handle a <a class="el" href="classSoprano_1_1Model.html#a75af3d05854d07b802082e38afea050b">statementsAdded()</a> signal from the parent <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>The default implementation simply re-emits the signal. </p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1SignalCacheModel.html#a1331dfcc1905d39d6782b1dc692f15ad">Soprano::Util::SignalCacheModel</a>.</p> </div> </div> <a class="anchor" id="aa4c75931a56b30e0a5b2ec5105ad4653"></a><!-- doxytag: member="Soprano::FilterModel::parentStatementsRemoved" ref="aa4c75931a56b30e0a5b2ec5105ad4653" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Soprano::FilterModel::parentStatementsRemoved </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Handle a <a class="el" href="classSoprano_1_1Model.html#ada3d38b1cb9edef8d76aebcb7314de4e">statementsRemoved()</a> signal from the parent <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>The default implementation simply re-emits the signal. </p> <p>Reimplemented in <a class="el" href="classSoprano_1_1Util_1_1SignalCacheModel.html#a7dc4284a49b1cd8bd77662e17dc55677">Soprano::Util::SignalCacheModel</a>.</p> </div> </div> <a class="anchor" id="acb285d8f28c4a39f2702c2a52da83050"></a><!-- doxytag: member="Soprano::FilterModel::parentStatementAdded" ref="acb285d8f28c4a39f2702c2a52da83050" args="(const Statement &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Soprano::FilterModel::parentStatementAdded </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Handle a <a class="el" href="classSoprano_1_1Model.html#a75af3d05854d07b802082e38afea050b">statementsAdded()</a> signal from the parent <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>The default implementation simply re-emits the signal. </p> </div> </div> <a class="anchor" id="a1c1ef3edf043a77c0f5f3670a21580ca"></a><!-- doxytag: member="Soprano::FilterModel::parentStatementRemoved" ref="a1c1ef3edf043a77c0f5f3670a21580ca" args="(const Statement &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Soprano::FilterModel::parentStatementRemoved </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> & </td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Handle a <a class="el" href="classSoprano_1_1Model.html#ada3d38b1cb9edef8d76aebcb7314de4e">statementsRemoved()</a> signal from the parent <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>The default implementation simply re-emits the signal. </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/<a class="el" href="filtermodel_8h_source.html">filtermodel.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>