Python pygccxml.declarations.calldef.member_function_t() Examples
The following are 1
code examples of pygccxml.declarations.calldef.member_function_t().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
pygccxml.declarations.calldef
, or try the search function
.
Example #1
Source File: gccxmlparser.py From royal-chaos with MIT License | 5 votes |
def _class_has_virtual_methods(self, cls): """return True if cls has at least one virtual method, else False""" for member in cls.get_members(): if isinstance(member, calldef.member_function_t): if member.virtuality != calldef.VIRTUALITY_TYPES.NOT_VIRTUAL: return True return False