CodeQL library for C/C++
codeql/cpp-all 0.6.0 ( changelog , source )
Search

Member predicate MetricClass :: getInheritanceDepth

Gets the maximum depth of inheritance of this class. A class with no base class has depth 0.

int getInheritanceDepth ( )