BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BALL::Composite::CompositeIteratorTraits Class Reference

#include <BALL/CONCEPT/composite.h>

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. More...
 
Compositeposition_
 The current iterator position. More...
 

Detailed Description

Definition at line 1110 of file composite.h.

Constructor & Destructor Documentation

BALL_INLINE BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits ( )
inline

Definition at line 1114 of file composite.h.

BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits ( const Composite composite)
inline

Definition at line 1121 of file composite.h.

BALL::Composite::CompositeIteratorTraits::CompositeIteratorTraits ( const CompositeIteratorTraits traits)
inline

Definition at line 1128 of file composite.h.

BALL_INLINE BALL::Composite::CompositeIteratorTraits::~CompositeIteratorTraits ( )
inline

Definition at line 1135 of file composite.h.

Member Function Documentation

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::backward ( )
inline

Definition at line 1229 of file composite.h.

Composite* BALL::Composite::CompositeIteratorTraits::findNextPosition ( Composite p) const
inlineprotected

Definition at line 1293 of file composite.h.

Composite* BALL::Composite::CompositeIteratorTraits::findPreviousPosition ( Composite p) const
inlineprotected

Definition at line 1242 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::forward ( )
inline

Definition at line 1224 of file composite.h.

BALL_INLINE Composite* BALL::Composite::CompositeIteratorTraits::getContainer ( )
inline

Definition at line 1149 of file composite.h.

BALL_INLINE const Composite* BALL::Composite::CompositeIteratorTraits::getContainer ( ) const
inline

Definition at line 1151 of file composite.h.

BALL_INLINE Composite& BALL::Composite::CompositeIteratorTraits::getData ( )
inline

Definition at line 1161 of file composite.h.

BALL_INLINE const Composite& BALL::Composite::CompositeIteratorTraits::getData ( ) const
inline

Definition at line 1163 of file composite.h.

BALL_INLINE Composite* BALL::Composite::CompositeIteratorTraits::getPosition ( )
inline

Definition at line 1155 of file composite.h.

BALL_INLINE const Composite* BALL::Composite::CompositeIteratorTraits::getPosition ( ) const
inline

Definition at line 1157 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::invalidate ( )
inline

Definition at line 1175 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isBegin ( ) const
inline

Definition at line 1186 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isEnd ( ) const
inline

Definition at line 1196 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isRBegin ( ) const
inline

Definition at line 1209 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isREnd ( ) const
inline

Definition at line 1219 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isSingular ( ) const
inline

Definition at line 1153 of file composite.h.

BALL_INLINE bool BALL::Composite::CompositeIteratorTraits::isValid ( ) const
inline

Definition at line 1137 of file composite.h.

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

Definition at line 1170 of file composite.h.

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

Definition at line 1142 of file composite.h.

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

Definition at line 1165 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::setPosition ( Composite position)
inline

Definition at line 1158 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toBegin ( )
inline

Definition at line 1181 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toEnd ( )
inline

Definition at line 1191 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toRBegin ( )
inline

Definition at line 1201 of file composite.h.

BALL_INLINE void BALL::Composite::CompositeIteratorTraits::toREnd ( )
inline

Definition at line 1214 of file composite.h.

Member Data Documentation

Composite* BALL::Composite::CompositeIteratorTraits::bound_
protected

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

Definition at line 1237 of file composite.h.

Composite* BALL::Composite::CompositeIteratorTraits::position_
protected

The current iterator position.

Definition at line 1240 of file composite.h.