Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

cIterator Class Reference

#include <chead.h>

List of all members.

Public Methods

 cIterator (const cObject &h)
void init (cObject &h)
cObjectoperator() () const
bool end () const
cObjectoperator++ (int)


Detailed Description

Walks along a cHead-cObject list.


Constructor & Destructor Documentation

cIterator::cIterator ( const cObject & h ) [inline]
 

Constructor.


Member Function Documentation

bool cIterator::end ( ) const [inline]
 

Returns true if the iterator reached the end of the list.

void cIterator::init ( cObject & h ) [inline]
 

Reinitialize the iterator.

cObject * cIterator::operator() ( ) const [inline]
 

Returns a pointer to the current object.

cObject * cIterator::operator++ ( int ) [inline]
 

Returns the current item, then moves the iterator to the next one.


The documentation for this class was generated from the following file:
Generated at Mon Jun 16 23:37:32 2003 for OMNeT++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001