Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gtwrap.interface_parser.type.TemplatedType Class Reference

Public Member Functions

def __init__ (self, Typename typename, List[Type] template_params, str is_const, str is_shared_ptr, str is_ptr, str is_ref)
 
def __repr__ (self)
 
def to_cpp (self)
 

Static Public Member Functions

def from_parse_result (ParseResults t)
 

Public Attributes

 is_const
 
 is_ptr
 
 is_ref
 
 is_shared_ptr
 
 template_params
 
 typename
 

Static Public Attributes

 rule
 

Detailed Description

Parser rule for data types which are templated.
This is done so that the template parameters can be pointers/references.

E.g. std::vector<double>, BearingRange<Pose3, Point3>

Definition at line 248 of file type.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.type.TemplatedType.__init__ (   self,
Typename  typename,
List[Type template_params,
str  is_const,
str  is_shared_ptr,
str  is_ptr,
str  is_ref 
)

Definition at line 269 of file type.py.

Member Function Documentation

◆ __repr__()

def gtwrap.interface_parser.type.TemplatedType.__repr__ (   self)

Definition at line 289 of file type.py.

◆ from_parse_result()

def gtwrap.interface_parser.type.TemplatedType.from_parse_result ( ParseResults  t)
static
Get the TemplatedType from the parser results.

Definition at line 284 of file type.py.

◆ to_cpp()

def gtwrap.interface_parser.type.TemplatedType.to_cpp (   self)
Generate the C++ code for wrapping.

Definition at line 293 of file type.py.

Member Data Documentation

◆ is_const

gtwrap.interface_parser.type.TemplatedType.is_const

Definition at line 277 of file type.py.

◆ is_ptr

gtwrap.interface_parser.type.TemplatedType.is_ptr

Definition at line 279 of file type.py.

◆ is_ref

gtwrap.interface_parser.type.TemplatedType.is_ref

Definition at line 280 of file type.py.

◆ is_shared_ptr

gtwrap.interface_parser.type.TemplatedType.is_shared_ptr

Definition at line 278 of file type.py.

◆ rule

gtwrap.interface_parser.type.TemplatedType.rule
static

Definition at line 256 of file type.py.

◆ template_params

gtwrap.interface_parser.type.TemplatedType.template_params

Definition at line 275 of file type.py.

◆ typename

gtwrap.interface_parser.type.TemplatedType.typename

Definition at line 272 of file type.py.


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


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:14:33