From 41a3a7891b94628cf37cc3e1412be63f12b6f674 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 May 2009 14:48:27 +0000 Subject: Remove single property SetMetadataEvent constructor. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2020 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/SetMetadataEvent.hpp | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'src/engine/events/SetMetadataEvent.hpp') diff --git a/src/engine/events/SetMetadataEvent.hpp b/src/engine/events/SetMetadataEvent.hpp index e43b1e9f..92b540ff 100644 --- a/src/engine/events/SetMetadataEvent.hpp +++ b/src/engine/events/SetMetadataEvent.hpp @@ -30,23 +30,36 @@ class GraphObjectImpl; class PatchImpl; class CompiledPatch; +/** \page methods + *

POST

+ * As per HTTP (RFC2616 S9.5). + * + * Append properties to a graph object. + * + * An object can have several properties with a single predicate. + * POST appends properties without modifying or removing existing properties. + */ -/** An event to set a piece of variable for an GraphObjectImpl. +/** \page methods + *

PUT

+ * As per HTTP (RFC2616 S9.6). + * + * Set properties of a graph object, or create an object. * + * An object can have several properties with a single predicate. + * \li If the object does not yet exist, the message must contain sufficient + * information to create the object (e.g. known rdf:type properties, etc.) + * \li If the object does exist, a PUT removes all existing object properties + * with predicates that match any property in the message, then adds all + * properties from the message. + */ + +/** Set properties of a graph object. * \ingroup engine */ class SetMetadataEvent : public QueuedEvent { public: - SetMetadataEvent( - Engine& engine, - SharedPtr responder, - SampleCount timestamp, - bool meta, - const Raul::URI& subject, - const Raul::URI& key, - const Raul::Atom& value); - SetMetadataEvent( Engine& engine, SharedPtr responder, -- cgit v1.2.1