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

Public Member Functions

def __init__
 
def __repr__ (self)
 
def cpp_class (self)
 
def cpp_typename (self)
 
def instantiate_class_templates_in_methods (self, typenames)
 
def instantiate_ctors (self, typenames)
 
def instantiate_operators (self, typenames)
 
def instantiate_properties (self, typenames)
 
def instantiate_static_methods (self, typenames)
 

Public Attributes

 ctors
 
 enums
 
 instantiations
 
 is_virtual
 
 methods
 
 name
 
 operators
 
 original
 
 parent
 
 parent_class
 
 properties
 
 static_methods
 
 template
 

Detailed Description

Instantiate the class defined in the interface file.

Definition at line 265 of file template_instantiator.py.

Constructor & Destructor Documentation

def gtwrap.template_instantiator.InstantiatedClass.__init__ (   self,
  original 
)

Definition at line 269 of file template_instantiator.py.

Member Function Documentation

def gtwrap.template_instantiator.InstantiatedClass.__repr__ (   self)

Definition at line 340 of file template_instantiator.py.

def gtwrap.template_instantiator.InstantiatedClass.cpp_class (   self)
Generate the C++ code for wrapping.

Definition at line 500 of file template_instantiator.py.

def gtwrap.template_instantiator.InstantiatedClass.cpp_typename (   self)
Return a parser.Typename including namespaces and cpp name of this
class.

Definition at line 504 of file template_instantiator.py.

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.

Member Data Documentation

gtwrap.template_instantiator.InstantiatedClass.ctors

Definition at line 298 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.enums

Definition at line 306 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.instantiations

Definition at line 275 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.is_virtual

Definition at line 278 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.methods

Definition at line 314 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.name

Definition at line 289 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.operators

Definition at line 303 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.original

Definition at line 274 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.parent

Definition at line 280 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.parent_class

Definition at line 279 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.properties

Definition at line 300 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.static_methods

Definition at line 299 of file template_instantiator.py.

gtwrap.template_instantiator.InstantiatedClass.template

Definition at line 277 of file template_instantiator.py.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:59:10