CodeQL library for C/C++
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()