A iterator over all child processors. More...
Public Member Functions | |
SubTypeProcessor * | getNextProcessor () |
returns the next processor. More... | |
const SubTypeProcessor * | getNextProcessor () const |
returns a const pointer to the next processor. More... | |
Iterator (const Processor *root, bool useHierarchy=false) | |
Creates a new iterator. More... | |
A iterator over all child processors.
You don't have to use a inherited class of Processor for the template argument, it works with all classes.
Creates a new iterator.
Simply pass in the Processor which children you want to iterate.
It creates a list of all child processors (children before siblings). Call getNextProcessor() to get the next child processor.
|
inline |
|
inline |