BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_ Class Reference

#include <BALL/CONCEPT/enumerator.h>

List of all members.


Public Types

typedef Enumerator< Container,
SiteIterator, Variant > 
ContainerType
typedef Enumerator< Container,
SiteIterator, Variant > * 
ContainerPointer
typedef const Enumerator
< Container, SiteIterator,
Variant > * 
ContainerConstPointer
typedef EnumeratorIndex IteratorPosition
typedef Container ValueType

Public Member Functions

 IteratorTraits_ ()
 IteratorTraits_ (const ContainerType &enumerator)
ContainerConstPointer getContainer () const
ContainerPointer getContainer ()
bool isSingular () const
IteratorPositiongetPosition ()
const IteratorPositiongetPosition () const
bool operator== (const IteratorTraits_ &traits) const
bool operator!= (const IteratorTraits_ &traits) const
bool isValid () const
void invalidate ()
void toBegin ()
bool isBegin () const
void toEnd ()
bool isEnd () const
ValueTypegetData ()
const ValueTypegetData () const
void forward ()
void validate ()

Protected Attributes

ContainerPointer bound_
EnumeratorIndex position_
bool past_the_end_

Friends

class Enumerator< Container, SiteIterator, Variant >

template<class Container, class SiteIterator, class Variant>
class BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_


Member Typedef Documentation

template<class Container, class SiteIterator, class Variant>
typedef const Enumerator<Container, SiteIterator, Variant>* BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::ContainerConstPointer
template<class Container, class SiteIterator, class Variant>
typedef Enumerator<Container, SiteIterator, Variant>* BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::ContainerPointer
template<class Container, class SiteIterator, class Variant>
typedef Enumerator<Container, SiteIterator, Variant> BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::ContainerType
template<class Container, class SiteIterator, class Variant>
typedef EnumeratorIndex BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::IteratorPosition
template<class Container, class SiteIterator, class Variant>
typedef Container BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::ValueType

Constructor & Destructor Documentation

template<class Container, class SiteIterator, class Variant>
BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::IteratorTraits_ (  )  [inline]
template<class Container, class SiteIterator, class Variant>
BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::IteratorTraits_ ( const ContainerType enumerator  )  [inline]

Member Function Documentation

template<class Container, class SiteIterator, class Variant>
void BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::forward (  )  [inline]
template<class Container, class SiteIterator, class Variant>
ContainerPointer BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getContainer (  )  [inline]
template<class Container, class SiteIterator, class Variant>
ContainerConstPointer BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getContainer (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
const ValueType& BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getData (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
ValueType& BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getData (  )  [inline]
template<class Container, class SiteIterator, class Variant>
const IteratorPosition& BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getPosition (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
IteratorPosition& BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::getPosition (  )  [inline]
template<class Container, class SiteIterator, class Variant>
void BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::invalidate (  )  [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::isBegin (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::isEnd (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::isSingular (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::isValid (  )  const [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::operator!= ( const IteratorTraits_ traits  )  const [inline]
template<class Container, class SiteIterator, class Variant>
bool BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::operator== ( const IteratorTraits_ traits  )  const [inline]
template<class Container, class SiteIterator, class Variant>
void BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::toBegin (  )  [inline]
template<class Container, class SiteIterator, class Variant>
void BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::toEnd (  )  [inline]
template<class Container, class SiteIterator, class Variant>
void BALL::Enumerator< Container, SiteIterator, Variant >::IteratorTraits_::validate (  )  [inline]

Friends And Related Function Documentation

template<class Container, class SiteIterator, class Variant>
friend class Enumerator< Container, SiteIterator, Variant > [friend]

Member Data Documentation