|
ROSE 2.23.0
|
Stores override metadata for one virtual function.
Definition at line 193 of file ClassHierarchyAnalysis.h.
#include <Rose/Common/Analysis/ClassHierarchyAnalysis.h>


Public Types | |
| using | base = VirtualFunctionDescBase |
| Base tuple type used for storage. | |
Public Member Functions | |
| VirtualFunctionDesc ()=delete | |
| Disabled because a virtual function descriptor needs a declaring class. | |
| ~VirtualFunctionDesc ()=default | |
| Default destructor. | |
| VirtualFunctionDesc (const VirtualFunctionDesc &other)=default | |
| Default copy constructor. | |
| VirtualFunctionDesc (VirtualFunctionDesc &&other)=default | |
| Default move constructor. | |
| VirtualFunctionDesc & | operator= (const VirtualFunctionDesc &other)=default |
| Default copy assignment. | |
| VirtualFunctionDesc & | operator= (VirtualFunctionDesc &&other)=default |
| Default move assignment. | |
| VirtualFunctionDesc (ClassKeyType clKey, bool pure) | |
Constructs a descriptor for a virtual function declared in clKey. | |
| ClassKeyType | classId () const |
| returns a the class where this function is declared | |
| bool | isPureVirtual () const |
| Returns true when the represented function is pure virtual or abstract. | |
| bool | isFinal () const |
| Returns true when the represented function cannot be overridden. | |
| void | isFinal (bool val) |
| Records whether the represented function cannot be overridden. | |
| const OverrideContainer & | overriders () const |
| returns a (const) reference to all functions that are overriding this function | |
| OverrideContainer & | overriders () |
| returns a (const) reference to all functions that are overriding this function | |
| OverrideContainer & | overridden () |
| returns a (const) reference to all functions that this function overrides | |
| const OverrideContainer & | overridden () const |
| returns a (const) reference to all functions that this function overrides | |
| using Rose::Common::Analysis::VirtualFunctionDesc::base = VirtualFunctionDescBase |
Base tuple type used for storage.
Definition at line 197 of file ClassHierarchyAnalysis.h.
|
default |
Default copy constructor.
| other | descriptor to copy. |
|
default |
Default move constructor.
| other | descriptor to move from. |
|
inline |
Constructs a descriptor for a virtual function declared in clKey.
| clKey | class that declares the virtual function. |
| pure | true if the function is pure virtual or abstract. |
Definition at line 226 of file ClassHierarchyAnalysis.h.
|
default |
Default copy assignment.
| other | descriptor to copy. |
|
default |
Default move assignment.
| other | descriptor to move from. |
|
inline |
returns a the class where this function is declared
Definition at line 232 of file ClassHierarchyAnalysis.h.
|
inline |
Returns true when the represented function is pure virtual or abstract.
Definition at line 236 of file ClassHierarchyAnalysis.h.
|
inline |
Returns true when the represented function cannot be overridden.
Definition at line 240 of file ClassHierarchyAnalysis.h.
|
inline |
Records whether the represented function cannot be overridden.
| val | true if the function is final. |
Definition at line 244 of file ClassHierarchyAnalysis.h.
|
inline |
returns a (const) reference to all functions that are overriding this function
Definition at line 249 of file ClassHierarchyAnalysis.h.
|
inline |
returns a (const) reference to all functions that are overriding this function
Definition at line 250 of file ClassHierarchyAnalysis.h.
|
inline |
returns a (const) reference to all functions that this function overrides
Definition at line 257 of file ClassHierarchyAnalysis.h.
|
inline |
returns a (const) reference to all functions that this function overrides
Definition at line 258 of file ClassHierarchyAnalysis.h.