Protected Member Functions
LV2::URIMap::I Struct Reference

#include <lv2types.hpp>

Inherits LV2::Extension< Required >.

List of all members.

Protected Member Functions

uint32_t uri_to_id (const char *map, const char *uri) const

Detailed Description

This is the type that your plugin or GUI class will inherit when you use the FixedBufSize mixin. The public and protected members defined here will be available in your plugin class.


Member Function Documentation

uint32_t LV2::URIMap::I::uri_to_id ( const char *  map,
const char *  uri 
) const [inline, protected]

This returns a numeric identifier for a given URI and map. This is used for e.g. getting numeric IDs for event types specified by URIs. A return value of 0 should be considered to mean that the URI you passed is not supported by the host.

Parameters:
mapAn URI to be used as namespace.
uriThe URI that you want to map to a numeric ID.

The documentation for this struct was generated from the following file: