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

Member predicate MetricClass::getADepth

Gets the length of some path to a root of the hierarchy. A class with no base class has depth 0.

int getADepth()