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

Member predicate MetricClass::getNumberOfFields

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

int getNumberOfFields()