pygccxml.declarations.dependencies module

class dependency_info_t(decl, depend_on_it, access_type=None, hint=None)

Bases: object

property access_type
property declaration
property depend_on_it
find_out_depend_on_it_declarations()

If declaration depends on other declaration and not on some type this function will return reference to it. Otherwise None will be returned

property hint

The declaration, that report dependency can put some additional inforamtion about dependency. It can be used later

static i_depend_on_them(decl)

Returns set of declarations. every item in the returned set, depends on a declaration from the input

static we_depend_on_them(decls)

Returns set of declarations. every item in the returned set, depends on a declaration from the input

get_dependencies_from_decl(decl, recursive=True)

Returns the list of all types and declarations the declaration depends on.

class impl_details

Bases: object

static dig_declarations(depend_on_it)