Instantiate the class defined in the interface file.
Definition at line 265 of file template_instantiator.py.
def gtwrap.template_instantiator.InstantiatedClass.__init__ |
( |
|
self, |
|
|
|
original |
|
) |
| |
def gtwrap.template_instantiator.InstantiatedClass.__repr__ |
( |
|
self | ) |
|
def gtwrap.template_instantiator.InstantiatedClass.cpp_class |
( |
|
self | ) |
|
def gtwrap.template_instantiator.InstantiatedClass.cpp_typename |
( |
|
self | ) |
|
def gtwrap.template_instantiator.InstantiatedClass.instantiate_class_templates_in_methods |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
This function only instantiates the class-level templates in the methods.
Template methods are instantiated in InstantiatedMethod in the second
round.
E.g.
```
template<T={string}>
class Greeter{
void sayHello(T& name);
};
Args:
typenames: List of template types to instantiate.
Return: List of methods instantiated with provided template args on the class.
Definition at line 408 of file template_instantiator.py.
def gtwrap.template_instantiator.InstantiatedClass.instantiate_ctors |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate the class constructors.
Args:
typenames: List of template types to instantiate.
Return: List of constructors instantiated with provided template args.
Definition at line 354 of file template_instantiator.py.
def gtwrap.template_instantiator.InstantiatedClass.instantiate_operators |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate the class-level template in the operator overload.
Args:
typenames: List of template types to instantiate.
Return: List of methods instantiated with provided template args on the class.
Definition at line 450 of file template_instantiator.py.
def gtwrap.template_instantiator.InstantiatedClass.instantiate_properties |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate the class properties.
Args:
typenames: List of template types to instantiate.
Return: List of properties instantiated with provided template args.
Definition at line 483 of file template_instantiator.py.
def gtwrap.template_instantiator.InstantiatedClass.instantiate_static_methods |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate static methods in the class.
Args:
typenames: List of template types to instantiate.
Return: List of static methods instantiated with provided template args.
Definition at line 380 of file template_instantiator.py.
gtwrap.template_instantiator.InstantiatedClass.ctors |
gtwrap.template_instantiator.InstantiatedClass.enums |
gtwrap.template_instantiator.InstantiatedClass.instantiations |
gtwrap.template_instantiator.InstantiatedClass.is_virtual |
gtwrap.template_instantiator.InstantiatedClass.methods |
gtwrap.template_instantiator.InstantiatedClass.name |
gtwrap.template_instantiator.InstantiatedClass.operators |
gtwrap.template_instantiator.InstantiatedClass.original |
gtwrap.template_instantiator.InstantiatedClass.parent |
gtwrap.template_instantiator.InstantiatedClass.parent_class |
gtwrap.template_instantiator.InstantiatedClass.properties |
gtwrap.template_instantiator.InstantiatedClass.static_methods |
gtwrap.template_instantiator.InstantiatedClass.template |
The documentation for this class was generated from the following file: