diff options
author | David Robillard <d@drobilla.net> | 2017-02-15 23:18:59 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-15 23:26:03 +0100 |
commit | fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0 (patch) | |
tree | e69cd957486b3fe8a82c0b56f26aec0a23b8235c /src/Resource.cpp | |
parent | 2ba09e4b41b01cbd8f8756eb0e3b7e33136e06b3 (diff) | |
download | ingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.tar.gz ingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.tar.bz2 ingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.zip |
Move Properties out of Resource
Diffstat (limited to 'src/Resource.cpp')
-rw-r--r-- | src/Resource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Resource.cpp b/src/Resource.cpp index 18d02a69..623f601a 100644 --- a/src/Resource.cpp +++ b/src/Resource.cpp @@ -31,7 +31,7 @@ Resource::add_property(const Raul::URI& uri, Graph ctx) { // Ignore duplicate statements - typedef Resource::Properties::const_iterator iterator; + typedef Properties::const_iterator iterator; const std::pair<iterator, iterator> range = _properties.equal_range(uri); for (iterator i = range.first; i != range.second && i != _properties.end(); ++i) { if (i->second == value && i->second.context() == ctx) { @@ -154,7 +154,7 @@ Resource::type(const URIs& uris, bool& port, bool& is_output) { - typedef Resource::Properties::const_iterator iterator; + typedef Properties::const_iterator iterator; const std::pair<iterator, iterator> types_range = properties.equal_range(uris.rdf_type); graph = block = port = is_output = false; @@ -221,7 +221,7 @@ Resource::remove_properties(const Properties& props) remove_property(p.first, p.second); } -Resource::Properties +Properties Resource::properties(Resource::Graph ctx) const { Properties props; |