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::genstruct::FragTable< T >::Iterator Class Reference

#include <elm/genstruct/FragTable.h>

+ Inheritance diagram for elm::genstruct::FragTable< T >::Iterator:

Public Member Functions

 Iterator (const FragTable< T > &array, int pos=0)
 
 Iterator (const Iterator &iter)
 
void next (void)
 
const T & item (void) const
 
bool ended (void) const
 
- Public Member Functions inherited from elm::PreIterator< Iterator, const T & >
 operator bool (void) const
 
 operator const T & (void) const
 
Iterator & operator++ (void)
 
Iterator & operator++ (int)
 
const T & operator* (void) const
 
const T & operator-> (void) const
 

Protected Attributes

const FragTable< T > * arr
 
int i
 
int len
 

Detailed Description

template<class T>
class elm::genstruct::FragTable< T >::Iterator

Iterator on the content of FragTable.

Constructor & Destructor Documentation

template<class T >
elm::genstruct::FragTable< T >::Iterator::Iterator ( const FragTable< T > &  array,
int  pos = 0 
)
template<class T>
elm::genstruct::FragTable< T >::Iterator::Iterator ( const Iterator iter)

Member Function Documentation

template<class T >
bool elm::genstruct::FragTable< T >::Iterator::ended ( void  ) const

Evaluates to true if the traversal is ended.

Returns
True if the traversal is ended, false else.
template<class T >
const T & elm::genstruct::FragTable< T >::Iterator::item ( void  ) const

Get the current item.

Returns
Current item.
template<class T >
void elm::genstruct::FragTable< T >::Iterator::next ( void  )

Go to the next item.

Member Data Documentation

template<class T>
const FragTable<T>* elm::genstruct::FragTable< T >::Iterator::arr
protected
template<class T>
int elm::genstruct::FragTable< T >::Iterator::len
protected

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