Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
gtwrap.matlab_wrapper.mixins.CheckMixin Class Reference
Inheritance diagram for gtwrap.matlab_wrapper.mixins.CheckMixin:
Inheritance graph
[legend]

Public Member Functions

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)
 

Static Public Attributes

 list
 
 Tuple
 

Private Member Functions

def _has_serialization (self, cls)
 

Detailed Description

Mixin to provide various checks.

Definition at line 9 of file mixins.py.

Member Function Documentation

◆ _has_serialization()

def gtwrap.matlab_wrapper.mixins.CheckMixin._has_serialization (   self,
  cls 
)
private

Definition at line 23 of file mixins.py.

◆ 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.

Member Data Documentation

◆ list

gtwrap.matlab_wrapper.mixins.CheckMixin.list
static

Definition at line 21 of file mixins.py.

◆ Tuple

gtwrap.matlab_wrapper.mixins.CheckMixin.Tuple
static

Definition at line 12 of file mixins.py.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:45