#include <jdb_module.h>
Public Member Functions | |
Iterator (Jdb_category const *_c, Jdb_module const *_m) | |
Create a new iterator. | |
Iterator | next () |
Get the next Jdb_module within the category. | |
operator Jdb_module const * () | |
Let the iterator look like a pointer to Jdb_module. | |
Private Attributes | |
Jdb_module const * | m |
Jdb_category const * | c |
This iterator provides the interface for just iterate over all modules within one category. It can be simply used like a pointer to a Jdb_module and provides the method next() to step to the next module. If the iterator evaluates to a null pointer there are no more modules left.
|
Create a new iterator.
|
|
Get the next Jdb_module within the category.
|
|
Let the iterator look like a pointer to Jdb_module.
|
|
|
|
|