Qore Programming Language
1.7.0
|
iterates static members of a class More...
#include <QoreClass.h>
Public Member Methods | |
DLLEXPORT | QoreClassStaticMemberIterator (const QoreClass &cls) |
creates the iterator; call next() to start iterating | |
DLLEXPORT | ~QoreClassStaticMemberIterator () |
destroys the object | |
DLLEXPORT const QoreExternalStaticMember & | getMember () const |
returns the member | |
DLLEXPORT const char * | getName () const |
returns the member's name | |
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 static members of a class