Public Member Functions | Public Attributes | List of all members
gtwrap.template_instantiator.InstantiatedGlobalFunction Class Reference
Inheritance diagram for gtwrap.template_instantiator.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 145 of file template_instantiator.py.

Constructor & Destructor Documentation

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

Definition at line 153 of file template_instantiator.py.

Member Function Documentation

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.

Member Data Documentation

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.


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


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