Public Member Functions | |
def | __init__ (self, str name, ReturnType return_type, ArgumentList args, Union[Template, Any] template=None, Union["Class", Any] parent='') |
str | __repr__ (self) |
str | to_cpp (self) |
Public Attributes | |
args | |
name | |
parent | |
return_type | |
template | |
Static Public Attributes | |
tuple | rule |
Rule to parse all the static methods in a class. E.g. ``` class Hello { static void changeGreeting(); }; ```
Definition at line 80 of file interface_parser/classes.py.
def gtwrap.interface_parser.classes.StaticMethod.__init__ | ( | self, | |
str | name, | ||
ReturnType | return_type, | ||
ArgumentList | args, | ||
Union[Template, Any] | template = None , |
||
Union["Class", Any] | parent = '' |
||
) |
Definition at line 103 of file interface_parser/classes.py.
str gtwrap.interface_parser.classes.StaticMethod.__repr__ | ( | self | ) |
Definition at line 116 of file interface_parser/classes.py.
str gtwrap.interface_parser.classes.StaticMethod.to_cpp | ( | self | ) |
Generate the C++ code for wrapping.
Definition at line 119 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.StaticMethod.args |
Definition at line 106 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.StaticMethod.name |
Definition at line 104 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.StaticMethod.parent |
Definition at line 109 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.StaticMethod.return_type |
Definition at line 105 of file interface_parser/classes.py.
|
static |
Definition at line 91 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.StaticMethod.template |
Definition at line 107 of file interface_parser/classes.py.