Sophie

Sophie

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

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::Statement 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="classSoprano_1_1Statement.html">Statement</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#related">Related Functions</a>  </div>
  <div class="headertitle">
<h1>Soprano::Statement Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Soprano::Statement" -->
<p>A <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> instance represents one RDF quadruple.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="statement_8h_source.html">Soprano/Statement</a>&gt;</code></p>

<p><a href="classSoprano_1_1Statement-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 colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#ab587d08dfcb119198b3a387ccaccfab9">Statement</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#aa0ccf73f3e2138605d9813a8ad3bd9ae">Statement</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;subject, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;predicate, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;object, const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;context=<a class="el" href="classSoprano_1_1Node.html">Node</a>())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a90c1e66877470cb295b6c2c44022a2f2">Statement</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#ab6c32099da312dffcffe8f9af8963b94">~Statement</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#ad459fc4862c3248545dac3350f216391">operator=</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;other)</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a1961286f029945016c36491a1068edb2">operator==</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;other) 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_1Statement.html#a46ba5a7efd5d7d1edb1a72b8699111f4">operator!=</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;other) 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_1Statement.html#a00b2f7f11583a040e9e70e7942ad1c1e">matches</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;other) const </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a89087f0ad802b69433f657d11b5f0cd2">isValid</a> () const </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a36baa5c5570b94db269a2eb5e3bffd22">subject</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a3ce1dda5d5b0014d774b690f59b43193">predicate</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#aec58f96cce048a275ee05bcc8e412ecb">object</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1Node.html">Node</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#aea000d6c6cc948711b329b696b183364">context</a> () const </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a1dcb0a03d4aa209187e2f23fc9bcb7e3">setSubject</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;subject)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a6179ecd02f67f764a137347b422242e8">setPredicate</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;predicate)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a901ac572fd199a21e708b132b12c0fd8">setObject</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a8e302b77f27463c68fc79f83f02b1b69">setContext</a> (const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;context)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#afd497fcb6686ec2be288a5cc33be14c0">qHash</a> (const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT QDebug&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a759fdae4fb853afe1019dc5c01668b3c">operator&lt;&lt;</a> (QDebug s, const <a class="el" href="classSoprano_1_1Statement.html">Soprano::Statement</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Statement.html#a66816adada435b8bb7b3edf2730bd84f">operator&lt;&lt;</a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &amp;s, const <a class="el" href="classSoprano_1_1Statement.html">Soprano::Statement</a> &amp;)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> instance represents one RDF quadruple. </p>
<p>In Soprano statements are quadruples, i.e. in addition to the subject, predicate, and object nodes, they have a fourth node, the context. The context represents the named graph in which the statement is stored. If the context is an empty node the statement is stored in the default graph.</p>
<p>A <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> is valid if subject, predicate, and object are valid. Invalid statements can, however, be used in many methods such as <a class="el" href="classSoprano_1_1Model.html#a7f50dc6483e0bed7830877182c7906ac">Model::listStatements</a> as wildwards.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a></dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniele Galdi &lt;<a href="mailto:daniele.galdi@gmail.com">daniele.galdi@gmail.com</a>&gt;<br/>
Sebastian Trueg &lt;<a href="mailto:trueg@kde.org">trueg@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="statement_8h_source.html#l00047">47</a> of file <a class="el" href="statement_8h_source.html">statement.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab587d08dfcb119198b3a387ccaccfab9"></a><!-- doxytag: member="Soprano::Statement::Statement" ref="ab587d08dfcb119198b3a387ccaccfab9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::Statement::Statement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default Constructor, build an empty (invalid) <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>. </p>

</div>
</div>
<a class="anchor" id="aa0ccf73f3e2138605d9813a8ad3bd9ae"></a><!-- doxytag: member="Soprano::Statement::Statement" ref="aa0ccf73f3e2138605d9813a8ad3bd9ae" args="(const Node &amp;subject, const Node &amp;predicate, const Node &amp;object, const Node &amp;context=Node())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::Statement::Statement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>context</em> = <code><a class="el" href="classSoprano_1_1Node.html">Node</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Build a <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> with the given subject, predicate and object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">subject</td><td>The subject (cannot be of type <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca59d7743a9f37cdd4c84df3b4076371e8">Node::LiteralNode</a>)</td></tr>
    <tr><td class="paramname">predicate</td><td>The predicate (has to be of type <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca757bb91571717c2d447da4b66ba63283">Node::ResourceNode</a> or <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca51684f72e7ddec35773baa2d732a4c42">Node::EmptyNode</a>)</td></tr>
    <tr><td class="paramname">object</td><td>The object can be of either <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a> type.</td></tr>
    <tr><td class="paramname">context</td><td>The context node (has to be of type <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca757bb91571717c2d447da4b66ba63283">Node::ResourceNode</a> or <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16ca51684f72e7ddec35773baa2d732a4c42">Node::EmptyNode</a>) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a90c1e66877470cb295b6c2c44022a2f2"></a><!-- doxytag: member="Soprano::Statement::Statement" ref="a90c1e66877470cb295b6c2c44022a2f2" args="(const Statement &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::Statement::Statement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default Constructor, build an empty (invalid) <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>. </p>

</div>
</div>
<a class="anchor" id="ab6c32099da312dffcffe8f9af8963b94"></a><!-- doxytag: member="Soprano::Statement::~Statement" ref="ab6c32099da312dffcffe8f9af8963b94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Soprano::Statement::~Statement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default Constructor, build an empty (invalid) <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad459fc4862c3248545dac3350f216391"></a><!-- doxytag: member="Soprano::Statement::operator=" ref="ad459fc4862c3248545dac3350f216391" args="(const Statement &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1Statement.html">Statement</a>&amp; Soprano::Statement::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default Constructor, build an empty (invalid) <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a>. </p>

</div>
</div>
<a class="anchor" id="a1961286f029945016c36491a1068edb2"></a><!-- doxytag: member="Soprano::Statement::operator==" ref="a1961286f029945016c36491a1068edb2" args="(const Statement &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Statement::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Match this statement against template statement <em>other</em>. The only difference to operator== is that empty nodes are matched as wildcards, i.e. they match any other node.</p>
<p>Be aware that the following is NOT always true since only <em>other</em> is treated a a wildcard:</p>
<div class="fragment"><pre class="fragment"> <span class="comment">// NOT always true:</span>
 a.matches(b) == b.matches(a)
</pre></div><dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this statement matches other, <code>false</code> if not.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a81a86874e940c5f14d8393e62e011f5a">Node::matches()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a46ba5a7efd5d7d1edb1a72b8699111f4"></a><!-- doxytag: member="Soprano::Statement::operator!=" ref="a46ba5a7efd5d7d1edb1a72b8699111f4" args="(const Statement &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Statement::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Match this statement against template statement <em>other</em>. The only difference to operator== is that empty nodes are matched as wildcards, i.e. they match any other node.</p>
<p>Be aware that the following is NOT always true since only <em>other</em> is treated a a wildcard:</p>
<div class="fragment"><pre class="fragment"> <span class="comment">// NOT always true:</span>
 a.matches(b) == b.matches(a)
</pre></div><dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this statement matches other, <code>false</code> if not.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a81a86874e940c5f14d8393e62e011f5a">Node::matches()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a00b2f7f11583a040e9e70e7942ad1c1e"></a><!-- doxytag: member="Soprano::Statement::matches" ref="a00b2f7f11583a040e9e70e7942ad1c1e" args="(const Statement &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Statement::matches </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Match this statement against template statement <em>other</em>. The only difference to operator== is that empty nodes are matched as wildcards, i.e. they match any other node.</p>
<p>Be aware that the following is NOT always true since only <em>other</em> is treated a a wildcard:</p>
<div class="fragment"><pre class="fragment"> <span class="comment">// NOT always true:</span>
 a.matches(b) == b.matches(a)
</pre></div><dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this statement matches other, <code>false</code> if not.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#a81a86874e940c5f14d8393e62e011f5a">Node::matches()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a89087f0ad802b69433f657d11b5f0cd2"></a><!-- doxytag: member="Soprano::Statement::isValid" ref="a89087f0ad802b69433f657d11b5f0cd2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::Statement::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> is valid if the subject is a resource or blank node, the predicate is a resource node, and the object is a valid node.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> is valid, <code>false</code> otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a36baa5c5570b94db269a2eb5e3bffd22"></a><!-- doxytag: member="Soprano::Statement::subject" ref="a36baa5c5570b94db269a2eb5e3bffd22" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Statement::subject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The subject. </dd></dl>

</div>
</div>
<a class="anchor" id="a3ce1dda5d5b0014d774b690f59b43193"></a><!-- doxytag: member="Soprano::Statement::predicate" ref="a3ce1dda5d5b0014d774b690f59b43193" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Statement::predicate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The predicate. </dd></dl>

</div>
</div>
<a class="anchor" id="aec58f96cce048a275ee05bcc8e412ecb"></a><!-- doxytag: member="Soprano::Statement::object" ref="aec58f96cce048a275ee05bcc8e412ecb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Statement::object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The object. </dd></dl>

</div>
</div>
<a class="anchor" id="aea000d6c6cc948711b329b696b183364"></a><!-- doxytag: member="Soprano::Statement::context" ref="aea000d6c6cc948711b329b696b183364" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1Node.html">Node</a> Soprano::Statement::context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The Context node. </dd></dl>

</div>
</div>
<a class="anchor" id="a1dcb0a03d4aa209187e2f23fc9bcb7e3"></a><!-- doxytag: member="Soprano::Statement::setSubject" ref="a1dcb0a03d4aa209187e2f23fc9bcb7e3" args="(const Node &amp;subject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Soprano::Statement::setSubject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;&#160;</td>
          <td class="paramname"><em>subject</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> subject.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">subject</td><td>The new subject. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6179ecd02f67f764a137347b422242e8"></a><!-- doxytag: member="Soprano::Statement::setPredicate" ref="a6179ecd02f67f764a137347b422242e8" args="(const Node &amp;predicate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Soprano::Statement::setPredicate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;&#160;</td>
          <td class="paramname"><em>predicate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> predicate.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">predicate</td><td>The new predicate. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a901ac572fd199a21e708b132b12c0fd8"></a><!-- doxytag: member="Soprano::Statement::setObject" ref="a901ac572fd199a21e708b132b12c0fd8" args="(const Node &amp;object)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Soprano::Statement::setObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The new object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8e302b77f27463c68fc79f83f02b1b69"></a><!-- doxytag: member="Soprano::Statement::setContext" ref="a8e302b77f27463c68fc79f83f02b1b69" args="(const Node &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Soprano::Statement::setContext </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Node.html">Node</a> &amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the <a class="el" href="classSoprano_1_1Statement.html" title="A Statement instance represents one RDF quadruple.">Statement</a> context.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The new Context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="afd497fcb6686ec2be288a5cc33be14c0"></a><!-- doxytag: member="Soprano::Statement::qHash" ref="afd497fcb6686ec2be288a5cc33be14c0" args="(const Statement &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SOPRANO_EXPORT uint qHash </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Statement</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a759fdae4fb853afe1019dc5c01668b3c"></a><!-- doxytag: member="Soprano::Statement::operator&lt;&lt;" ref="a759fdae4fb853afe1019dc5c01668b3c" args="(QDebug s, const Soprano::Statement &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SOPRANO_EXPORT QDebug operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">QDebug&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Soprano::Statement</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a66816adada435b8bb7b3edf2730bd84f"></a><!-- doxytag: member="Soprano::Statement::operator&lt;&lt;" ref="a66816adada435b8bb7b3edf2730bd84f" args="(QTextStream &amp;s, const Soprano::Statement &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a> &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qtextstream.html">QTextStream</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1Statement.html">Soprano::Statement</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/builddir/build/BUILD/soprano-2.6.0/soprano/<a class="el" href="statement_8h_source.html">statement.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>