LLVM: llvm::RTTIRoot Class Reference (original) (raw)
Base class for the extensible RTTI hierarchy. More...
#include "[llvm/Support/ExtensibleRTTI.h](ExtensibleRTTI%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| virtual | ~RTTIRoot ()=default |
| virtual const void * | dynamicClassID () const =0 |
| Returns the class ID for the dynamic type of this RTTIRoot instance. | |
| virtual bool | isA (const void *const ClassID) const |
| Returns true if this class's ID matches the given class ID. |
| Static Public Member Functions | |
|---|---|
| static const void * | classID () |
| Returns the class ID for this type. |
Base class for the extensible RTTI hierarchy.
This class defines virtual methods, dynamicClassID and isA, that enable type comparisons.
Definition at line 71 of file ExtensibleRTTI.h.
| virtual llvm::RTTIRoot::~RTTIRoot ( ) | virtualdefault |
|---|
◆ classID()
| const void * llvm::RTTIRoot::classID ( ) | inlinestatic |
|---|
◆ dynamicClassID()
| virtual const void * llvm::RTTIRoot::dynamicClassID ( ) const | pure virtual |
|---|
◆ isA()
| virtual bool llvm::RTTIRoot::isA ( const void *const ClassID) const | inlinevirtual |
|---|
The documentation for this class was generated from the following files:
- include/llvm/Support/ExtensibleRTTI.h
- lib/Support/ExtensibleRTTI.cpp