#include <cmodule.h>
Public Methods | |
cSubModIterator (const cModule &p) | |
void | init (const cModule &p) |
cModule& | operator[] (int) |
cModule* | operator() () |
bool | end () const |
cModule* | operator++ (int) |
|
Constructor. It takes the parent module. |
|
Returns true of the iterator has reached the end of the list. |
|
Reinitializes the iterator. |
|
Returns pointer to the current module. The pointer then may be cast to the appropriate cModule subclass. Returns NULL of the iterator has reached the end of the list. |
|
Returns the current module, then moves the iterator to the next module. Returns NULL if the iterator has already reached the end of the list. |
|
DEPRECATED because it might return null reference; use operator() instead. |