Qore Programming Language
0.9.16
|
iterates the class hierarchy in the order of destructor execution More...
#include <QoreClass.h>
Public Member Methods | |
DLLEXPORT | QoreClassDestructorHierarchyIterator (const QoreClass *cls) |
creates the iterator; call next() to start iterating | |
DLLEXPORT | ~QoreClassDestructorHierarchyIterator () |
destroys the object | |
const DLLEXPORT QoreClass * | get () const |
returns the parent class | |
DLLEXPORT bool | isVirtual () const |
returns true if the class has virtual inheritance, meaning that it is a builtin class without its own private data More... | |
DLLEXPORT bool | next () |
returns advances to the next element (or to the first element if starting to iterate) and returns true if there is an element to query or returns false if at the end of the list | |
DLLEXPORT bool | valid () const |
returns true if the iterator is pointing at a valid element | |
iterates the class hierarchy in the order of destructor execution
DLLEXPORT bool QoreClassDestructorHierarchyIterator::isVirtual | ( | ) | const |
returns true if the class has virtual inheritance, meaning that it is a builtin class without its own private data
if true, compatible private data is supplied by a child class