CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (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()