Public Member Functions | Public Attributes | List of all members
gtwrap.template_instantiator.helpers.InstantiationHelper Class Reference

Public Member Functions

def __init__
 
def instantiate
 
def multilevel_instantiation
 

Public Attributes

 instantiation_type
 

Detailed Description

Helper class for instantiation templates.
Requires that `instantiation_type` defines a class method called
`construct` to generate the appropriate object type.

Signature for `construct` should be
```
    construct(method,
              typenames,
              class_instantiations,
              method_instantiations,
              instantiated_args,
              parent=parent)
```

Definition at line 215 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.template_instantiator.helpers.InstantiationHelper.__init__ (   self,
  instantiation_type 
)

Definition at line 231 of file helpers.py.

Member Function Documentation

◆ instantiate()

def gtwrap.template_instantiator.helpers.InstantiationHelper.instantiate (   self,
  instantiated_methods 
)

Definition at line 234 of file helpers.py.

◆ multilevel_instantiation()

def gtwrap.template_instantiator.helpers.InstantiationHelper.multilevel_instantiation (   self,
  methods_list 
)

Definition at line 258 of file helpers.py.

Member Data Documentation

◆ instantiation_type

gtwrap.template_instantiator.helpers.InstantiationHelper.instantiation_type

Definition at line 232 of file helpers.py.


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


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