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

Public Member Functions

def __init__ (self, parser.Constructor original, Iterable[parser.Typename] instantiations=())
 
def __repr__ (self)
 
def construct (cls, parser.Constructor original, List[str] typenames, List[parser.Typename] class_instantiations, List[parser.Typename] method_instantiations, List[parser.Argument] instantiated_args, 'InstantiatedClass' parent)
 
def to_cpp (self)
 

Public Attributes

 args
 
 instantiations
 
 name
 
 original
 
 parent
 
 template
 

Detailed Description

Instantiate constructor with template parameters.

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

Definition at line 10 of file constructor.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.template_instantiator.constructor.InstantiatedConstructor.__init__ (   self,
parser.Constructor  original,
Iterable[parser.Typename]   instantiations = () 
)

Definition at line 20 of file constructor.py.

Member Function Documentation

◆ __repr__()

def gtwrap.template_instantiator.constructor.InstantiatedConstructor.__repr__ (   self)

Definition at line 63 of file constructor.py.

◆ construct()

def gtwrap.template_instantiator.constructor.InstantiatedConstructor.construct (   cls,
parser.Constructor  original,
List[str typenames,
List[parser.Typename]  class_instantiations,
List[parser.Typename]  method_instantiations,
List[parser.Argument]  instantiated_args,
'InstantiatedClass parent 
)
Class method to construct object as required by InstantiationHelper.

Definition at line 36 of file constructor.py.

◆ to_cpp()

def gtwrap.template_instantiator.constructor.InstantiatedConstructor.to_cpp (   self)
Generate the C++ code for wrapping.

Definition at line 51 of file constructor.py.

Member Data Documentation

◆ args

gtwrap.template_instantiator.constructor.InstantiatedConstructor.args

Definition at line 24 of file constructor.py.

◆ instantiations

gtwrap.template_instantiator.constructor.InstantiatedConstructor.instantiations

Definition at line 22 of file constructor.py.

◆ name

gtwrap.template_instantiator.constructor.InstantiatedConstructor.name

Definition at line 23 of file constructor.py.

◆ original

gtwrap.template_instantiator.constructor.InstantiatedConstructor.original

Definition at line 21 of file constructor.py.

◆ parent

gtwrap.template_instantiator.constructor.InstantiatedConstructor.parent

Definition at line 26 of file constructor.py.

◆ template

gtwrap.template_instantiator.constructor.InstantiatedConstructor.template

Definition at line 25 of file constructor.py.


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


gtsam
Author(s):
autogenerated on Mon Jul 1 2024 03:15:17