Main Content

clibgen.FunctionTypeDefinition class

Package: clibgen

Definition for MATLAB function type corresponding to C++ function type

Description

Use a FunctionTypeDefinition object to represent function types std::function and C function pointer arguments in the C++ library.

The clibgen.FunctionTypeDefinition class is a handle class.

Creation

MATLAB® constructs a FunctionTypeDefinition object when MATLAB calls addFunctionType on a clibgen.LibraryDefinition object.

Properties

expand all

Help text for the end user describing the opaque type, specified as a string or a character vector. The publisher can modify the value of the Description property in the library definition file.

Example:

Attributes:

GetAccess
public
SetAccess
public

Opaque type signature, specified as a string or a character vector.

Example:

Attributes:

GetAccess
public
SetAccess
private

Opaque type name in MATLAB, specified as a string or a character vector.

Attributes:

GetAccess
public
SetAccess
private

Library defining the opaque type, specified as a clibgen.LibraryDefinition object.

Attributes:

GetAccess
public
SetAccess
private
Introduced in R2021a