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 | |
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.
def gtwrap.template_instantiator.constructor.InstantiatedConstructor.__init__ | ( | self, | |
parser.Constructor | original, | ||
Iterable[parser.Typename] | instantiations = () |
||
) |
Definition at line 20 of file constructor.py.
def gtwrap.template_instantiator.constructor.InstantiatedConstructor.__repr__ | ( | self | ) |
Definition at line 63 of file constructor.py.
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.
def gtwrap.template_instantiator.constructor.InstantiatedConstructor.to_cpp | ( | self | ) |
Generate the C++ code for wrapping.
Definition at line 51 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.args |
Definition at line 24 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.instantiations |
Definition at line 22 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.name |
Definition at line 23 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.original |
Definition at line 21 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.parent |
Definition at line 26 of file constructor.py.
gtwrap.template_instantiator.constructor.InstantiatedConstructor.template |
Definition at line 25 of file constructor.py.