Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
NumIter< T > Class Template Reference

#include <elm/data/util.h>

Public Types

typedef T t
 

Public Member Functions

 NumIter (T i, T j, T s=1)
 
bool ended () const
 
item () const
 
void next ()
 
bool equals (const NumIter< T > &i) const
 
 operator bool () const
 
 operator T () const
 
operator* () const
 
NumIteroperator++ ()
 
NumIter operator++ (int)
 
bool operator== (const NumIter &i) const
 
bool operator!= (const NumIter &i) const
 

Member Typedef Documentation

◆ t

typedef T t

Constructor & Destructor Documentation

◆ NumIter()

NumIter ( i,
j,
s = 1 
)
inline

Member Function Documentation

◆ ended()

bool ended ( ) const
inline

◆ equals()

bool equals ( const NumIter< T > &  i) const
inline

◆ item()

T item ( ) const
inline

◆ next()

void next ( )
inline

◆ operator bool()

operator bool ( ) const
inline

References NumIter< T >::ended().

◆ operator T()

operator T ( ) const
inline

References NumIter< T >::item().

◆ operator!=()

bool operator!= ( const NumIter< T > &  i) const
inline

◆ operator*()

T operator* ( ) const
inline

References NumIter< T >::item().

◆ operator++() [1/2]

NumIter& operator++ ( )
inline

References NumIter< T >::next().

◆ operator++() [2/2]

NumIter operator++ ( int  )
inline

References NumIter< T >::next().

◆ operator==()

bool operator== ( const NumIter< T > &  i) const
inline

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