BALL::Composite::CompositeIteratorTraits Class Reference

#include <BALL/CONCEPT/composite.h>

List of all members.


Public Member Functions

BALL_INLINE CompositeIteratorTraits ()
 CompositeIteratorTraits (const Composite &composite)
 CompositeIteratorTraits (const CompositeIteratorTraits &traits)
BALL_INLINE ~CompositeIteratorTraits ()
BALL_INLINE bool isValid () const
BALL_INLINE
CompositeIteratorTraits
operator= (const CompositeIteratorTraits &traits)
BALL_INLINE CompositegetContainer ()
BALL_INLINE const CompositegetContainer () const
BALL_INLINE bool isSingular () const
BALL_INLINE CompositegetPosition ()
BALL_INLINE const CompositegetPosition () const
BALL_INLINE void setPosition (Composite *position)
BALL_INLINE CompositegetData ()
BALL_INLINE const CompositegetData () const
BALL_INLINE bool operator== (const CompositeIteratorTraits &traits) const
BALL_INLINE bool operator!= (const CompositeIteratorTraits &traits) const
BALL_INLINE void invalidate ()
BALL_INLINE void toBegin ()
BALL_INLINE bool isBegin () const
BALL_INLINE void toEnd ()
BALL_INLINE bool isEnd () const
BALL_INLINE void toRBegin ()
BALL_INLINE bool isRBegin () const
BALL_INLINE void toREnd ()
BALL_INLINE bool isREnd () const
BALL_INLINE void forward ()
BALL_INLINE void backward ()

Protected Member Functions

CompositefindPreviousPosition (Composite *p) const
CompositefindNextPosition (Composite *p) const

Protected Attributes

Compositebound_
 

A pointer to the "container" the iterator is bound to.


Compositeposition_
 

The current iterator position.



Constructor & Destructor Documentation

BALL_INLINE BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits (  )  [inline]
BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits ( const Composite composite  )  [inline]
BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits ( const CompositeIteratorTraits traits  )  [inline]
BALL_INLINE BALL::Composite::CompositeIteratorTraits::~CompositeIteratorTraits (  )  [inline]

Member Function Documentation

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::backward (  )  [inline]
Composite* BALL::Composite::CompositeIteratorTraits::findNextPosition ( Composite p  )  const [inline, protected]
Composite* BALL::Composite::CompositeIteratorTraits::findPreviousPosition ( Composite p  )  const [inline, protected]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::forward (  )  [inline]
BALL_INLINE const Composite* BALL::Composite::CompositeIteratorTraits::getContainer (  )  const [inline]
BALL_INLINE Composite* BALL::Composite::CompositeIteratorTraits::getContainer (  )  [inline]
BALL_INLINE const Composite& BALL::Composite::CompositeIteratorTraits::getData (  )  const [inline]
BALL_INLINE Composite& BALL::Composite::CompositeIteratorTraits::getData (  )  [inline]
BALL_INLINE const Composite* BALL::Composite::CompositeIteratorTraits::getPosition (  )  const [inline]
BALL_INLINE Composite* BALL::Composite::CompositeIteratorTraits::getPosition (  )  [inline]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::invalidate (  )  [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isBegin (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isEnd (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isRBegin (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isREnd (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isSingular (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isValid (  )  const [inline]
BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::operator!= ( const CompositeIteratorTraits traits  )  const [inline]

References position_.

BALL_INLINE CompositeIteratorTraits& BALL::Composite::CompositeIteratorTraits::operator= ( const CompositeIteratorTraits traits  )  [inline]

References bound_, and position_.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::operator== ( const CompositeIteratorTraits traits  )  const [inline]

References position_.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::setPosition ( Composite position  )  [inline]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toBegin (  )  [inline]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toEnd (  )  [inline]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toRBegin (  )  [inline]
BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toREnd (  )  [inline]

Member Data Documentation

A pointer to the "container" the iterator is bound to.

Referenced by operator=().

The current iterator position.

Referenced by operator!=(), operator=(), and operator==().