
Public Member Functions | |
| def | __init__ (self, original, instantiations=(), new_name='') |
| def | __repr__ (self) |
| def | to_cpp (self) |
Public Attributes | |
| args | |
| instantiations | |
| name | |
| original | |
| parent | |
| return_type | |
| template | |
Instantiate global functions.
E.g.
template<T = {double}>
T add(const T& x, const T& y);
Definition at line 145 of file template_instantiator.py.
| def gtwrap.template_instantiator.InstantiatedGlobalFunction.__init__ | ( | self, | |
| original, | |||
instantiations = (), |
|||
new_name = '' |
|||
| ) |
Definition at line 153 of file template_instantiator.py.
| def gtwrap.template_instantiator.InstantiatedGlobalFunction.__repr__ | ( | self | ) |
Definition at line 202 of file template_instantiator.py.
| def gtwrap.template_instantiator.InstantiatedGlobalFunction.to_cpp | ( | self | ) |
Generate the C++ code for wrapping.
Definition at line 190 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.args |
Definition at line 162 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.instantiations |
Definition at line 155 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.name |
Definition at line 160 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.original |
Definition at line 154 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.parent |
Definition at line 157 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.return_type |
Definition at line 161 of file template_instantiator.py.
| gtwrap.template_instantiator.InstantiatedGlobalFunction.template |
Definition at line 156 of file template_instantiator.py.