Skip to content

IVI-C Data Model

This is the data available to layout templates for IVI-C drivers. See the overview for conventions and the shared sub-context shapes. Properties marked HTML are pre-formatted — render them with the triple brace. IVI-C syntax contexts provide C: syntax.code.

Branch reference (branch) and Library reference (library): name, link.

Parameter (items of parameters, for functions and callbacks):

PropertyTypeDescription
nametextParameter name.
descriptiontextHelp summary.
typetextC type.
typeHtmlHTMLC type, linked.
directiontextIn, Out, or InOut.
modifiertext[in], [out], or [in,out].
isArray, isOut, isRepCapIdentifierboolParameter flags.

Defined values (definedValues, the enum values valid for a parameter or return value): each section has parameterKind (Parameter or Return Value), parameterName, and items where each item has prefixedName, value, description.

Member summary (items of functions, attributes, callbacks, childBranches): name, prefixedName, link, summary.

PropertyTypeDescription
name, prefixedNametextFunction name, and the full prefixed name.
treeNodePathtextLocation in the driver tree.
summary, linktextSummary and link.
parameters / hasParameterssection / boolParameters (items) and a flag.
definedValueslistDefined-value sections for enum parameters.
commands / hasCommandsobject / boolInstrument commands (isSingle, command, items) and a flag.
supportedModelsobjectMulti-model support (models).
branch, libraryrefsParent branch and library.
syntaxobjectsyntax.code (HTML, the C signature).
errorsWarningsLinktextLink to the errors-and-warnings page.
customFieldsobjectAuthored content.
PropertyTypeDescription
name, prefixedNametextAttribute name, and the full prefixed name.
treeNodePathtextLocation in the driver tree.
summary, linktextSummary and link.
attributeIdtextAttribute ID in hex.
constantName, constantValuetextConstant name and decimal value.
accesstextRead/Write, Read Only, or Write Only.
type, typeNametextFormatted C type and raw type name.
definedValuesobjectDefined values for an enum-typed attribute (items).
parameterssectionParameters from the accessor signatures.
commandsobjectInstrument commands (isSingle, command, items).
rangesobjectContinuous range (isSingle, description, items).
discreteValuesobjectDiscrete values (items).
supportedModelsobjectMulti-model support (models).
branch, libraryrefsParent branch and library.
syntaxobjectsyntax.code (HTML), plus syntax.getter / syntax.setter (each with code).
customFieldsobjectAuthored content (incl. units).
PropertyTypeDescription
name, prefixedName, summary, linktextIdentity, summary, link.
parameterssectionCallback parameters.
returnValueobjectReturn value (type, typeHtml (HTML), description); null if void.
definedValueslistDefined-value sections for enum parameters/return.
libraryrefLibrary.
syntaxobjectsyntax.code (HTML, the typedef).
customFieldsobjectAuthored content.
PropertyTypeDescription
name, link, summarytextIdentity and summary.
childBranches, functions, attributessectionListings (items of member summary; null if empty).
libraryrefLibrary.
customFieldsobjectAuthored content.
PropertyTypeDescription
name, summarytextIdentity and summary.
syntaxHTMLC declaration (the #define list).
memberslistEach member: prefixedName, value, description (also summary).
libraryrefLibrary.
customFieldsobjectAuthored content.
PropertyTypeDescription
name, summarytextLibrary prefix and summary.
functions, attributes, callbackssectionListings (items of member summary; null if empty).
customFieldsobjectAuthored content.
PropertyTypeDescription
errors, warningssectionEach items entry: prefixedName, hexValue, decimalValue, message.
libraryrefLibrary.