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

#include <elm/dyndata/Collection.h>

+ Inheritance diagram for IterInst< T, I >:

Public Member Functions

 IterInst (const I &i)
 
virtual ~IterInst (void)
 
virtual bool ended (void) const
 
virtual T item (void) const
 
virtual void next (void)
 
const I & iter (void) const
 
- Public Member Functions inherited from AbstractIter< T >
virtual ~AbstractIter (void)
 
- Public Member Functions inherited from Lock
 Lock (int usage=0)
 
void lock (void)
 
void unlock (void)
 
int usage (void) const
 

Detailed Description

template<class T, class I>
class elm::dyndata::IterInst< T, I >

Build a @red dyndata iterator from a generic iterator.

Parameters
TType of iterated values.
IType of the iterator.

Constructor & Destructor Documentation

◆ IterInst()

IterInst ( const I &  i)
inline

◆ ~IterInst()

virtual ~IterInst ( void  )
inlinevirtual

Member Function Documentation

◆ ended()

virtual bool ended ( void  ) const
inlinevirtual

Implements AbstractIter< T >.

◆ item()

virtual T item ( void  ) const
inlinevirtual

Implements AbstractIter< T >.

◆ iter()

const I& iter ( void  ) const
inline

◆ next()

virtual void next ( void  )
inlinevirtual

Implements AbstractIter< T >.


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