Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gtwrap.interface_parser.function.Argument Class Reference

Public Member Functions

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

Public Attributes

 ctype
 
 default
 
 name
 

Static Public Attributes

 rule
 

Detailed Description

The type and name of a function/method argument.

E.g.
```
void sayHello(/*`s` is the method argument with type `const string&`*/ const string& s);
```

Definition at line 23 of file interface_parser/function.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.function.Argument.__init__ (   self,
  ctype 
)

Definition at line 41 of file interface_parser/function.py.

Member Function Documentation

◆ __repr__()

def gtwrap.interface_parser.function.Argument.__repr__ (   self,
  str 
)

Definition at line 52 of file interface_parser/function.py.

◆ to_cpp()

def gtwrap.interface_parser.function.Argument.to_cpp (   self,
  str 
)
Return full C++ representation of argument.

Definition at line 55 of file interface_parser/function.py.

Member Data Documentation

◆ ctype

gtwrap.interface_parser.function.Argument.ctype

Definition at line 45 of file interface_parser/function.py.

◆ default

gtwrap.interface_parser.function.Argument.default

Definition at line 49 of file interface_parser/function.py.

◆ name

gtwrap.interface_parser.function.Argument.name

Definition at line 48 of file interface_parser/function.py.

◆ rule

gtwrap.interface_parser.function.Argument.rule
static

Definition at line 32 of file interface_parser/function.py.


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


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