Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 5b6c31d6428e1f6ea754ea6f7b1aed6e > files > 260

soprano-apidocs-2.6.0-2.fc14.noarch.rpm

<!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::MutexModel 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.3 -->
<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 id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Soprano&#160;<span id="projectnumber">2.6.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceSoprano.html">Soprano</a>      </li>
      <li class="navelem"><a class="el" href="namespaceSoprano_1_1Util.html">Util</a>      </li>
      <li class="navelem"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html">MutexModel</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>Soprano::Util::MutexModel Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Soprano::Util::MutexModel" --><!-- doxytag: inherits="Soprano::FilterModel" -->
<p>Protect a <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Model</a> for multiple calls in multi-threaded applications.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mutexmodel_8h_source.html">Soprano/Util/MutexModel</a>&gt;</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::MutexModel:</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_1MutexModel__inherit__graph.png" border="0" usemap="#Soprano_1_1Util_1_1MutexModel_inherit__map" alt="Inheritance graph"/></div>
<map name="Soprano_1_1Util_1_1MutexModel_inherit__map" id="Soprano_1_1Util_1_1MutexModel_inherit__map">
<area shape="rect" id="node2" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model." alt="" coords="43,160,184,189"/><area shape="rect" id="node4" 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="node6" href="qobject.html" title="QObject" alt="" coords="5,5,75,35"/><area shape="rect" id="node8" href="classSoprano_1_1Error_1_1ErrorCache.html" title="Core class of Soprano&#39;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_1MutexModel-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1">ProtectionMode</a> { <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1abd5a751737c50d7c14bc61e3dd344162">PlainMultiThreading</a>, 
<a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1a17424d4518e0dd5dc1810b91e6b0366c">ReadWriteMultiThreading</a>, 
<a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1ae35d7dfe05da686059ab73133d868f9f">ReadWriteSingleThreading</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a0df432115a00f980391604958e972170">MutexModel</a> (<a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1">ProtectionMode</a> mode, <a class="el" href="classSoprano_1_1Model.html">Model</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a53871d32c7d7b363112e383d94285e95">~MutexModel</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa5a60b397d0ed18b437d02a180885945">addStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;statement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a18edbeaaccb9702736802a9546c942fc">removeStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;statement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Error::ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa120608f9a7e0c43a33aca7a0a478e67">removeAllStatements</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;statement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1StatementIterator.html">StatementIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#ab31105e88e8107fd9488573da44e3c13">listStatements</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;partial) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1NodeIterator.html">NodeIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#ae216792d698712c2d0e3b2aef30b7e67">listContexts</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1QueryResultIterator.html">QueryResultIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a3ce2239303435e19729a31abd749dd6b">executeQuery</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;query, <a class="el" href="namespaceSoprano_1_1Query.html#ab568869993a9d6c452c8e5a34d5ac26c">Query::QueryLanguage</a> language, const <a class="elRef" href="qstring.html">QString</a> &amp;userQueryLanguage=<a class="elRef" href="qstring.html">QString</a>()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#af5a812a75761135f021ac91f5f2bf766">containsStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;statement) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#aa2aa58ea50b84a2159f8ff8494587e87">containsAnyStatement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;statement) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a2934779248c5e72b208574df51aad98e">isEmpty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#a9b3b32ed4597b11fb2d24b322fa1afd9">statementCount</a> () const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Protect a <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Model</a> for multiple calls in multi-threaded applications. </p>
<p>In most cases one does not need to use this <a class="el" href="classSoprano_1_1FilterModel.html" title="A FilterModel is a virtual model that wraps another Model.">FilterModel</a> since Models created by <a class="el" href="namespaceSoprano.html#a66f765cf9fd9aae07f874fdb8867dd1c">Soprano::createModel</a> and <a class="el" href="classSoprano_1_1Backend.html#abe4347c68662b53fc2f709b4536febb2">Soprano::Backend::createModel</a> are thread-safe. It may, however, come in handy for custom models.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Sebastian Trueg &lt;<a href="mailto:trueg@kde.org">trueg@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="mutexmodel_8h_source.html#l00044">44</a> of file <a class="el" href="mutexmodel_8h_source.html">mutexmodel.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="abd408bea1a834abe1b34230c709752a1"></a><!-- doxytag: member="Soprano::Util::MutexModel::ProtectionMode" ref="abd408bea1a834abe1b34230c709752a1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1">Soprano::Util::MutexModel::ProtectionMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="abd408bea1a834abe1b34230c709752a1abd5a751737c50d7c14bc61e3dd344162"></a><!-- doxytag: member="PlainMultiThreading" ref="abd408bea1a834abe1b34230c709752a1abd5a751737c50d7c14bc61e3dd344162" args="" -->PlainMultiThreading</em>&nbsp;</td><td>
<p>In PlainMultiThreading mode only one action can be performed at the same time. Calls block until the previous call is done.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>In this mode nesting iterators will result in a deadlock. </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="abd408bea1a834abe1b34230c709752a1a17424d4518e0dd5dc1810b91e6b0366c"></a><!-- doxytag: member="ReadWriteMultiThreading" ref="abd408bea1a834abe1b34230c709752a1a17424d4518e0dd5dc1810b91e6b0366c" args="" -->ReadWriteMultiThreading</em>&nbsp;</td><td>
<p>In ReadWriteMultiThreading mode multiple read operations can be performed at the same time but only one write operation.</p>
<p>In general write operations take precedence over read operations when locking. However, the same thread can perform nested read locks an arbitrary number of times. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="abd408bea1a834abe1b34230c709752a1ae35d7dfe05da686059ab73133d868f9f"></a><!-- doxytag: member="ReadWriteSingleThreading" ref="abd408bea1a834abe1b34230c709752a1ae35d7dfe05da686059ab73133d868f9f" args="" -->ReadWriteSingleThreading</em>&nbsp;</td><td>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000010">Deprecated:</a></b></dt><dd>This was a buggy mode which was impossible to fix. Use <a class="el" href="classSoprano_1_1Util_1_1AsyncModel.html" title="Filter model that allows to perform operations asyncroneously.">Soprano::Util::AsyncModel</a> instead. </dd></dl>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="mutexmodel_8h_source.html#l00049">49</a> of file <a class="el" href="mutexmodel_8h_source.html">mutexmodel.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0df432115a00f980391604958e972170"></a><!-- doxytag: member="Soprano::Util::MutexModel::MutexModel" ref="a0df432115a00f980391604958e972170" args="(ProtectionMode mode, Model *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::Util::MutexModel::MutexModel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSoprano_1_1Util_1_1MutexModel.html#abd408bea1a834abe1b34230c709752a1">ProtectionMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSoprano_1_1Model.html">Model</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a new <a class="el" href="classSoprano_1_1Util_1_1MutexModel.html" title="Protect a Model for multiple calls in multi-threaded applications.">MutexModel</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>The mode to use. </td></tr>
    <tr><td class="paramname">parent</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> to forward the actual calls to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a53871d32c7d7b363112e383d94285e95"></a><!-- doxytag: member="Soprano::Util::MutexModel::~MutexModel" ref="a53871d32c7d7b363112e383d94285e95" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::Util::MutexModel::~MutexModel </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="aa5a60b397d0ed18b437d02a180885945"></a><!-- doxytag: member="Soprano::Util::MutexModel::addStatement" ref="aa5a60b397d0ed18b437d02a180885945" args="(const Statement &amp;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::MutexModel::addStatement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#a1994117b73985823f12cb76192fdcda1">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="a18edbeaaccb9702736802a9546c942fc"></a><!-- doxytag: member="Soprano::Util::MutexModel::removeStatement" ref="a18edbeaaccb9702736802a9546c942fc" args="(const Statement &amp;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::MutexModel::removeStatement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#af6bf72a84ffb0fe92c2470eeb0eb8b4e">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="aa120608f9a7e0c43a33aca7a0a478e67"></a><!-- doxytag: member="Soprano::Util::MutexModel::removeAllStatements" ref="aa120608f9a7e0c43a33aca7a0a478e67" args="(const Statement &amp;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::MutexModel::removeAllStatements </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#ab5bf9cad97a0426e6dcf9fba65228911">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="ab31105e88e8107fd9488573da44e3c13"></a><!-- doxytag: member="Soprano::Util::MutexModel::listStatements" ref="ab31105e88e8107fd9488573da44e3c13" args="(const Statement &amp;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::MutexModel::listStatements </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#af046c0ab7f49cd2aa0d1783d0dee8903">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="ae216792d698712c2d0e3b2aef30b7e67"></a><!-- doxytag: member="Soprano::Util::MutexModel::listContexts" ref="ae216792d698712c2d0e3b2aef30b7e67" 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::MutexModel::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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#a79edd3a6f31bffc706c28641d04952eb">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="a3ce2239303435e19729a31abd749dd6b"></a><!-- doxytag: member="Soprano::Util::MutexModel::executeQuery" ref="a3ce2239303435e19729a31abd749dd6b" args="(const QString &amp;query, Query::QueryLanguage language, const QString &amp;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::MutexModel::executeQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</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>&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>userQueryLanguage</em> = <code><a class="elRef" href="qstring.html">QString</a>()</code>&#160;</td>
        </tr>
        <tr>
          <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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#a8d5189d772d22a7dd878bdc31cd01c18">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="af5a812a75761135f021ac91f5f2bf766"></a><!-- doxytag: member="Soprano::Util::MutexModel::containsStatement" ref="af5a812a75761135f021ac91f5f2bf766" args="(const Statement &amp;statement) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Util::MutexModel::containsStatement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#af846accbea848739b50cd4e0f3f832e1">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="aa2aa58ea50b84a2159f8ff8494587e87"></a><!-- doxytag: member="Soprano::Util::MutexModel::containsAnyStatement" ref="aa2aa58ea50b84a2159f8ff8494587e87" args="(const Statement &amp;statement) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Util::MutexModel::containsAnyStatement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#ae3dc83bde44d1de4055eaea93f392c0a">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="a2934779248c5e72b208574df51aad98e"></a><!-- doxytag: member="Soprano::Util::MutexModel::isEmpty" ref="a2934779248c5e72b208574df51aad98e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Util::MutexModel::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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#a2fb3ae451e7715319b57d061fd9352ae">Soprano::FilterModel</a>.</p>

</div>
</div>
<a class="anchor" id="a9b3b32ed4597b11fb2d24b322fa1afd9"></a><!-- doxytag: member="Soprano::Util::MutexModel::statementCount" ref="a9b3b32ed4597b11fb2d24b322fa1afd9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Soprano::Util::MutexModel::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>Reimplemented from <a class="el" href="classSoprano_1_1FilterModel.html#ac6330779ed50c13a84e90fd053e7b24b">Soprano::FilterModel</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/builddir/build/BUILD/soprano-2.6.0/soprano/util/<a class="el" href="mutexmodel_8h_source.html">mutexmodel.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Mar 11 2011 for Soprano by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>