Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::concept::Collection< T, E >::Iterator Class Reference

#include </home/casse/otawa/elm/src/concepts.h>

+ Inheritance diagram for elm::concept::Collection< T, E >::Iterator:

Public Member Functions

 Iter (const Collection< T > &collection)
 
 Iter (const Collection< T > *collection)
 
- Public Member Functions inherited from elm::concept::Iterator< T >
 Iterator (const Iterator &iterator)
 
bool ended (void)
 
void next (void)
 
const T & item (void)
 
 operator bool (void)
 
 operator const T & (void)
 
Iteratoroperator++ (int)
 
Iteratoroperator= (const Iterator &iterator)
 

Detailed Description

template<class T, template< class _ > class E = Equiv<T>>
class elm::concept::Collection< T, E >::Iterator

Iterator on the items of the collection. No assertion can be made about the order of traversal of the collection items.

Member Function Documentation

template<class T, template< class _ > class E = Equiv<T>>
elm::concept::Collection< T, E >::Iterator::Iter ( const Collection< T > &  collection)

Build an iterator from a collection.

Parameters
collectionCollection to traverse.
template<class T, template< class _ > class E = Equiv<T>>
elm::concept::Collection< T, E >::Iterator::Iter ( const Collection< T > *  collection)

Build an iterator from a collection.

Parameters
collectionCollection to traverse.

The documentation for this class was generated from the following file: