<!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>RAUL: Raul::AtomRDF Namespace 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 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><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="namespaces.html"><span>Namespace List</span></a></li> <li><a href="namespacemembers.html"><span>Namespace Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><b>Raul</b> </li> <li><a class="el" href="namespaceRaul_1_1AtomRDF.html">AtomRDF</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>Raul::AtomRDF Namespace Reference</h1> </div> </div> <div class="contents"> <p>Conversion between Raul Atoms and Redlandmm RDF nodes. <a href="#_details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f377a49f8f160b884871812cf4e83fa"></a><!-- doxytag: member="Raul::AtomRDF::node_to_atom" ref="a2f377a49f8f160b884871812cf4e83fa" args="(Redland::Model &model, const Redland::Node &node)" --> <a class="el" href="classRaul_1_1Atom.html">Atom</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceRaul_1_1AtomRDF.html#a2f377a49f8f160b884871812cf4e83fa">node_to_atom</a> (Redland::Model &model, const Redland::Node &node)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a Redland::Node to a <a class="el" href="classRaul_1_1Atom.html" title="A piece of data with some type.">Raul::Atom</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Redland::Node </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceRaul_1_1AtomRDF.html#a0374df42714ef17364bbbc7e2bcd0a1b">atom_to_node</a> (Redland::Model &model, const <a class="el" href="classRaul_1_1Atom.html">Atom</a> &atom)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="classRaul_1_1Atom.html" title="A piece of data with some type.">Raul::Atom</a> to a Redland::Node Note that not all Atoms are serialisable, the returned node should be checked (can be treated as a bool) before use. <a href="#a0374df42714ef17364bbbc7e2bcd0a1b"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Conversion between Raul Atoms and Redlandmm RDF nodes. </p> <p>This code (in header <a class="el" href="AtomRDF_8hpp_source.html">raul/AtomRDF.hpp</a>) depends on redlandmm, only apps which directly depend on both raul and liblo should include it. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a0374df42714ef17364bbbc7e2bcd0a1b"></a><!-- doxytag: member="Raul::AtomRDF::atom_to_node" ref="a0374df42714ef17364bbbc7e2bcd0a1b" args="(Redland::Model &model, const Atom &atom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Redland::Node Raul::AtomRDF::atom_to_node </td> <td>(</td> <td class="paramtype">Redland::Model & </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Atom & </td> <td class="paramname"> <em>atom</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a <a class="el" href="classRaul_1_1Atom.html" title="A piece of data with some type.">Raul::Atom</a> to a Redland::Node Note that not all Atoms are serialisable, the returned node should be checked (can be treated as a bool) before use. </p> <p>References <a class="el" href="classRaul_1_1Atom.html#a9221752e4e19d52178388d811815c33c">Raul::Atom::type()</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Oct 6 2010 for RAUL by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>