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

Public Member Functions

def __init__
 
def __repr__ (self)
 
def construct (cls, original, typenames, class_instantiations, method_instantiations, instantiated_args, parent)
 
def to_cpp (self)
 

Public Attributes

 args
 
 instantiations
 
 is_const
 
 name
 
 original
 
 parent
 
 return_type
 
 template
 

Detailed Description

Instantiate method with template parameters.

E.g.
class A {
    template<X, Y>
    void func(X x, Y y);
}

Definition at line 10 of file method.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.template_instantiator.method.InstantiatedMethod.__init__ (   self,
  original 
)

Definition at line 21 of file method.py.

Member Function Documentation

◆ __repr__()

def gtwrap.template_instantiator.method.InstantiatedMethod.__repr__ (   self)

Definition at line 69 of file method.py.

◆ construct()

def gtwrap.template_instantiator.method.InstantiatedMethod.construct (   cls,
  original,
  typenames,
  class_instantiations,
  method_instantiations,
  instantiated_args,
  parent 
)
Class method to construct object as required by InstantiationHelper.

Definition at line 42 of file method.py.

◆ to_cpp()

def gtwrap.template_instantiator.method.InstantiatedMethod.to_cpp (   self)
Generate the C++ code for wrapping.

Definition at line 57 of file method.py.

Member Data Documentation

◆ args

gtwrap.template_instantiator.method.InstantiatedMethod.args

Definition at line 31 of file method.py.

◆ instantiations

gtwrap.template_instantiator.method.InstantiatedMethod.instantiations

Definition at line 24 of file method.py.

◆ is_const

gtwrap.template_instantiator.method.InstantiatedMethod.is_const

Definition at line 26 of file method.py.

◆ name

gtwrap.template_instantiator.method.InstantiatedMethod.name

Definition at line 29 of file method.py.

◆ original

gtwrap.template_instantiator.method.InstantiatedMethod.original

Definition at line 23 of file method.py.

◆ parent

gtwrap.template_instantiator.method.InstantiatedMethod.parent

Definition at line 27 of file method.py.

◆ return_type

gtwrap.template_instantiator.method.InstantiatedMethod.return_type

Definition at line 30 of file method.py.

◆ template

gtwrap.template_instantiator.method.InstantiatedMethod.template

Definition at line 25 of file method.py.


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


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