Raul::AtomRDF Namespace Reference

Conversion between Raul Atoms and Redlandmm RDF nodes. More...


Functions

Atom node_to_atom (const Redland::Node &node)
 Convert a Redland::Node to a Raul::Atom.
Redland::Node atom_to_node (Redland::World &world, const Atom &atom)
 Convert a Raul::Atom 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.


Detailed Description

Conversion between Raul Atoms and Redlandmm RDF nodes.

This code (in header raul/AtomRDF.hpp) depends on redlandmm, only apps which directly depend on both raul and liblo should include it.


Function Documentation

Redland::Node Raul::AtomRDF::atom_to_node ( Redland::World &  world,
const Atom &  atom 
) [inline]

Convert a Raul::Atom 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.

References Raul::Atom::get_bool(), Raul::Atom::get_float(), Raul::Atom::get_int32(), Raul::Atom::get_string(), and Raul::Atom::type().


Generated on Mon Aug 3 17:40:41 2009 for RAUL by  doxygen 1.5.5