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