|
def | can_be_pointer (self, parser.Type arg_type) |
|
def | is_class_enum (self, parser.Type arg_type, parser.Class class_) |
|
def | is_enum (self, parser.Type arg_type, parser.Class class_) |
|
def | is_global_enum (self, parser.Type arg_type, parser.Class class_) |
|
def | is_ptr (self, parser.Type arg_type) |
|
def | is_ref (self, parser.Type arg_type) |
|
def | is_shared_ptr (self, parser.Type arg_type) |
|
Mixin to provide various checks.
Definition at line 9 of file mixins.py.
◆ _has_serialization()
def gtwrap.matlab_wrapper.mixins.CheckMixin._has_serialization |
( |
|
self, |
|
|
|
cls |
|
) |
| |
|
private |
◆ can_be_pointer()
def gtwrap.matlab_wrapper.mixins.CheckMixin.can_be_pointer |
( |
|
self, |
|
|
parser.Type |
arg_type |
|
) |
| |
Determine if the `arg_type` can have a pointer to it.
E.g. `Pose3` can have `Pose3*` but
`Matrix` should not have `Matrix*`.
Definition at line 29 of file mixins.py.
◆ is_class_enum()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_class_enum |
( |
|
self, |
|
|
parser.Type |
arg_type, |
|
|
parser.Class |
class_ |
|
) |
| |
Check if arg_type is an enum in the class `class_`.
Definition at line 63 of file mixins.py.
◆ is_enum()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_enum |
( |
|
self, |
|
|
parser.Type |
arg_type, |
|
|
parser.Class |
class_ |
|
) |
| |
Check if `arg_type` is an enum.
Definition at line 83 of file mixins.py.
◆ is_global_enum()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_global_enum |
( |
|
self, |
|
|
parser.Type |
arg_type, |
|
|
parser.Class |
class_ |
|
) |
| |
Check if arg_type is a global enum.
Definition at line 71 of file mixins.py.
◆ is_ptr()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_ptr |
( |
|
self, |
|
|
parser.Type |
arg_type |
|
) |
| |
Determine if the `interface_parser.Type` should be treated as a
raw pointer in the wrapper.
Definition at line 47 of file mixins.py.
◆ is_ref()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_ref |
( |
|
self, |
|
|
parser.Type |
arg_type |
|
) |
| |
Determine if the `interface_parser.Type` should be treated as a
reference in the wrapper.
Definition at line 54 of file mixins.py.
◆ is_shared_ptr()
def gtwrap.matlab_wrapper.mixins.CheckMixin.is_shared_ptr |
( |
|
self, |
|
|
parser.Type |
arg_type |
|
) |
| |
Determine if the `interface_parser.Type` should be treated as a
shared pointer in the wrapper.
Definition at line 40 of file mixins.py.
◆ list
gtwrap.matlab_wrapper.mixins.CheckMixin.list |
|
static |
◆ Tuple
gtwrap.matlab_wrapper.mixins.CheckMixin.Tuple |
|
static |
The documentation for this class was generated from the following file: