Qore Programming Language - C/C++ Library 2.2.1
Loading...
Searching...
No Matches
QoreParentClassIterator Class Referencefinal

iterates parent classes for a class with inheritance access information More...

#include <QoreClass.h>

Public Member Functions

DLLEXPORT QoreParentClassIterator (const QoreClass &cls)
 creates the iterator; call next() to start iterating
DLLEXPORT ~QoreParentClassIterator ()
 destroys the object
DLLEXPORT ClassAccess getAccess () const
 returns the access of the parent class
DLLEXPORT const QoreClassgetParentClass () const
 returns the parent class
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

Detailed Description

iterates parent classes for a class with inheritance access information

Since
Qore 0.9

The documentation for this class was generated from the following file: