diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/AtomLiblo.hpp | 12 | ||||
-rw-r--r-- | raul/AtomRDF.hpp | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp index 3491b3a..682026a 100644 --- a/raul/AtomLiblo.hpp +++ b/raul/AtomLiblo.hpp @@ -15,11 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** @file Conversion from Raul Atom to Liblo OSC arguments and vice-versa. - * This header depends on liblo, only apps which directly depend on - * both raul and liblo should include it. - */ - #ifndef RAUL_ATOM_LIBLO_HPP #define RAUL_ATOM_LIBLO_HPP @@ -27,8 +22,14 @@ #include <raul/Atom.hpp> namespace Raul { + +/** Conversion between Raul Atoms and Liblo OSC arguments. + * This code (in header raul/AtomLiblo.hpp) depends on liblo, only apps which + * directly depend on both raul and liblo should include it. + */ namespace AtomLiblo { +/** Append a Raul Atom as a parameter to a liblo message */ inline void lo_message_add_atom(lo_message m, const Atom& atom) { @@ -54,6 +55,7 @@ lo_message_add_atom(lo_message m, const Atom& atom) } +/** Convert a liblo argument to a Raul::Atom */ inline Atom lo_arg_to_atom(char type, lo_arg* arg) { diff --git a/raul/AtomRDF.hpp b/raul/AtomRDF.hpp index 2934a2a..53fd67d 100644 --- a/raul/AtomRDF.hpp +++ b/raul/AtomRDF.hpp @@ -15,11 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** @file Conversion from Raul Atom to Redlandmm RDF Node and vice-versa. - * This header depends on redlandmm, only apps which directly depend on - * both raul and redlandmm should include it. - */ - #ifndef RAUL_ATOM_RDF_HPP #define RAUL_ATOM_RDF_HPP @@ -35,8 +30,14 @@ #define CUC(x) ((const unsigned char*)(x)) namespace Raul { + +/** 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. + */ namespace AtomRDF { +/** Convert a Redland::Node to a Raul::Atom */ inline Atom node_to_atom(const Redland::Node& node) { @@ -53,6 +54,7 @@ node_to_atom(const Redland::Node& node) } +/** Convert a Raul::Atom to a Redland::Node */ inline Redland::Node atom_to_node(Redland::World& world, const Atom& atom) { |