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

Public Member Functions

def __init__
 

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 basis type will take on the same form as the template.

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

will give

```
m_.def("CoolFunctionDoubleDouble",[](const double& s) {
    return wrap_example::CoolFunction<double,double>(s);
}, py::arg("s"));
```

Definition at line 110 of file type.py.

Constructor & Destructor Documentation

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

Definition at line 133 of file type.py.

Member Data Documentation

gtwrap.interface_parser.type.BasicType.rule
static

Definition at line 131 of file type.py.

gtwrap.interface_parser.type.BasicType.typename

Definition at line 134 of file type.py.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:59:10