collection::type_iterator Class Reference

An iterator for stepping through the entries in a collection of a particular type.

#include <collection.h>


Detailed Description

Definition at line 1299 of file collection.h.


Public Member Functions

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

Protected Member Functions

 type_iterator (piter p, std::string type, collection *cop)
 Constructor.

Protected Attributes

std::string ltype
 Local storage for the type.
collectionlcop
 Store a pointer to the collection.
piter pit
 The STL iterator.

Friends

int operator== (const type_iterator &i1, const type_iterator &i2)
 Equality comparison for two iterators.
int operator!= (const type_iterator &i1, const type_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.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page