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

Public Member Functions

def __init__ (self, original, instantiations=(), new_name='')
 
def __repr__ (self)
 
def to_cpp (self)
 

Public Attributes

 instantiations
 
 name
 
 original
 
 parent
 

Detailed Description

Instantiate typedefs of forward declarations.
This is useful when we wish to typedef a templated class
which is not defined in the current project.

E.g.
    class FactorFromAnotherMother;

    typedef FactorFromAnotherMother<gtsam::Pose3> FactorWeCanUse;

Definition at line 7 of file template_instantiator/declaration.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.template_instantiator.declaration.InstantiatedDeclaration.__init__ (   self,
  original,
  instantiations = (),
  new_name = '' 
)

Definition at line 18 of file template_instantiator/declaration.py.

Member Function Documentation

◆ __repr__()

def gtwrap.template_instantiator.declaration.InstantiatedDeclaration.__repr__ (   self)

Definition at line 43 of file template_instantiator/declaration.py.

◆ to_cpp()

def gtwrap.template_instantiator.declaration.InstantiatedDeclaration.to_cpp (   self)
Generate the C++ code for wrapping.

Definition at line 31 of file template_instantiator/declaration.py.

Member Data Documentation

◆ instantiations

gtwrap.template_instantiator.declaration.InstantiatedDeclaration.instantiations

Definition at line 25 of file template_instantiator/declaration.py.

◆ name

gtwrap.template_instantiator.declaration.InstantiatedDeclaration.name

Definition at line 28 of file template_instantiator/declaration.py.

◆ original

gtwrap.template_instantiator.declaration.InstantiatedDeclaration.original

Definition at line 24 of file template_instantiator/declaration.py.

◆ parent

gtwrap.template_instantiator.declaration.InstantiatedDeclaration.parent

Definition at line 26 of file template_instantiator/declaration.py.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:26