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

Public Member Functions

def __init__ (self, ParseResults t)
 

Public Attributes

 typename
 

Static Public Attributes

 rule
 

Detailed Description

Basic types are the fundamental built-in types in C++ such as double, int, char, etc.

When using templates, the basic type will take on the same form as the template.

E.g.
```
template<T = {double}>
void func(const T& x);
```

will give

```
m_.def("funcDouble",[](const double& x){
    ::func<double>(x);
}, py::arg("x"));
```

Definition at line 112 of file type.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.type.BasicType.__init__ (   self,
ParseResults  t 
)

Definition at line 135 of file type.py.

Member Data Documentation

◆ rule

gtwrap.interface_parser.type.BasicType.rule
static

Definition at line 133 of file type.py.

◆ typename

gtwrap.interface_parser.type.BasicType.typename

Definition at line 136 of file type.py.


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


gtsam
Author(s):
autogenerated on Mon Jul 1 2024 03:15:17