diff options
author | David Robillard <d@drobilla.net> | 2007-09-12 03:20:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-12 03:20:16 +0000 |
commit | fda877003a1843ed53257f6e85123b0ef15b8f4f (patch) | |
tree | 0bbbd9124483185594969b6d507be351d5beffc6 /raul | |
parent | b1d0c86db891dabb77fbc9655e7e5d5740ccf701 (diff) | |
download | raul-fda877003a1843ed53257f6e85123b0ef15b8f4f.tar.gz raul-fda877003a1843ed53257f6e85123b0ef15b8f4f.tar.bz2 raul-fda877003a1843ed53257f6e85123b0ef15b8f4f.zip |
Const-correctness for Raul::RDF::Node type conversion functions.
git-svn-id: http://svn.drobilla.net/lad/raul@702 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul')
-rw-r--r-- | raul/RDFNode.hpp | 12 | ||||
-rw-r--r-- | raul/Table.hpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/raul/RDFNode.hpp b/raul/RDFNode.hpp index 13326f7..c0ed669 100644 --- a/raul/RDFNode.hpp +++ b/raul/RDFNode.hpp @@ -62,14 +62,14 @@ public: std::string to_string() const; std::string to_quoted_uri_string() const; - bool is_int(); - int to_int(); + bool is_int() const; + int to_int() const; - bool is_float(); - float to_float(); + bool is_float() const; + float to_float() const; - bool is_bool(); - float to_bool(); + bool is_bool() const; + float to_bool() const; private: librdf_node* _node; diff --git a/raul/Table.hpp b/raul/Table.hpp index 9fd672a..1d20a9c 100644 --- a/raul/Table.hpp +++ b/raul/Table.hpp @@ -29,7 +29,7 @@ namespace Raul { /** Slow insertion, fast lookup, cache optimized, super fast sorted iteration. * * This has the advantage over std::map that iterating over the collection - * is super fast, and iteration is sorted. Probably also faster due to all + * is fast and sorted. Possibly also faster in some situations due to all * data being in a single chunk of memory, cache optimized, etc. */ template <typename K, typename T> |