Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > updates > by-pkgid > fc669c0115c2f74e1d26807f2cb98f7a > files > 157

soprano-apidocs-2.5.2-1.fc13.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::LiteralValue 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;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_1LiteralValue.html">Soprano::LiteralValue</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>Soprano::LiteralValue Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Soprano::LiteralValue" -->
<p>Represents a literal value of an RDF <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a>.  
<a href="#_details">More...</a></p>

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

<p><a href="classSoprano_1_1LiteralValue-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 colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a230ef011ffe914cee062cf904c555987">LiteralValue</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a2b2ab4d5aebf2486f25b667cd3cd30d9">~LiteralValue</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a0470eca6d5f780755607a61d97a3cdca">LiteralValue</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a082c2284baca686f277ad756dffa4f34">LiteralValue</a> (const <a class="elRef" href="qvariant.html">QVariant</a> &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a7d314389bdd60b55901cf8788cc6f078">LiteralValue</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a20e8f991d7e15c3dff0045b43ef56ac9">LiteralValue</a> (qlonglong i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ab5208004b4f56fb3cdbc12d253f445b6">LiteralValue</a> (uint i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a2c17bacb252c70ed165eec3986980dc1">LiteralValue</a> (qulonglong i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a3ba9b72531622dfae9331b9edabeca8e">LiteralValue</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a8fca57ebe4625e470b8b4fbfcee0559e">LiteralValue</a> (double d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#afeb34dc41f0a9d5f7cc65644de4ea170">LiteralValue</a> (const char *string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a60f6848fcc8c5bdb0aea0e3f2dfc43a5">LiteralValue</a> (const <a class="elRef" href="qlatin1string.html">QLatin1String</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ad428ed585417d5c981246bf1cc6b12ba">LiteralValue</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a9841cf5b527f62ac95b5889295c52280">LiteralValue</a> (const <a class="elRef" href="qdate.html">QDate</a> &amp;date)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a44e1d05dd235c0fbd8fc19d346f0ce5f">LiteralValue</a> (const <a class="elRef" href="qtime.html">QTime</a> &amp;time)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ab26a98871f0c14a16bbe36c5b31a858b">LiteralValue</a> (const <a class="elRef" href="qdatetime.html">QDateTime</a> &amp;datetime)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a900f64ee16b88e1143ad51c8c1d7a0c7">LiteralValue</a> (const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data)</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aae2f4d271504f40ff1410be28deceafb">operator=</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ac58745c412d55af6ae7e6fc295e27101">operator=</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ab04974d849902404a3a24b7d43e5953d">operator=</a> (qlonglong i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#abc020c66c04e6a764190b5f1b673ec48">operator=</a> (uint i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a74a7dab39b2efe993e87a858449b3838">operator=</a> (qulonglong i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a62941afec23cc98eaa95234ee7aa5d7c">operator=</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a75778f1049f9d888f504b4e7d8e67bec">operator=</a> (double d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a0e6024e9b77c085b436373fa7575db1f">operator=</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a85849bd12a3a57e7202f7e8780d874b9">operator=</a> (const <a class="elRef" href="qlatin1string.html">QLatin1String</a> &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aa8f645e99ce5d85f38502683cb02cfc0">operator=</a> (const <a class="elRef" href="qdate.html">QDate</a> &amp;date)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a319db29bef57e70ce5bda7ac51981ef5">operator=</a> (const <a class="elRef" href="qtime.html">QTime</a> &amp;time)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a185317477ad9686573e10976434aff19">operator=</a> (const <a class="elRef" href="qdatetime.html">QDateTime</a> &amp;datetime)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a618289b90f2fb11deedb6bc912434487">operator=</a> (const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data)</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a6af9ad0b90f4bc16fae1404696bde5ef">operator==</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;other) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a6cb24d670183ced201b7780bebcf0cd3">operator!=</a> (const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;other) const </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a0010489e319e67b64001a9ca48644254">isValid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a09e90f40df9c3576ed996215c8d598c4">isPlain</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#af5828984921fce1246f0c41d7c416049">isInt</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a90054212f9a29a54067317254fa0bb40">isInt64</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#addfbf80221345aabc6abc776141cd881">isUnsignedInt</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a14aa65ef40b1c1f2c0d83d92c53b975d">isUnsignedInt64</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a7b61ffd6c1ce622a5987e167ef964f7c">isBool</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ad1dfcbc712cdc8fcb9c850681c2c7a02">isDouble</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a41a2a430af216f0a500b06ef1bf955ef">isString</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a991ece0bef9a13c1f986738f86a406f5">isDate</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aacb2be42b907a7608ce28532467162a6">isTime</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aa97e523cafc65069fb3596b2211d90b1">isDateTime</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#abfaa79b470083202810b6f9f3ce8fe9f">isByteArray</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">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a55dfd05e40ddceacfd2d35f72b5394aa">toInt</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qlonglong&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aed34663151067fd1f14690f7bd4085e9">toInt64</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ac17391669cc5cc614f2f787839aa52b4">toUnsignedInt</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qulonglong&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a010f665564ba4f9d3b7b9de9a955f0eb">toUnsignedInt64</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ac785b87e1e73026fd9514a31dde31db9">toBool</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a936afb3d541f39632a57c69c970efae1">toDouble</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a39c44055e35566cc4ae4d3929ed94abc">toString</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qdate.html">QDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a27c9ccf0477dee48cf691f95a4c81391">toDate</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qtime.html">QTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a538ed60b7fac45a6e662a5f818dffa89">toTime</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qdatetime.html">QDateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a6b35551f95e22c68e2970965970e8c6a">toDateTime</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qbytearray.html">QByteArray</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a5149cfde959e17f51f91dd394fa7e9bd">toByteArray</a> () const </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qurl.html">QUrl</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a0a9f7f84b59bf4acc6bd5e31f7f47c2c">dataTypeUri</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a89387ce6886881e638a0d5ff67f6c1c3">language</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVariant::Type&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a36d5ef002f2498780de35e2f7b1e6d14">type</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvariant.html">QVariant</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#aaeda7941a66f0381c8d090b36f482f6d">variant</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a940d43978097b36a89456c8fda8ea8ae">fromString</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;value, QVariant::Type type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a121d29ba4a1110eab04bf0530d56f6a8">fromString</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;value, const <a class="elRef" href="qurl.html">QUrl</a> &amp;dataTypeUri)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#a1e0f8bdcfaee5e88e1a6304ac5b8f653">createPlainLiteral</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;value, const <a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a> &amp;lang=<a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a>())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static QVariant::Type&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ad63a090a6f64044693aca800cfd624f0">typeFromDataTypeUri</a> (const <a class="elRef" href="qurl.html">QUrl</a> &amp;dataTypeUri)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qurl.html">QUrl</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1LiteralValue.html#ab2262df425fcc7b92c327d54e7b51b24">dataTypeUriFromType</a> (QVariant::Type type)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Represents a literal value of an RDF <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Node</a>. </p>
<p><a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> is based on <a class="elRef" href="qvariant.html">QVariant</a> to support a subset of the XML Schema types that are compatible with QT types.</p>
<p>The following types are supported natively including automatic type conversion. Other types are represented as strings.</p>
<ul>
<li>int (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a86c44a6702fa7e206bc8ed84a023ff5b">Vocabulary::XMLSchema::xsdInt</a>) </li>
<li>qlonglong (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a5782226d4864a36615d5fca83e5a8ac7">Vocabulary::XMLSchema::xsdLong</a>) </li>
<li>unsigned int (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#ab4daf61cb2ec707746585faf1688b897">Vocabulary::XMLSchema::unsignedInt</a>) </li>
<li>qulonglong (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a9eebb11c505774e7309276415b71bf09">Vocabulary::XMLSchema::unsignedLong</a>) </li>
<li>bool (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#ac3b4b5fcdd74025601d05549859796a9">Vocabulary::XMLSchema::boolean</a>) </li>
<li>double and float (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a5d3085c365cbb257b37ab1a8c45b83a2">Vocabulary::XMLSchema::xsdDouble</a>) (float values are always converted to double) </li>
<li><a class="elRef" href="qstring.html">QString</a> (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a1aaf3c3ba4658424c31f79f8009d4604">Vocabulary::XMLSchema::string</a> or <a class="el" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0a6b11ac5bb82a586796e4317c6d41e4">Vocabulary::RDF::XMLLiteral</a>) </li>
<li><a class="elRef" href="qdate.html">QDate</a> (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a6c5630132f01314c7b61773e7411f5a7">Vocabulary::XMLSchema::date</a>) </li>
<li><a class="elRef" href="qtime.html">QTime</a> (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#adccb42f50a49dccd76a8706bd125521b">Vocabulary::XMLSchema::time</a>) </li>
<li><a class="elRef" href="qdatetime.html">QDateTime</a> (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#acf45deb9d28806c6368b078b4d1038b7">Vocabulary::XMLSchema::dateTime</a>) </li>
<li><a class="elRef" href="qbytearray.html">QByteArray</a> (<a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#afc7ec1ecc4f4d10914fede91bf4ac938">Vocabulary::XMLSchema::base64Binary</a>)</li>
</ul>
<p>Literal values can be converted from strings via <a class="el" href="classSoprano_1_1LiteralValue.html#a940d43978097b36a89456c8fda8ea8ae">fromString()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html">Vocabulary::XMLSchema</a></dd></dl>
<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="literalvalue_8h_source.html#l00066">66</a> of file <a class="el" href="literalvalue_8h_source.html">literalvalue.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a230ef011ffe914cee062cf904c555987"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a230ef011ffe914cee062cf904c555987" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an empty literal value </p>

</div>
</div>
<a class="anchor" id="a2b2ab4d5aebf2486f25b667cd3cd30d9"></a><!-- doxytag: member="Soprano::LiteralValue::~LiteralValue" ref="a2b2ab4d5aebf2486f25b667cd3cd30d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::~LiteralValue </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor </p>

</div>
</div>
<a class="anchor" id="a0470eca6d5f780755607a61d97a3cdca"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a0470eca6d5f780755607a61d97a3cdca" args="(const LiteralValue &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default copy constructor </p>

</div>
</div>
<a class="anchor" id="a082c2284baca686f277ad756dffa4f34"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a082c2284baca686f277ad756dffa4f34" args="(const QVariant &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qvariant.html">QVariant</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> from a <a class="elRef" href="qvariant.html">QVariant</a>. User types are not supported. If v contains an unsupported type an invalid <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> is created. </p>

</div>
</div>
<a class="anchor" id="a7d314389bdd60b55901cf8788cc6f078"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a7d314389bdd60b55901cf8788cc6f078" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type int (i.e. <a href="http://www.w3.org/2001/XMLSchema#int">http://www.w3.org/2001/XMLSchema#int</a>) </p>

</div>
</div>
<a class="anchor" id="a20e8f991d7e15c3dff0045b43ef56ac9"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a20e8f991d7e15c3dff0045b43ef56ac9" args="(qlonglong i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">qlonglong&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type long long (i.e. <a href="http://www.w3.org/2001/XMLSchema#long">http://www.w3.org/2001/XMLSchema#long</a>) </p>

</div>
</div>
<a class="anchor" id="ab5208004b4f56fb3cdbc12d253f445b6"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="ab5208004b4f56fb3cdbc12d253f445b6" args="(uint i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">uint&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type unsigned int (i.e. <a href="http://www.w3.org/2001/XMLSchema#unsignedInt">http://www.w3.org/2001/XMLSchema#unsignedInt</a>) </p>

</div>
</div>
<a class="anchor" id="a2c17bacb252c70ed165eec3986980dc1"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a2c17bacb252c70ed165eec3986980dc1" args="(qulonglong i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">qulonglong&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type unsigned long long (i.e. <a href="http://www.w3.org/2001/XMLSchema#unsignedLong">http://www.w3.org/2001/XMLSchema#unsignedLong</a>) </p>

</div>
</div>
<a class="anchor" id="a3ba9b72531622dfae9331b9edabeca8e"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a3ba9b72531622dfae9331b9edabeca8e" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type bool (i.e. <a href="http://www.w3.org/2001/XMLSchema#boolean">http://www.w3.org/2001/XMLSchema#boolean</a>) </p>

</div>
</div>
<a class="anchor" id="a8fca57ebe4625e470b8b4fbfcee0559e"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a8fca57ebe4625e470b8b4fbfcee0559e" args="(double d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type double (i.e. <a href="http://www.w3.org/2001/XMLSchema#double">http://www.w3.org/2001/XMLSchema#double</a>) </p>

</div>
</div>
<a class="anchor" id="afeb34dc41f0a9d5f7cc65644de4ea170"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="afeb34dc41f0a9d5f7cc65644de4ea170" args="(const char *string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qstring.html">QString</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</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>string</em>&nbsp;</td><td>The value of the new literal interpreted as UTF-8 encoded string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a60f6848fcc8c5bdb0aea0e3f2dfc43a5"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a60f6848fcc8c5bdb0aea0e3f2dfc43a5" args="(const QLatin1String &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qlatin1string.html">QLatin1String</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qstring.html">QString</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</a>) </p>

</div>
</div>
<a class="anchor" id="ad428ed585417d5c981246bf1cc6b12ba"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="ad428ed585417d5c981246bf1cc6b12ba" args="(const QString &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qstring.html">QString</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</a>) </p>

</div>
</div>
<a class="anchor" id="a9841cf5b527f62ac95b5889295c52280"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a9841cf5b527f62ac95b5889295c52280" args="(const QDate &amp;date)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qdate.html">QDate</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>date</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qdate.html">QDate</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#date">http://www.w3.org/2001/XMLSchema#date</a>) </p>

</div>
</div>
<a class="anchor" id="a44e1d05dd235c0fbd8fc19d346f0ce5f"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a44e1d05dd235c0fbd8fc19d346f0ce5f" args="(const QTime &amp;time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qtime.html">QTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>time</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qtime.html">QTime</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#time">http://www.w3.org/2001/XMLSchema#time</a>) </p>

</div>
</div>
<a class="anchor" id="ab26a98871f0c14a16bbe36c5b31a858b"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="ab26a98871f0c14a16bbe36c5b31a858b" args="(const QDateTime &amp;datetime)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qdatetime.html">QDateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>datetime</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qdatetime.html">QDateTime</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#dateTime">http://www.w3.org/2001/XMLSchema#dateTime</a>) </p>

</div>
</div>
<a class="anchor" id="a900f64ee16b88e1143ad51c8c1d7a0c7"></a><!-- doxytag: member="Soprano::LiteralValue::LiteralValue" ref="a900f64ee16b88e1143ad51c8c1d7a0c7" args="(const QByteArray &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Soprano::LiteralValue::LiteralValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a literal value of type <a class="elRef" href="qbytearray.html">QByteArray</a> (i.e. <a href="http://www.w3.org/2001/XMLSchema#base64Binary">http://www.w3.org/2001/XMLSchema#base64Binary</a>) </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aae2f4d271504f40ff1410be28deceafb"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="aae2f4d271504f40ff1410be28deceafb" args="(const LiteralValue &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a copy of <em>other</em> </p>

</div>
</div>
<a class="anchor" id="ac58745c412d55af6ae7e6fc295e27101"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="ac58745c412d55af6ae7e6fc295e27101" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>i</em> to this literal value. The type will be set to int (<a href="http://www.w3.org/2001/XMLSchema#int">http://www.w3.org/2001/XMLSchema#int</a>) unless it is already set to a compatible type.</p>
<p>Thus, a type <a href="http://www.w3.org/2001/XMLSchema#integer">http://www.w3.org/2001/XMLSchema#integer</a> or <a href="http://www.w3.org/2001/XMLSchema#decimal">http://www.w3.org/2001/XMLSchema#decimal</a> will not be changed.</p>
<p>Be aware that <a class="el" href="namespaceSoprano.html">Soprano</a> does not check the ranges of the integer value yet. </p>

</div>
</div>
<a class="anchor" id="ab04974d849902404a3a24b7d43e5953d"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="ab04974d849902404a3a24b7d43e5953d" args="(qlonglong i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">qlonglong&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>i</em> to this literal value. The type will be set to long (<a href="http://www.w3.org/2001/XMLSchema#long">http://www.w3.org/2001/XMLSchema#long</a>). </p>

</div>
</div>
<a class="anchor" id="abc020c66c04e6a764190b5f1b673ec48"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="abc020c66c04e6a764190b5f1b673ec48" args="(uint i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">uint&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>i</em> to this literal value. The type will be set to uint (<a href="http://www.w3.org/2001/XMLSchema#unsignedInt">http://www.w3.org/2001/XMLSchema#unsignedInt</a>) unless it is already set to a compatible type.</p>
<p>Thus, a type <a href="http://www.w3.org/2001/XMLSchema#unsignedShort">http://www.w3.org/2001/XMLSchema#unsignedShort</a> will not be changed.</p>
<p>Be aware that <a class="el" href="namespaceSoprano.html">Soprano</a> does not check the ranges of the unsigned value yet. </p>

</div>
</div>
<a class="anchor" id="a74a7dab39b2efe993e87a858449b3838"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a74a7dab39b2efe993e87a858449b3838" args="(qulonglong i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">qulonglong&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>i</em> to this literal value. The type will be set to unsigned long (<a href="http://www.w3.org/2001/XMLSchema#unsignedLong">http://www.w3.org/2001/XMLSchema#unsignedLong</a>). </p>

</div>
</div>
<a class="anchor" id="a62941afec23cc98eaa95234ee7aa5d7c"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a62941afec23cc98eaa95234ee7aa5d7c" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>b</em> to this literal value. The type will be set to bool (<a href="http://www.w3.org/2001/XMLSchema#boolean">http://www.w3.org/2001/XMLSchema#boolean</a>). </p>

</div>
</div>
<a class="anchor" id="a75778f1049f9d888f504b4e7d8e67bec"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a75778f1049f9d888f504b4e7d8e67bec" args="(double d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>d</em> to this literal value. The type will be set to double (<a href="http://www.w3.org/2001/XMLSchema#double">http://www.w3.org/2001/XMLSchema#double</a>). </p>

</div>
</div>
<a class="anchor" id="a0e6024e9b77c085b436373fa7575db1f"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a0e6024e9b77c085b436373fa7575db1f" args="(const QString &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>s</em> to this literal value. The type will be set to string (<a href="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</a>). </p>

</div>
</div>
<a class="anchor" id="a85849bd12a3a57e7202f7e8780d874b9"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a85849bd12a3a57e7202f7e8780d874b9" args="(const QLatin1String &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qlatin1string.html">QLatin1String</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>s</em> to this literal value. The type will be set to string (<a href="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</a>). </p>

</div>
</div>
<a class="anchor" id="aa8f645e99ce5d85f38502683cb02cfc0"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="aa8f645e99ce5d85f38502683cb02cfc0" args="(const QDate &amp;date)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qdate.html">QDate</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>date</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>date</em> to this literal value. The type will be set to data (<a href="http://www.w3.org/2001/XMLSchema#date">http://www.w3.org/2001/XMLSchema#date</a>). </p>

</div>
</div>
<a class="anchor" id="a319db29bef57e70ce5bda7ac51981ef5"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a319db29bef57e70ce5bda7ac51981ef5" args="(const QTime &amp;time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qtime.html">QTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>time</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>time</em> to this literal value. The type will be set to time (<a href="http://www.w3.org/2001/XMLSchema#time">http://www.w3.org/2001/XMLSchema#time</a>). </p>

</div>
</div>
<a class="anchor" id="a185317477ad9686573e10976434aff19"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a185317477ad9686573e10976434aff19" args="(const QDateTime &amp;datetime)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qdatetime.html">QDateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>datetime</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>datetime</em> to this literal value. The type will be set to dateTime (<a href="http://www.w3.org/2001/XMLSchema#dateTime">http://www.w3.org/2001/XMLSchema#dateTime</a>). </p>

</div>
</div>
<a class="anchor" id="a618289b90f2fb11deedb6bc912434487"></a><!-- doxytag: member="Soprano::LiteralValue::operator=" ref="a618289b90f2fb11deedb6bc912434487" args="(const QByteArray &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a>&amp; Soprano::LiteralValue::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assigns <em>datetime</em> to this literal value. The type will be set to ByteArray (<a href="http://www.w3.org/2001/XMLSchema#base64Binary">http://www.w3.org/2001/XMLSchema#base64Binary</a>). </p>

</div>
</div>
<a class="anchor" id="a6af9ad0b90f4bc16fae1404696bde5ef"></a><!-- doxytag: member="Soprano::LiteralValue::operator==" ref="a6af9ad0b90f4bc16fae1404696bde5ef" args="(const LiteralValue &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6cb24d670183ced201b7780bebcf0cd3"></a><!-- doxytag: member="Soprano::LiteralValue::operator!=" ref="a6cb24d670183ced201b7780bebcf0cd3" args="(const LiteralValue &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0010489e319e67b64001a9ca48644254"></a><!-- doxytag: member="Soprano::LiteralValue::isValid" ref="a0010489e319e67b64001a9ca48644254" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isValid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a09e90f40df9c3576ed996215c8d598c4"></a><!-- doxytag: member="Soprano::LiteralValue::isPlain" ref="a09e90f40df9c3576ed996215c8d598c4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isPlain </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="af5828984921fce1246f0c41d7c416049"></a><!-- doxytag: member="Soprano::LiteralValue::isInt" ref="af5828984921fce1246f0c41d7c416049" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isInt </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a90054212f9a29a54067317254fa0bb40"></a><!-- doxytag: member="Soprano::LiteralValue::isInt64" ref="a90054212f9a29a54067317254fa0bb40" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isInt64 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="addfbf80221345aabc6abc776141cd881"></a><!-- doxytag: member="Soprano::LiteralValue::isUnsignedInt" ref="addfbf80221345aabc6abc776141cd881" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isUnsignedInt </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a14aa65ef40b1c1f2c0d83d92c53b975d"></a><!-- doxytag: member="Soprano::LiteralValue::isUnsignedInt64" ref="a14aa65ef40b1c1f2c0d83d92c53b975d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isUnsignedInt64 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a7b61ffd6c1ce622a5987e167ef964f7c"></a><!-- doxytag: member="Soprano::LiteralValue::isBool" ref="a7b61ffd6c1ce622a5987e167ef964f7c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isBool </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="ad1dfcbc712cdc8fcb9c850681c2c7a02"></a><!-- doxytag: member="Soprano::LiteralValue::isDouble" ref="ad1dfcbc712cdc8fcb9c850681c2c7a02" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isDouble </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a41a2a430af216f0a500b06ef1bf955ef"></a><!-- doxytag: member="Soprano::LiteralValue::isString" ref="a41a2a430af216f0a500b06ef1bf955ef" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isString </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if the literal contains a string value. Be aware that unknown literal types are also treated as strings. In that case compare dataTypeUrl. </p>

</div>
</div>
<a class="anchor" id="a991ece0bef9a13c1f986738f86a406f5"></a><!-- doxytag: member="Soprano::LiteralValue::isDate" ref="a991ece0bef9a13c1f986738f86a406f5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isDate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="aacb2be42b907a7608ce28532467162a6"></a><!-- doxytag: member="Soprano::LiteralValue::isTime" ref="aacb2be42b907a7608ce28532467162a6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isTime </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="aa97e523cafc65069fb3596b2211d90b1"></a><!-- doxytag: member="Soprano::LiteralValue::isDateTime" ref="aa97e523cafc65069fb3596b2211d90b1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isDateTime </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="abfaa79b470083202810b6f9f3ce8fe9f"></a><!-- doxytag: member="Soprano::LiteralValue::isByteArray" ref="abfaa79b470083202810b6f9f3ce8fe9f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::isByteArray </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if this literal value is a plain literal. Plain literals have no data type, but may have an optional language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this literal is plain </dd></dl>

</div>
</div>
<a class="anchor" id="a55dfd05e40ddceacfd2d35f72b5394aa"></a><!-- doxytag: member="Soprano::LiteralValue::toInt" ref="a55dfd05e40ddceacfd2d35f72b5394aa" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Soprano::LiteralValue::toInt </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aed34663151067fd1f14690f7bd4085e9"></a><!-- doxytag: member="Soprano::LiteralValue::toInt64" ref="aed34663151067fd1f14690f7bd4085e9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qlonglong Soprano::LiteralValue::toInt64 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac17391669cc5cc614f2f787839aa52b4"></a><!-- doxytag: member="Soprano::LiteralValue::toUnsignedInt" ref="ac17391669cc5cc614f2f787839aa52b4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint Soprano::LiteralValue::toUnsignedInt </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a010f665564ba4f9d3b7b9de9a955f0eb"></a><!-- doxytag: member="Soprano::LiteralValue::toUnsignedInt64" ref="a010f665564ba4f9d3b7b9de9a955f0eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qulonglong Soprano::LiteralValue::toUnsignedInt64 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac785b87e1e73026fd9514a31dde31db9"></a><!-- doxytag: member="Soprano::LiteralValue::toBool" ref="ac785b87e1e73026fd9514a31dde31db9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Soprano::LiteralValue::toBool </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a936afb3d541f39632a57c69c970efae1"></a><!-- doxytag: member="Soprano::LiteralValue::toDouble" ref="a936afb3d541f39632a57c69c970efae1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Soprano::LiteralValue::toDouble </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a39c44055e35566cc4ae4d3929ed94abc"></a><!-- doxytag: member="Soprano::LiteralValue::toString" ref="a39c44055e35566cc4ae4d3929ed94abc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> Soprano::LiteralValue::toString </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a27c9ccf0477dee48cf691f95a4c81391"></a><!-- doxytag: member="Soprano::LiteralValue::toDate" ref="a27c9ccf0477dee48cf691f95a4c81391" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qdate.html">QDate</a> Soprano::LiteralValue::toDate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a538ed60b7fac45a6e662a5f818dffa89"></a><!-- doxytag: member="Soprano::LiteralValue::toTime" ref="a538ed60b7fac45a6e662a5f818dffa89" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qtime.html">QTime</a> Soprano::LiteralValue::toTime </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6b35551f95e22c68e2970965970e8c6a"></a><!-- doxytag: member="Soprano::LiteralValue::toDateTime" ref="a6b35551f95e22c68e2970965970e8c6a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qdatetime.html">QDateTime</a> Soprano::LiteralValue::toDateTime </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5149cfde959e17f51f91dd394fa7e9bd"></a><!-- doxytag: member="Soprano::LiteralValue::toByteArray" ref="a5149cfde959e17f51f91dd394fa7e9bd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qbytearray.html">QByteArray</a> Soprano::LiteralValue::toByteArray </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each type can be converted to a string which means that toString in combination with dataTypeUrl provides all the information necessary to store this literal as RDF.</p>
<p>The string value is cached so calling it multiple times in a row is fast.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>For historical reasons this is not a user-readable representation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1Node.html#adc24e32385b842186cafbe31e7194a77">Node::toString</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0a9f7f84b59bf4acc6bd5e31f7f47c2c"></a><!-- doxytag: member="Soprano::LiteralValue::dataTypeUri" ref="a0a9f7f84b59bf4acc6bd5e31f7f47c2c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qurl.html">QUrl</a> Soprano::LiteralValue::dataTypeUri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The XML Schema datatype URI.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The URI of the XML Schema type referring to the stored type or an empty <a class="elRef" href="qurl.html">QUrl</a> if the <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> is empty or is a plain literal. </dd></dl>

</div>
</div>
<a class="anchor" id="a89387ce6886881e638a0d5ff67f6c1c3"></a><!-- doxytag: member="Soprano::LiteralValue::language" ref="a89387ce6886881e638a0d5ff67f6c1c3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a> Soprano::LiteralValue::language </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The language tag of the plain literal or an empty <a class="el" href="classSoprano_1_1LanguageTag.html" title="A LanguageTag represents a language according to RFC 3066 and RFC 4646.">LanguageTag</a> if the <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> has no language or it is a typed literal. </dd></dl>

</div>
</div>
<a class="anchor" id="a36d5ef002f2498780de35e2f7b1e6d14"></a><!-- doxytag: member="Soprano::LiteralValue::type" ref="a36d5ef002f2498780de35e2f7b1e6d14" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant::Type Soprano::LiteralValue::type </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The type of the data.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="elRef" href="qvariant.html">QVariant</a> type of the stored data or QVariant::Invalid if it is an empty value. </dd></dl>

</div>
</div>
<a class="anchor" id="aaeda7941a66f0381c8d090b36f482f6d"></a><!-- doxytag: member="Soprano::LiteralValue::variant" ref="aaeda7941a66f0381c8d090b36f482f6d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvariant.html">QVariant</a> Soprano::LiteralValue::variant </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The literal value represented in a <a class="elRef" href="qvariant.html">QVariant</a>. Be aware that the RDF typing information is lost in the converted variant. </p>

</div>
</div>
<a class="anchor" id="a940d43978097b36a89456c8fda8ea8ae"></a><!-- doxytag: member="Soprano::LiteralValue::fromString" ref="a940d43978097b36a89456c8fda8ea8ae" args="(const QString &amp;value, QVariant::Type type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> Soprano::LiteralValue::fromString </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVariant::Type&nbsp;</td>
          <td class="paramname"> <em>type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> object by parsing string <em>value</em> based on <em>type</em>. If <em>type</em> is unknown a simple string <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> object is returned containing the plain string <em>value</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1LiteralValue.html#a121d29ba4a1110eab04bf0530d56f6a8">fromString(const QString&amp;, const QUrl&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a121d29ba4a1110eab04bf0530d56f6a8"></a><!-- doxytag: member="Soprano::LiteralValue::fromString" ref="a121d29ba4a1110eab04bf0530d56f6a8" args="(const QString &amp;value, const QUrl &amp;dataTypeUri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> Soprano::LiteralValue::fromString </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dataTypeUri</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> object by parsing string <em>value</em> based on <em>dataTypeUri</em>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value of the literal. Might be converted based on <em>dataTypeUri</em>.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dataTypeUri</em>&nbsp;</td><td>The data type URI. Soprano can automatically convert all XML schema types. All other (unknown) types will be stored as a string value with the plain <em>dataTypeUri</em> as type. Thus, unknown literal types can still be used without automatic type conversion. (Be aware though, that changing the value of a <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> instance will reset the type, ie. custom data type URIs will be lost.)</td></tr>
  </table>
  </dd>
</dl>
<p>Both an empty <em>value</em> and <em>dataTypeUri</em> will result in an invalid <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> instance but an empty <em>value</em> with a valid <em>dataTypeUri</em> is possible. A valid <em>value</em> with an invalid <em>dataTypeUri</em> will result in a <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> of type <a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html#a1aaf3c3ba4658424c31f79f8009d4604">Vocabulary::XMLSchema::string</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> instance based on the provided <em>value</em> and <em>dataTypeUri</em>.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classSoprano_1_1LiteralValue.html#a940d43978097b36a89456c8fda8ea8ae">fromString(const QString&amp;, QVariant::Type)</a>, <a class="el" href="namespaceSoprano_1_1Vocabulary_1_1XMLSchema.html">Vocabulary::XMLSchema</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1e0f8bdcfaee5e88e1a6304ac5b8f653"></a><!-- doxytag: member="Soprano::LiteralValue::createPlainLiteral" ref="a1e0f8bdcfaee5e88e1a6304ac5b8f653" args="(const QString &amp;value, const LanguageTag &amp;lang=LanguageTag())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classSoprano_1_1LiteralValue.html">LiteralValue</a> Soprano::LiteralValue::createPlainLiteral </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>lang</em> = <code><a class="el" href="classSoprano_1_1LanguageTag.html">LanguageTag</a>()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a plain <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> object with an optional language tag.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value of the literal.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>lang</em>&nbsp;</td><td>The language tag.</td></tr>
  </table>
  </dd>
</dl>
<p>Both an empty <em>value</em> and <em>lang</em> will result in an invalid <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> instance but an empty <em>value</em> with a valid <em>lang</em> is possible. A valid <em>value</em> with an empty <em>lang</em> will result in a plain, untyped literal with no language tag.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="classSoprano_1_1LiteralValue.html" title="Represents a literal value of an RDF Node.">LiteralValue</a> instance based on the provided <em>value</em> and <em>lang</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad63a090a6f64044693aca800cfd624f0"></a><!-- doxytag: member="Soprano::LiteralValue::typeFromDataTypeUri" ref="ad63a090a6f64044693aca800cfd624f0" args="(const QUrl &amp;dataTypeUri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static QVariant::Type Soprano::LiteralValue::typeFromDataTypeUri </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qurl.html">QUrl</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dataTypeUri</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert an XML Schema URI into a QVariant::Type. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The QVariant::Type corresponding to dataTypeUri or QVariant::Invalid if dataTypeUri is unknown. </dd></dl>

</div>
</div>
<a class="anchor" id="ab2262df425fcc7b92c327d54e7b51b24"></a><!-- doxytag: member="Soprano::LiteralValue::dataTypeUriFromType" ref="ab2262df425fcc7b92c327d54e7b51b24" args="(QVariant::Type type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="qurl.html">QUrl</a> Soprano::LiteralValue::dataTypeUriFromType </td>
          <td>(</td>
          <td class="paramtype">QVariant::Type&nbsp;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert a QVariant::Type into an XML Schema URI. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The XML Schema URI that corresponds to <code>type</code> or an empty <a class="elRef" href="qurl.html">QUrl</a> if the type os unknown, i.e. can not be mapped to an XML Schema type. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/builddir/build/BUILD/soprano-2.5.2/soprano/<a class="el" href="literalvalue_8h_source.html">literalvalue.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>