pygccxml.declarations.calldef_members module

class casting_operator_t(*args, **keywords)

Bases: pygccxml.declarations.calldef_members.member_calldef_t, pygccxml.declarations.calldef_members.operator_t

describes casting operator declaration

class constructor_t(*args, **keywords)

Bases: pygccxml.declarations.calldef_members.member_calldef_t

describes constructor declaration

property explicit

True, if constructor has “explicit” keyword, False otherwise @type: bool

class destructor_t(*args, **keywords)

Bases: pygccxml.declarations.calldef_members.member_calldef_t

describes deconstructor declaration

class member_calldef_t(virtuality=None, has_const=None, has_static=None, *args, **keywords)

Bases: pygccxml.declarations.calldef.calldef_t

base class for “callable” declarations that defined within C++ class or struct

property access_type

Return the access type of the member (as defined by the string constants in the class :class:ACCESS_TYPES. @type: str

create_decl_string(with_defaults=True)
function_type()

returns function type. See type_t hierarchy

guess_calling_convention()

This function should be overriden in the derived classes and return more-or-less successfull guess about calling convention

property has_const

describes, whether “callable” has const modifier or not

property has_static

describes, whether “callable” has static modifier or not

property virtuality

Describes the “virtuality” of the member (as defined by the string constants in the class :class:VIRTUALITY_TYPES). @type: str

class member_function_t(*args, **keywords)

Bases: pygccxml.declarations.calldef_members.member_calldef_t

describes member function declaration

class member_operator_t(*args, **keywords)

Bases: pygccxml.declarations.calldef_members.member_calldef_t, pygccxml.declarations.calldef_members.operator_t

describes member operator declaration

class operator_t(*args, **keywords)

Bases: pygccxml.declarations.calldef.calldef_t

Base class for “operator” declarations.

Operators are constructs which behave like functions. Therefore, operator_t has calldef_t as parent class.

OPERATOR_WORD_LEN = 8
property symbol

operator+, symbol is equal to ‘+’

Type

operator’s symbol. For example