Skip to content

ClassHierarchyWrapper

Synopsis

Declared in <src/midend/programAnalysis/CallGraphAnalysis/ClassHierarchyGraph.h>

Member Functions

Name

Description

ClassHierarchyWrapper [constructor]

Construct from SgNode

getAncestorClasses

getDirectSubclasses

getSubclasses

Private Static Member Functions

Name

Description

buildAncestorsMap

Computes the transitive closure of the child‐parent class relationship.

Private Data Members

Name

Description

ancestorClasses

Map from class to all (strict) ancestors.

directChildren

Map from each class to all its immediate subclasses.

directParents

Map from each class to all its immediate superclasses.

subclasses

Map from class to all (strict) subclasses.

Created with MrDocs