Module Class
Provides classes representing C++ classes, including structs, unions, and template classes.
Import path
import semmle.code.cpp.Class
Imports
Linkage |
Provides the |
MetricClass | |
Type |
Provides a hierarchy of classes for modeling C/C++ types. |
UserType |
Provides classes for modeling user-defined types such as classes, typedefs and enums. |
Classes
AbstractClass |
An “abstract class”, in other words a class/struct that contains at least one pure virtual function. |
Class |
A class type [N4140 9]. |
ClassDerivation |
A class derivation, for example the |
ClassTemplateInstantiation |
A class that is an instantiation of a template. For example in the following code there is a |
ClassTemplateSpecialization |
A specialization of a class template (this may be a full or partial template specialization - see |
FullClassTemplateSpecialization |
A full specialization of a class template. For example |
LocalClass |
A class, struct or union that is directly enclosed by a function. For example the |
NestedClass |
A class, struct or union that is declared within another class. For example the struct |
PartialClassTemplateSpecialization |
A partial specialization of a class template. For example |
ProxyClass |
The proxy class (where needed) associated with a template parameter, as in the following code: |
TemplateClass |
A class template (this class also finds partial specializations of class templates). For example in the following code there is a |
VirtualBaseClass |
A class/struct that is the base of some virtual class derivation. For example |
VirtualClassDerivation |
A class/struct derivation that is virtual. For example the derivation in the following code is a |