summaryrefslogtreecommitdiffstats
path: root/src/gui/RDFS.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 17:31:12 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 17:31:12 +0200
commit394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (patch)
tree1c079badda98cb366d72d59aabcb68fcc38760cf /src/gui/RDFS.cpp
parent367f7c57028ce05f3d765fed678a64ad54a73312 (diff)
downloadingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.tar.gz
ingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.tar.bz2
ingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.zip
Use lowercase namespace names
Diffstat (limited to 'src/gui/RDFS.cpp')
-rw-r--r--src/gui/RDFS.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/RDFS.cpp b/src/gui/RDFS.cpp
index 71b3441a..4ff26914 100644
--- a/src/gui/RDFS.cpp
+++ b/src/gui/RDFS.cpp
@@ -23,9 +23,9 @@
#include "RDFS.hpp"
-namespace Ingen {
-namespace GUI {
-namespace RDFS {
+namespace ingen {
+namespace gui {
+namespace rdfs {
std::string
label(World* world, const LilvNode* node)
@@ -113,7 +113,7 @@ datatypes(World* world, URISet& types, bool super)
}
URISet
-types(World* world, SPtr<const Client::ObjectModel> model)
+types(World* world, SPtr<const client::ObjectModel> model)
{
typedef Properties::const_iterator PropIter;
typedef std::pair<PropIter, PropIter> PropRange;
@@ -137,16 +137,16 @@ types(World* world, SPtr<const Client::ObjectModel> model)
}
// Add every superclass of every type, recursively
- RDFS::classes(world, types, true);
+ rdfs::classes(world, types, true);
return types;
}
URISet
-properties(World* world, SPtr<const Client::ObjectModel> model)
+properties(World* world, SPtr<const client::ObjectModel> model)
{
URISet properties;
- URISet types = RDFS::types(world, model);
+ URISet types = rdfs::types(world, model);
LilvNode* rdf_type = lilv_new_uri(world->lilv_world(),
LILV_NS_RDF "type");
@@ -209,7 +209,7 @@ instances(World* world, const URISet& types)
if (!lilv_node_is_uri(object)) {
continue;
}
- const std::string label = RDFS::label(world, object);
+ const std::string label = rdfs::label(world, object);
result.emplace(label, URI(lilv_node_as_string(object)));
}
lilv_node_free(type);
@@ -234,7 +234,7 @@ range(World* world, const LilvNode* prop, bool recursive)
}
if (recursive) {
- RDFS::classes(world, ranges, false);
+ rdfs::classes(world, ranges, false);
}
lilv_nodes_free(nodes);
@@ -254,6 +254,6 @@ is_a(World* world, const LilvNode* inst, const LilvNode* klass)
return is_instance;
}
-} // namespace RDFS
-} // namespace GUI
-} // namespace Ingen
+} // namespace rdfs
+} // namespace gui
+} // namespace ingen