From 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 19:02:36 +0000 Subject: Squeeze blank lines and delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/ResourceImpl.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/shared/ResourceImpl.cpp') 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(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 { -- cgit v1.2.1