From 5caadbdd38342bb3f275e89f6dcd637d37893f65 Mon Sep 17 00:00:00 2001
From: David Robillard 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).
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
.
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 withmap = 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 @@ andsize
.
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
).