urid
type: Specification
license: isc
name: LV2 URID
shortdesc: Features for mapping URIs to and from integers.
release:
  revision: 1.1
  created: 2012-04-13
  blame: me
  changeset:
    item: Add feature struct names.
release:
  revision: 1.0
  created: 2011-11-21
  file-release: lv2-urid-1.0.tar.bz2
  blame: me
  changeset:
    item: Initial release.
created: 2011-07-22
developer: gabrbedd
maintainer: me
documentation: This extension defines a simple mechanism for plugins to map URIs to and from integers, usually for performance reasons (e.g. processing events typed by URIs in real time). Typically, plugins map URIs to integers for things they "understand" at instantiation time, and store those values for use in the audio thread without doing any string comparison. This allows for the extensibility of RDF but with the performance of integers. This extension is intended as an improved and simplified replacement for the uri-map extension, since the map context parameter has been found problematic. This extension is functionally equivalent to the uri-map extension with a NULL context. New implementations are encouraged to use this extension for URI mapping.

map
type: Feature
documentation: A feature which is used to map URIs to integers. To support this feature, the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI LV2_URID__map and data pointed to an instance of LV2_URID_Map.

unmap
type: Feature
documentation: A feature which is used to unmap URIs previously mapped to integers by urid:map. To support this feature, the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI LV2_URID__unmapl and data pointed to an instance of LV2_URID_Unmap.