Public Member Functions | |
def | __init__ (self, Union[Template, Any] template, str name, ReturnType return_type, ArgumentList args, str is_const, Union["Class", Any] parent='') |
str | __repr__ (self) |
str | to_cpp (self) |
Public Attributes | |
args | |
is_const | |
name | |
parent | |
return_type | |
template | |
Static Public Attributes | |
tuple | rule |
Rule to parse a method in a class. E.g. ``` class Hello { void sayHello() const; }; ```
Definition at line 28 of file interface_parser/classes.py.
def gtwrap.interface_parser.classes.Method.__init__ | ( | self, | |
Union[Template, Any] | template, | ||
str | name, | ||
ReturnType | return_type, | ||
ArgumentList | args, | ||
str | is_const, | ||
Union["Class", Any] | parent = '' |
||
) |
Definition at line 51 of file interface_parser/classes.py.
str gtwrap.interface_parser.classes.Method.__repr__ | ( | self | ) |
Definition at line 70 of file interface_parser/classes.py.
str gtwrap.interface_parser.classes.Method.to_cpp | ( | self | ) |
Generate the C++ code for wrapping.
Definition at line 66 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.args |
Definition at line 55 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.is_const |
Definition at line 56 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.name |
Definition at line 53 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.parent |
Definition at line 58 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.return_type |
Definition at line 54 of file interface_parser/classes.py.
|
static |
Definition at line 39 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Method.template |
Definition at line 52 of file interface_parser/classes.py.