Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Jdb_category::Iterator Class Reference

The iterator for iterating over all modules of a category. More...

#include <jdb_module.h>

List of all members.

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


Detailed Description

The iterator for iterating over all modules of a category.

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.


Constructor & Destructor Documentation

Jdb_category::Iterator::Iterator Jdb_category const *  _c,
Jdb_module const *  _m
[inline]
 

Create a new iterator.

Attention:
This should be used only by Jdb_category methods.


Member Function Documentation

Iterator Jdb_category::Iterator::next  )  [inline]
 

Get the next Jdb_module within the category.

Jdb_category::Iterator::operator Jdb_module const *  )  [inline]
 

Let the iterator look like a pointer to Jdb_module.


Member Data Documentation

Jdb_category const* Jdb_category::Iterator::c [private]
 

Jdb_module const* Jdb_category::Iterator::m [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 26 14:20:15 2005 for Fiasco by  doxygen 1.4.2