summaryrefslogtreecommitdiffstats
path: root/src/shared/ResourceImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/shared/ResourceImpl.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/ResourceImpl.cpp')
-rw-r--r--src/shared/ResourceImpl.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp
index 8b8a56ec..8bfa39d3 100644
--- a/src/shared/ResourceImpl.cpp
+++ b/src/shared/ResourceImpl.cpp
@@ -26,7 +26,6 @@ using namespace Raul;
namespace Ingen {
namespace Shared {
-
void
ResourceImpl::add_property(const Raul::URI& uri, const Raul::Atom& value)
{
@@ -40,7 +39,6 @@ ResourceImpl::add_property(const Raul::URI& uri, const Raul::Atom& value)
_properties.insert(make_pair(uri, value));
}
-
Raul::Atom&
ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value)
{
@@ -48,7 +46,6 @@ ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value)
return _properties.insert(make_pair(uri, value))->second;
}
-
void
ResourceImpl::remove_property(const Raul::URI& uri, const Raul::Atom& value)
{
@@ -65,7 +62,6 @@ ResourceImpl::remove_property(const Raul::URI& uri, const Raul::Atom& value)
}
}
-
bool
ResourceImpl::has_property(const Raul::URI& uri, const Raul::Atom& value) const
{
@@ -78,14 +74,12 @@ ResourceImpl::has_property(const Raul::URI& uri, const Raul::Atom& value) const
return false;
}
-
Raul::Atom&
ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value) const
{
return const_cast<ResourceImpl*>(this)->set_property(uri, value);
}
-
const Raul::Atom&
ResourceImpl::get_property(const Raul::URI& uri) const
{
@@ -94,7 +88,6 @@ ResourceImpl::get_property(const Raul::URI& uri) const
return (i != _properties.end()) ? i->second : nil;
}
-
bool
ResourceImpl::type(
const LV2URIMap& uris,
@@ -156,7 +149,6 @@ ResourceImpl::type(
}
}
-
void
ResourceImpl::set_properties(const Properties& p)
{
@@ -167,7 +159,6 @@ ResourceImpl::set_properties(const Properties& p)
add_property(i->first, i->second);
}
-
void
ResourceImpl::add_properties(const Properties& p)
{
@@ -176,7 +167,6 @@ ResourceImpl::add_properties(const Properties& p)
add_property(i->first, i->second);
}
-
void
ResourceImpl::remove_properties(const Properties& p)
{
@@ -196,7 +186,6 @@ ResourceImpl::remove_properties(const Properties& p)
}
}
-
void
ResourceImpl::dump(std::ostream& os) const
{
@@ -208,7 +197,6 @@ ResourceImpl::dump(std::ostream& os) const
os << "]" << endl;
}
-
Resource::Properties
ResourceImpl::properties(Resource::Graph ctx) const
{