collection::iterator Class Reference

#include <collection.h>


Detailed Description

An iterator for stepping through a collection.

Definition at line 684 of file collection.h.


Public Member Functions

iterator operator++ ()
 Prefix increment.
iterator operator++ (int unused)
 Postfix increment.
iterator operator-- ()
 Prefix decrement.
collection_entryoperator-> () const
 Dereference.
std::string name ()
 Return the name of the collection entry.

Protected Member Functions

 iterator (piter p)
 Create an iterator from the STL iterator.

Protected Attributes

piter pit
 Local storage for the STL iterator.

Friends

int operator== (const iterator &i1, const iterator &i2)
 Equality comparison for two iterators.
int operator!= (const iterator &i1, const iterator &i2)
 Inequality comparison for two iterators.

The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.