LV2  1.0.13
Data Fields
LV2_Options_Option Struct Reference

An option. More...

Data Fields

LV2_Options_Context context
 Context (type of subject). More...
 
uint32_t subject
 Subject. More...
 
LV2_URID key
 Key (property). More...
 
uint32_t size
 Size of value in bytes. More...
 
LV2_URID type
 Type of value (datatype). More...
 
const void * value
 Pointer to value (object). More...
 

Detailed Description

An option.

This is a property with a subject, also known as a triple or statement.

This struct is useful anywhere a statement needs to be passed where no memory ownership issues are present (since the value is a const pointer).

Options can be passed to an instance via the feature LV2_OPTIONS__options with data pointed to an array of options terminated by a zeroed option, or accessed/manipulated using LV2_Options_Interface.

Field Documentation

LV2_Options_Context LV2_Options_Option::context

Context (type of subject).

uint32_t LV2_Options_Option::subject

Subject.

LV2_URID LV2_Options_Option::key

Key (property).

uint32_t LV2_Options_Option::size

Size of value in bytes.

LV2_URID LV2_Options_Option::type

Type of value (datatype).

const void* LV2_Options_Option::value

Pointer to value (object).


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