Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gtwrap.interface_parser.classes.Method Class Reference

Public Member Functions

def __init__
 
def __repr__ (self)
 
def to_cpp (self)
 

Public Attributes

 args
 
 is_const
 
 name
 
 parent
 
 return_type
 
 template
 

Static Public Attributes

 rule
 

Detailed Description

Rule to parse a method in a class.

E.g.
```
class Hello {
    void sayHello() const;
};
```

Definition at line 27 of file interface_parser/classes.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.classes.Method.__init__ (   self,
  template 
)

Definition at line 51 of file interface_parser/classes.py.

Member Function Documentation

◆ __repr__()

def gtwrap.interface_parser.classes.Method.__repr__ (   self,
  str 
)

Definition at line 69 of file interface_parser/classes.py.

◆ to_cpp()

def gtwrap.interface_parser.classes.Method.to_cpp (   self,
  str 
)
Generate the C++ code for wrapping.

Definition at line 65 of file interface_parser/classes.py.

Member Data Documentation

◆ args

gtwrap.interface_parser.classes.Method.args

Definition at line 60 of file interface_parser/classes.py.

◆ is_const

gtwrap.interface_parser.classes.Method.is_const

Definition at line 61 of file interface_parser/classes.py.

◆ name

gtwrap.interface_parser.classes.Method.name

Definition at line 58 of file interface_parser/classes.py.

◆ parent

gtwrap.interface_parser.classes.Method.parent

Definition at line 63 of file interface_parser/classes.py.

◆ return_type

gtwrap.interface_parser.classes.Method.return_type

Definition at line 59 of file interface_parser/classes.py.

◆ rule

gtwrap.interface_parser.classes.Method.rule
static

Definition at line 38 of file interface_parser/classes.py.

◆ template

gtwrap.interface_parser.classes.Method.template

Definition at line 57 of file interface_parser/classes.py.


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


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