EnumIteratorBase< EnumType > Class Template Reference

#include <EnumIterator.h>

Inheritance diagram for EnumIteratorBase< EnumType >:
Collaboration diagram for EnumIteratorBase< EnumType >:

Public Member Functions

 EnumIteratorBase (EnumType e)
 
bool operator== (const EnumIteratorBase &i) const
 
bool operator!= (const EnumIteratorBase &i) const
 
EnumType operator* () const
 

Protected Types

typedef int iterator_type
 

Protected Attributes

iterator_type current
 

Detailed Description

template<typename EnumType>
class EnumIteratorBase< EnumType >

Shared functionality between forward and reverse enum iterators

This class is not very useful by itself, it contains code shared by EnumIterator and ReverseEnumIterator.

See Also
EnumIterator, ReverseEnumIterator

Definition at line 23 of file EnumIterator.h.

Member Typedef Documentation

template<typename EnumType >
typedef int EnumIteratorBase< EnumType >::iterator_type
protected

Definition at line 29 of file EnumIterator.h.

Constructor & Destructor Documentation

template<typename EnumType >
EnumIteratorBase< EnumType >::EnumIteratorBase ( EnumType  e)
inlineexplicit

Definition at line 33 of file EnumIterator.h.

Member Function Documentation

template<typename EnumType >
bool EnumIteratorBase< EnumType >::operator!= ( const EnumIteratorBase< EnumType > &  i) const
inline

Definition at line 39 of file EnumIterator.h.

References EnumIteratorBase< EnumType >::current.

template<typename EnumType >
EnumType EnumIteratorBase< EnumType >::operator* ( ) const
inline

Definition at line 43 of file EnumIterator.h.

References EnumIteratorBase< EnumType >::current.

template<typename EnumType >
bool EnumIteratorBase< EnumType >::operator== ( const EnumIteratorBase< EnumType > &  i) const
inline

Definition at line 35 of file EnumIterator.h.

References EnumIteratorBase< EnumType >::current.

Member Data Documentation

template<typename EnumType >
iterator_type EnumIteratorBase< EnumType >::current
protected

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors