Public Member Functions | Public Attributes | List of all members
gtwrap.template_instantiator.function.InstantiatedGlobalFunction Class Reference
Inheritance diagram for gtwrap.template_instantiator.function.InstantiatedGlobalFunction:
Inheritance graph
[legend]

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
 

Detailed Description

Instantiate global functions.

E.g.
    template<T = {double}>
    T add(const T& x, const T& y);

Definition at line 9 of file template_instantiator/function.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.template_instantiator.function.InstantiatedGlobalFunction.__init__ (   self,
  original,
  instantiations = (),
  new_name = '' 
)

Definition at line 17 of file template_instantiator/function.py.

Member Function Documentation

◆ __repr__()

def gtwrap.template_instantiator.function.InstantiatedGlobalFunction.__repr__ (   self)

Definition at line 67 of file template_instantiator/function.py.

◆ to_cpp()

def gtwrap.template_instantiator.function.InstantiatedGlobalFunction.to_cpp (   self)
Generate the C++ code for wrapping.

Definition at line 54 of file template_instantiator/function.py.

Member Data Documentation

◆ args

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.args

Definition at line 26 of file template_instantiator/function.py.

◆ instantiations

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.instantiations

Definition at line 19 of file template_instantiator/function.py.

◆ name

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.name

Definition at line 24 of file template_instantiator/function.py.

◆ original

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.original

Definition at line 18 of file template_instantiator/function.py.

◆ parent

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.parent

Definition at line 21 of file template_instantiator/function.py.

◆ return_type

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.return_type

Definition at line 25 of file template_instantiator/function.py.

◆ template

gtwrap.template_instantiator.function.InstantiatedGlobalFunction.template

Definition at line 20 of file template_instantiator/function.py.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:26