From 820aa9d69bf05d978bfed403eb40e5f44fc5615c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Oct 2011 04:21:55 +0000 Subject: Remove use of old urn:struct explicit links since we have larsl's fancy automagic linking now. --- ext/atom.lv2/atom.ttl | 69 ++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 37 deletions(-) (limited to 'ext/atom.lv2') diff --git a/ext/atom.lv2/atom.ttl b/ext/atom.lv2/atom.ttl index 64c2ae7..ed7e664 100644 --- a/ext/atom.lv2/atom.ttl +++ b/ext/atom.lv2/atom.ttl @@ -73,17 +73,16 @@ 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.

+

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

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

The type field is the URI of a subclass of Atom mapped to an integer using the URI Map -extension's LV2_URI_Map_Feature::uri_to_id with +extension's LV2_URI_Map_Feature::uri_to_id() with map = "http://lv2plug.in/ns/ext/event". If a plugin or host does not understand type, that atom SHOULD be gracefully ignored (or copied if it does not have type 0).

@@ -166,10 +165,9 @@ atom:ID rdfs:subClassOf atom:Atom ; 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 -LV2_URI_Map_Feature::uri_to_id -with map = NULL. +An unsigned 32-bit integer mapped from a URI using the URI Map extension's +LV2_URI_Map_Feature::uri_to_id() with map = NULL. """ . atom:BlankID @@ -190,11 +188,11 @@ atom:Vector lv2:documentation """

A homogeneous sequence of atoms with equivalent type and size.

-

An LV2_Atom_Vector is a -16-bit elem_count and elem_type followed -by elem_count atom bodies of type elem_type. -The element type must be a fixed size Atom type, i.e. the -size of each element is the vector's size / elem_count.

+

An LV2_Atom_Vector is a 16-bit elem_count and +elem_type followed by elem_count atom bodies of type +elem_type. The element type must be a fixed size Atom type, i.e. the size of each element is the vector's +size / elem_count.

For example, an atom:Vector containing 42 elements of type atom:Float looks like this in memory:

@@ -239,8 +237,7 @@ atom:Property rdfs:label "Property of an Object" ; lv2:documentation """ A single property of some Object. An -LV2_Atom_Property -has an ID key and +LV2_Atom_Property has an ID key and Atom value. """ . @@ -249,23 +246,22 @@ atom:Object rdfs:subClassOf atom:Atom ; rdfs:label "Object" ; lv2:documentation """ -

Abstract base class for an "Object", i.e. an Atom -with a number of properties. An LV2_Object is an unsigned 32-bit -integer context and id followed by a sequence of -properties.

+

Abstract base class for an "Object", i.e. an Atom with a +number of properties. An LV2_Object is an unsigned +32-bit integer context and id followed by a sequence +of LV2_Atom_Property .

The context is mapped using the URI Map extension's LV2_URI_Map_Feature::uri_to_id -with map = NULL, and may be 0 (the default context).

- -

Note this is an abstract class, i.e. no Atom can exist with -type = uri_to_id(atom:Object). An Object is -either a Resource or a Blank, but the body always has the -same binary format. Thus, both named and anonymous objects can be handled -with common code using only a 64-bit header for both.

+href="http://lv2plug.in/ns/ext/uri-map">URI Map extension's +LV2_URI_Map_Feature::uri_to_id() with map = NULL, and may be 0 +(the default context).

+ +

Note this is an abstract class, i.e. no Atom can exist with type = +uri_to_id(atom:Object). An Object is either a Resource or a Blank, but the +body always has the same binary format, LV2_Object. Thus, both +named and anonymous objects can be handled with common code using only a 64-bit +header for both.

""" . atom:Resource @@ -344,10 +340,9 @@ atom:blobSupport rdfs:label "Blob support" ; lv2:documentation """ Support for dynamically allocated blobs. If a host supports this feature, it -MUST pass a LV2_Feature with -URI http://lv2plug.in/ns/ext/atom#blobSupport -and data pointing to a LV2_Blob_Support. +MUST pass a LV2_Feature with URI +http://lv2plug.in/ns/ext/atom#blobSupport and data pointing to a +LV2_Blob_Support. """ . atom:AtomPort @@ -356,8 +351,8 @@ atom:AtomPort 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 -immediately followed by size bytes of data.

+be connected to a 32-bit aligned LV2_Atom immediately followed by +size bytes of data.

This is an abstract port type, i.e. a port MUST NOT only be an AtomPort, but must be a more descriptive type that is a subclass of AtomPort which -- cgit v1.2.1