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

#include <elm/data/Bag.h>

+ Inheritance diagram for Bag< T >::Iter:

Public Member Functions

 Iter (const Bag< T > *bag, int idx=0)
 
bool ended () const
 
const T & item () const
 
void next ()
 
bool equals (const Iter &ii) const
 
- Public Member Functions inherited from PreIterator< Iter, T >
bool operator() () const
 
bool operator! () const
 
operator* () const
 
operator-> () const
 
Iter & operator++ ()
 
void operator++ (int)
 
bool operator== (const Iter &i) const
 
bool operator!= (const Iter &i) const
 

Additional Inherited Members

- Public Types inherited from PreIterator< Iter, T >
typedef T t
 
typedef T return_t
 

Constructor & Destructor Documentation

◆ Iter()

Iter ( const Bag< T > *  bag,
int  idx = 0 
)
inline

Member Function Documentation

◆ ended()

bool ended ( ) const
inline

◆ equals()

bool equals ( const Iter ii) const
inline

◆ item()

const T& item ( ) const
inline

◆ next()

void next ( )
inline

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