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

Member predicate MetricClass::getNumberOfFields

Gets the number of non-static data members defined in this class.

int getNumberOfFields()