From 5caadbdd38342bb3f275e89f6dcd637d37893f65 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Oct 2011 03:16:12 +0000 Subject: Tidy. --- ext/atom.lv2/atom.ttl | 141 ++++++++++++++++++++++++++------------------------ 1 file changed, 74 insertions(+), 67 deletions(-) (limited to 'ext/atom.lv2') diff --git a/ext/atom.lv2/atom.ttl b/ext/atom.lv2/atom.ttl index 2043fbd..9ed95c3 100644 --- a/ext/atom.lv2/atom.ttl +++ b/ext/atom.lv2/atom.ttl @@ -16,23 +16,23 @@ @prefix atom: . @prefix doap: . @prefix foaf: . -@prefix lv2: . -@prefix rdf: . +@prefix lv2: . +@prefix rdf: . @prefix rdfs: . -@prefix xsd: . +@prefix xsd: . a lv2:Specification ; doap:name "LV2 Atom" ; - doap:release [ - doap:revision "0.1" ; - doap:created "2011-04-05" - ] ; + doap:release [ + doap:revision "0.1" ; + doap:created "2011-04-05" + ] ; doap:maintainer [ a foaf:Person ; - foaf:name "David Robillard" ; + foaf:name "David Robillard" ; foaf:homepage ; - rdfs:seeAlso + rdfs:seeAlso ] ; lv2:documentation """

This extension defines a generic format for a typed piece of data, called an @@ -69,14 +69,14 @@ semantics (with respect to how the run() callback interprets the Atom).

href="http://lv2plug.in/ns/ext/uri-map">LV2 URI Map extension.

""" . - -atom:Atom a rdfs:Class ; - rdfs:label "Atom" ; +atom:Atom + a rdfs:Class ; + rdfs:label "Atom" ; lv2:documentation """

Abstract base class for all atoms. An LV2_Atom has a 16-bit type and size followed by a body.

- +

All concrete Atom types (subclasses of this class) MUST define a precise binary layout for body.

@@ -96,10 +96,10 @@ the type 0 for references, actual specification of how references are used is le to another extension.

""" . - -atom:String a rdfs:Class ; +atom:String + a rdfs:Class ; rdfs:subClassOf atom:Atom ; - rdfs:label "String" ; + rdfs:label "String" ; lv2:documentation """

A UTF-8 encoded string.

@@ -112,10 +112,10 @@ SHOULD NOT use atom:String unless translating the string does not make sense and the string has no meaningful datatype.

""" . - -atom:Literal a rdfs:Class ; +atom:Literal + a rdfs:Class ; rdfs:subClassOf atom:Atom ; - rdfs:label "String Literal" ; + rdfs:label "String Literal" ; lv2:documentation """

A UTF-8 encoded string literal, with an optional language tag or datatype.

@@ -161,10 +161,10 @@ char str[] = "<http://example.org/foo> a <http://example.org/Thi """ . - -atom:ID a rdfs:Class ; +atom:ID + a rdfs:Class ; rdfs:subClassOf atom:Atom ; - rdfs:label "Integer ID mapped from a URI" ; + rdfs:label "Integer ID mapped from a URI" ; lv2:documentation """ An unsigned 32-bit integer mapped from a URI using the URI Map extension's @@ -172,10 +172,10 @@ An unsigned 32-bit integer mapped from a URI using the with map = NULL. """ . - -atom:BlankID a rdfs:Class ; +atom:BlankID + a rdfs:Class ; rdfs:subClassOf atom:Atom ; - rdfs:label "Integer ID for a blank node" ; + rdfs:label "Integer ID for a blank node" ; lv2:documentation """ An unsigned 32-bit integer identifier for a blank node. A BlankID is only meaningful within a limited scope (e.g. the Atom in which it appears), and @@ -183,10 +183,10 @@ MUST NOT be used as a global identifier. In particular, a BlankID is NOT an ID, and can not be mapped to/from a URI. """ . - -atom:Vector a rdfs:Class ; +atom:Vector + a rdfs:Class ; rdfs:subClassOf atom:Atom ; - rdfs:label "Vector" ; + rdfs:label "Vector" ; lv2:documentation """

A homogeneous sequence of atoms with equivalent type and size.

@@ -221,8 +221,8 @@ of the vector, even by an implementation which does not understand aligned if the Vector itself is 64-bit aligned.

""" . - -atom:Tuple a rdfs:Class ; +atom:Tuple + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Tuple" ; lv2:documentation """ @@ -233,8 +233,8 @@ and size.

32 bits.

""" . - -atom:Property a rdfs:Class ; +atom:Property + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Property of an Object" ; lv2:documentation """ @@ -244,8 +244,8 @@ has an ID key and Atom value. """ . - -atom:Object a rdfs:Class ; +atom:Object + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Object" ; lv2:documentation """ @@ -268,16 +268,16 @@ same binary format. Thus, both named and anonymous objects can be handled with common code using only a 64-bit header for both.

""" . - -atom:Resource a rdfs:Class ; +atom:Resource + a rdfs:Class ; rdfs:subClassOf atom:Object ; lv2:documentation """ An Object where id is the URI of the resource mapped to an ID. """ . - -atom:Blank a rdfs:Class ; +atom:Blank + a rdfs:Class ; rdfs:subClassOf atom:Object ; lv2:documentation """ An Object where id is the blank node ID of @@ -286,8 +286,8 @@ the object, which is only meaningful within a certain limited scope In particular, id is NOT an ID. """ . - -atom:Model a rdfs:Class ; +atom:Model + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Model" ; lv2:documentation """ @@ -295,7 +295,8 @@ A description of a set of objects. In memory, a Model is simply a sequence of objects. """ . -atom:Bang a rdfs:Class ; +atom:Bang + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Bang (activity) (size = 0)" . @@ -304,27 +305,33 @@ atom:Byte rdfs:subClassOf atom:Atom ; rdfs:label "Byte (size = 1)" . -atom:Int32 a rdfs:Class ; +atom:Int32 + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Signed 32-bit integer" . - -atom:Int64 a rdfs:Class ; + +atom:Int64 + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Signed 64-bit integer" . - -atom:Bool a rdfs:Class ; + +atom:Bool + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "Signed 32-bit integer where 0 is false" . - -atom:Float a rdfs:Class ; + +atom:Float + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "32-bit IEEE-754 floating point number" . - -atom:Double a rdfs:Class ; + +atom:Double + a rdfs:Class ; rdfs:subClassOf atom:Atom ; rdfs:label "64-bit IEEE-754 floating point number" . - -atom:blobSupport a lv2:Feature ; + +atom:blobSupport + a lv2:Feature ; rdfs:label "Blob support" ; lv2:documentation """ Support for dynamically allocated blobs. If a host supports this feature, it @@ -334,10 +341,10 @@ and data pointing to a LV2_Blob_Support. """ . - -atom:AtomPort a rdfs:Class ; +atom:AtomPort + a rdfs:Class ; rdfs:subClassOf lv2:Port ; - rdfs:label "Atom Port" ; + rdfs:label "Atom Port" ; lv2:documentation """

A port which contains an Atom. Ports of this type will be connected to a 32-bit aligned LV2_Atom @@ -356,10 +363,10 @@ is no reasonable value to write to the port, the plugin MUST write NULL (the Atom with both type = 0 and size = 0).

""" . - -atom:ValuePort a rdfs:Class ; +atom:ValuePort + a rdfs:Class ; rdfs:subClassOf atom:AtomPort ; - rdfs:label "Value Port" ; + rdfs:label "Value Port" ; lv2:documentation """ An AtomPort that interprets its data as a persistent and time-independent "value". @@ -376,11 +383,11 @@ Value ports can be thought of as purely functional ports: if a plugin callback has only value ports, then the plugin callback is a pure function. """ . - -atom:MessagePort a rdfs:Class ; +atom:MessagePort + a rdfs:Class ; rdfs:subClassOf atom:AtomPort ; - rdfs:label "Message Port" ; - rdfs:comment """ + rdfs:label "Message Port" ; + rdfs:comment """ An AtomPort that "receives", "consumes", "executes", or "sends" its value. The Atom contained in a MessagePort is considered transient and/or time-dependent, and is only valid for a single run invocation. Unlike a @@ -390,14 +397,14 @@ Intuitively, a MessagePort contains a "message" or "command" or "event" which is reacted to, NOT a "value" or "signal" (which is computed with). """ . -atom:supports a rdf:Property ; - rdfs:domain lv2:Port ; - rdfs:range atom:Atom ; - rdfs:label "supports" ; +atom:supports + a rdf:Property ; + rdfs:domain lv2:Port ; + rdfs:range atom:Atom ; + rdfs:label "supports" ; lv2:documentation """ Indicates that a Port supports a certain Atom type. This is distinct from the port type - e.g. the port type ValuePort can hold atoms with many different types. This property is used to describe which Atom types a Port expects to receive or send. """ . - -- cgit v1.2.1