Instantiate the class defined in the interface file.
Definition at line 14 of file template_instantiator/classes.py.
◆ __init__()
| def gtwrap.template_instantiator.classes.InstantiatedClass.__init__ |
( |
|
self, |
|
|
parser.Class |
original, |
|
|
|
instantiations = (), |
|
|
|
new_name = '' |
|
) |
| |
◆ __repr__()
| def gtwrap.template_instantiator.classes.InstantiatedClass.__repr__ |
( |
|
self | ) |
|
◆ cpp_typename()
| def gtwrap.template_instantiator.classes.InstantiatedClass.cpp_typename |
( |
|
self | ) |
|
◆ instantiate_ctors()
| def gtwrap.template_instantiator.classes.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 108 of file template_instantiator/classes.py.
◆ instantiate_methods()
| def gtwrap.template_instantiator.classes.InstantiatedClass.instantiate_methods |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate regular methods in the class.
Args:
typenames: List of template types to instantiate.
Return: List of methods instantiated with provided template args.
Definition at line 143 of file template_instantiator/classes.py.
◆ instantiate_operators()
| def gtwrap.template_instantiator.classes.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 161 of file template_instantiator/classes.py.
◆ instantiate_parent_class()
| def gtwrap.template_instantiator.classes.InstantiatedClass.instantiate_parent_class |
( |
|
self, |
|
|
|
typenames |
|
) |
| |
Instantiate the inherited parent names.
Args:
typenames: List of template types to instantiate.
Return: List of constructors instantiated with provided template args.
Definition at line 91 of file template_instantiator/classes.py.
◆ instantiate_properties()
| def gtwrap.template_instantiator.classes.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 194 of file template_instantiator/classes.py.
◆ instantiate_static_methods()
| def gtwrap.template_instantiator.classes.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 126 of file template_instantiator/classes.py.
◆ to_cpp()
| def gtwrap.template_instantiator.classes.InstantiatedClass.to_cpp |
( |
|
self | ) |
|
◆ ctors
| gtwrap.template_instantiator.classes.InstantiatedClass.ctors |
◆ dunder_methods
| gtwrap.template_instantiator.classes.InstantiatedClass.dunder_methods |
◆ enums
| gtwrap.template_instantiator.classes.InstantiatedClass.enums |
◆ instantiations
| gtwrap.template_instantiator.classes.InstantiatedClass.instantiations |
◆ is_virtual
| gtwrap.template_instantiator.classes.InstantiatedClass.is_virtual |
◆ methods
| gtwrap.template_instantiator.classes.InstantiatedClass.methods |
◆ name
| gtwrap.template_instantiator.classes.InstantiatedClass.name |
◆ operators
| gtwrap.template_instantiator.classes.InstantiatedClass.operators |
◆ original
| gtwrap.template_instantiator.classes.InstantiatedClass.original |
◆ parent
| gtwrap.template_instantiator.classes.InstantiatedClass.parent |
◆ parent_class
| gtwrap.template_instantiator.classes.InstantiatedClass.parent_class |
◆ properties
| gtwrap.template_instantiator.classes.InstantiatedClass.properties |
◆ static_methods
| gtwrap.template_instantiator.classes.InstantiatedClass.static_methods |
◆ template
| gtwrap.template_instantiator.classes.InstantiatedClass.template |
The documentation for this class was generated from the following file: