Mutable bidirectional iterator. More...
#include <BALL/CONCEPT/bidirectionalIterator.h>
Public Types | |
Typedefs | |
typedef DataType & | reference |
typedef DataType * | pointer |
typedef ConstBidirectionalIterator < Container, DataType, Position, Traits > | Base |
typedef DataType & | reference |
typedef DataType * | pointer |
typedef ConstBidirectionalIterator < Container, DataType, Position, Traits > | Base |
Public Member Functions | |
Constructors and Destructor | |
BALL_INLINE | BidirectionalIterator () |
Default constructor. | |
BALL_INLINE | BidirectionalIterator (const BidirectionalIterator &iterator) |
Copy constructor. | |
BALL_INLINE | ~BidirectionalIterator () |
Destructor. | |
BidirectionalIterator () | |
Default constructor. | |
BidirectionalIterator (const BidirectionalIterator &iterator) | |
Copy constructor. | |
~BidirectionalIterator () | |
Destructor. | |
Protected Member Functions | |
BALL_INLINE | BidirectionalIterator (const Container &container) |
Construct an iterator bound to a specific container. | |
BidirectionalIterator (const Container &container) | |
Construct an iterator bound to a specific container. | |
Iterator methods | |
| |
BALL_INLINE reference | operator* () const |
Dereferentiation. | |
BALL_INLINE pointer | operator-> () const |
Pointer dereferentiation. | |
BALL_INLINE BidirectionalIterator & | operator++ () |
BALL_INLINE BidirectionalIterator | operator++ (int) |
BALL_INLINE BidirectionalIterator & | operator-- () |
BALL_INLINE BidirectionalIterator | operator-- (int) |
reference | operator* () const |
Dereferentiation. | |
pointer | operator-> () const |
Pointer dereferentiation. | |
BidirectionalIterator & | operator++ () |
BidirectionalIterator | operator++ (int) |
BidirectionalIterator & | operator-- () |
BidirectionalIterator | operator-- (int) |
static BidirectionalIterator | begin (const Container &container) |
static BidirectionalIterator | end (const Container &container) |
static BidirectionalIterator | rbegin (const Container &container) |
static BidirectionalIterator | rend (const Container &container) |
static BidirectionalIterator | begin (const Container &container) |
static BidirectionalIterator | end (const Container &container) |
static BidirectionalIterator | rbegin (const Container &container) |
static BidirectionalIterator | rend (const Container &container) |
Mutable bidirectional iterator.
Definition at line 258 of file CONCEPT/bidirectionalIterator.h.
typedef ConstBidirectionalIterator<Container, DataType, Position, Traits> BALL::BidirectionalIterator< Container, DataType, Position, Traits >::Base |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 288 of file MATHS/LINALG/bidirectionalIterator.h.
typedef ConstBidirectionalIterator<Container, DataType, Position, Traits> BALL::BidirectionalIterator< Container, DataType, Position, Traits >::Base |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 272 of file CONCEPT/bidirectionalIterator.h.
typedef DataType* BALL::BidirectionalIterator< Container, DataType, Position, Traits >::pointer |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 286 of file MATHS/LINALG/bidirectionalIterator.h.
typedef DataType* BALL::BidirectionalIterator< Container, DataType, Position, Traits >::pointer |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 270 of file CONCEPT/bidirectionalIterator.h.
typedef DataType& BALL::BidirectionalIterator< Container, DataType, Position, Traits >::reference |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 284 of file MATHS/LINALG/bidirectionalIterator.h.
typedef DataType& BALL::BidirectionalIterator< Container, DataType, Position, Traits >::reference |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 268 of file CONCEPT/bidirectionalIterator.h.
BALL_INLINE BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | ) | [inline] |
Default constructor.
Definition at line 280 of file CONCEPT/bidirectionalIterator.h.
BALL_INLINE BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | const BidirectionalIterator< Container, DataType, Position, Traits > & | iterator | ) | [inline] |
Copy constructor.
Definition at line 283 of file CONCEPT/bidirectionalIterator.h.
BALL_INLINE BALL::BidirectionalIterator< Container, DataType, Position, Traits >::~BidirectionalIterator | ( | ) | [inline] |
Destructor.
Definition at line 290 of file CONCEPT/bidirectionalIterator.h.
BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | const Container & | container | ) | [inline, protected] |
Construct an iterator bound to a specific container.
Definition at line 432 of file CONCEPT/bidirectionalIterator.h.
BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | ) | [inline] |
Default constructor.
Definition at line 296 of file MATHS/LINALG/bidirectionalIterator.h.
BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | const BidirectionalIterator< Container, DataType, Position, Traits > & | iterator | ) | [inline] |
Copy constructor.
Definition at line 299 of file MATHS/LINALG/bidirectionalIterator.h.
BALL::BidirectionalIterator< Container, DataType, Position, Traits >::~BidirectionalIterator | ( | ) | [inline] |
Destructor.
Definition at line 305 of file MATHS/LINALG/bidirectionalIterator.h.
BALL::BidirectionalIterator< Container, DataType, Position, Traits >::BidirectionalIterator | ( | const Container & | container | ) | [protected] |
Construct an iterator bound to a specific container.
static BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::begin | ( | const Container & | container | ) | [static] |
Return an iterator pointing to the first item of the container
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::begin | ( | const Container & | container | ) | [inline, static] |
Return an iterator pointing to the first item of the container
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 393 of file CONCEPT/bidirectionalIterator.h.
static BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::end | ( | const Container & | container | ) | [static] |
Return an iterator pointing to the position after the last element
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::end | ( | const Container & | container | ) | [inline, static] |
Return an iterator pointing to the position after the last element
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 403 of file CONCEPT/bidirectionalIterator.h.
reference BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator* | ( | ) | const [inline] |
Dereferentiation.
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 314 of file MATHS/LINALG/bidirectionalIterator.h.
BALL_INLINE reference BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator* | ( | ) | const [inline] |
Dereferentiation.
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 299 of file CONCEPT/bidirectionalIterator.h.
BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator++ | ( | int | ) |
Postfix increment operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator& BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator++ | ( | ) |
Increment operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator++ | ( | int | ) | [inline] |
Postfix increment operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 364 of file CONCEPT/bidirectionalIterator.h.
BidirectionalIterator< Container, DataType, Position, Traits > & BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator++ | ( | ) | [inline] |
Increment operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 355 of file CONCEPT/bidirectionalIterator.h.
BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-- | ( | int | ) |
Postfix decrement operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator& BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-- | ( | ) |
Decrement operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-- | ( | int | ) | [inline] |
Postfix decrement operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 383 of file CONCEPT/bidirectionalIterator.h.
BidirectionalIterator< Container, DataType, Position, Traits > & BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-- | ( | ) | [inline] |
Decrement operator
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 374 of file CONCEPT/bidirectionalIterator.h.
pointer BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-> | ( | ) | const [inline] |
Pointer dereferentiation.
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 317 of file MATHS/LINALG/bidirectionalIterator.h.
BALL_INLINE pointer BALL::BidirectionalIterator< Container, DataType, Position, Traits >::operator-> | ( | ) | const [inline] |
Pointer dereferentiation.
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 302 of file CONCEPT/bidirectionalIterator.h.
static BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::rbegin | ( | const Container & | container | ) | [static] |
Return an iterator pointing to the last element.
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::rbegin | ( | const Container & | container | ) | [inline, static] |
Return an iterator pointing to the last element.
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 413 of file CONCEPT/bidirectionalIterator.h.
static BidirectionalIterator BALL::BidirectionalIterator< Container, DataType, Position, Traits >::rend | ( | const Container & | container | ) | [static] |
Return an iterator pointing to the positon before the first element
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
BidirectionalIterator< Container, DataType, Position, Traits > BALL::BidirectionalIterator< Container, DataType, Position, Traits >::rend | ( | const Container & | container | ) | [inline, static] |
Return an iterator pointing to the positon before the first element
Exception::Precondition |
Reimplemented from BALL::ConstBidirectionalIterator< Container, DataType, Position, Traits >.
Definition at line 423 of file CONCEPT/bidirectionalIterator.h.