clibgen.ConstructorDefinition Class
Namespace: clibgen
Definition for MATLAB function corresponding to C++ class constructor
Description
The clibgen.ConstructorDefinition
class contains the MATLAB® definition for a constructor defined in the header of a C++ class.
The clibgen.ConstructorDefinition
class is a handle
class.
Creation
MATLAB constructs a ConstructorDefinition
object when MATLAB calls addConstructor
on a
clibgen.ClassDefinition
object.
Properties
Description
— Help text
string | character vector
Help text for the end user describing the constructor, specified as a string or a character vector. The default text is:
DefiningClass.MATLABName.DefiningClass.CPPName Constructor of C++ class DefiningClass.CPPName.
The publisher can modify the value of the Description
property
in the library definition file.
Attributes:
GetAccess | public |
SetAccess | public |
DetailedDescription
— Help text from C++ header file
string | character vector | empty string
Help text from C++ header file for the end user describing details about the
constructor, specified as a string or a character vector. If the C++ comment does not
contain detailed information, then DetailedDescription
does not
appear in the definition file.
The publisher can modify the value of the DetailedDescription
property in the library definition file. If DetailedDescription
is
not empty, then the MATLAB
doc
command displays this sentence before displaying the value of
DetailedDescription
.
This content is from the external library documentation.
Attributes:
GetAccess | public |
SetAccess | public |
CPPSignature
— C++ constructor signature
string | character vector
C++ constructor signature, specified as a string or a character vector. MATLAB creates CPPSignature
from the class definition in the
header file.
Attributes:
GetAccess | public |
SetAccess | private |
DefiningClass
— Class containing constructor
clibgen.ClassDefinition
Class containing the constructor, specified as a clibgen.ClassDefinition
object.
Attributes:
GetAccess | public |
SetAccess | private |
MATLABSignature
— Constructor signature in MATLAB
string | character vector
Constructor signature in MATLAB, specified as a string or a character vector. MATLAB creates this signature.
Attributes:
GetAccess | public |
SetAccess | private |
Dependent | true |
Valid
— Definition complete indicator
false
(default) | true
Indicate if constructor definition is complete, specified as true
or false
.
Attributes:
GetAccess | public |
SetAccess | private |
Methods
Public Methods
defineArgument | Add input argument definition for C++ constructor |
validate | Validate C++ constructor definition |
Version History
Introduced in R2019a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)