BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Protected Member Functions
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess > Class Template Reference

#include <BALL/MATHS/LINALG/randomAccessFilterIterator.h>

Inheritance diagram for BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >:
BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorRandomAccess > BALL::ConstForwardFilterIterator< Predicate, IteratorRandomAccess > BALL::BaseFilterIterator< Predicate, IteratorRandomAccess >

List of all members.

Public Types

Typedefs
typedef
IteratorRandomAccess::container_type 
Container
typedef
IteratorRandomAccess::value_type 
value_type
typedef
IteratorRandomAccess::difference_type 
difference_type
typedef
IteratorRandomAccess::pointer 
pointer
typedef
IteratorRandomAccess::reference 
reference
typedef
ConstRandomAccessFilterIterator
< Predicate,
IteratorRandomAccess
Base

Public Member Functions

Constructors and Destructors
 RandomAccessFilterIterator ()
 RandomAccessFilterIterator (Predicate p, IteratorRandomAccess it)
 RandomAccessFilterIterator (const RandomAccessFilterIterator &iterator)
 ~RandomAccessFilterIterator ()
Dereferenciation
reference operator[] (Index index) const
reference operator* () const
 Convert an iterator to its Datatype by returning a reference to the current data.
pointer operator-> () const
 Return a pointer to the current data.

Static Public Member Functions

Assignment
static RandomAccessFilterIterator begin (const Container &container)
static RandomAccessFilterIterator end (const Container &container)
static RandomAccessFilterIterator rbegin (const Container &container)
static RandomAccessFilterIterator rend (const Container &container)

Protected Member Functions

 RandomAccessFilterIterator (const Container &container)

Detailed Description

template<class Predicate, class IteratorRandomAccess>
class BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >

Random Access Iterator Class

Definition at line 453 of file randomAccessFilterIterator.h.


Member Typedef Documentation

template<class Predicate , class IteratorRandomAccess >
typedef ConstRandomAccessFilterIterator<Predicate, IteratorRandomAccess> BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::Base
template<class Predicate , class IteratorRandomAccess >
typedef IteratorRandomAccess::container_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::Container
template<class Predicate , class IteratorRandomAccess >
typedef IteratorRandomAccess::difference_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::difference_type
template<class Predicate , class IteratorRandomAccess >
typedef IteratorRandomAccess::pointer BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::pointer
template<class Predicate , class IteratorRandomAccess >
typedef IteratorRandomAccess::reference BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::reference
template<class Predicate , class IteratorRandomAccess >
typedef IteratorRandomAccess::value_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::value_type

Constructor & Destructor Documentation

template<class Predicate , class IteratorRandomAccess >
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::RandomAccessFilterIterator ( ) [inline]

Definition at line 481 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::RandomAccessFilterIterator ( Predicate  p,
IteratorRandomAccess  it 
) [inline]

Definition at line 484 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::RandomAccessFilterIterator ( const RandomAccessFilterIterator< Predicate, IteratorRandomAccess > &  iterator) [inline]

Definition at line 490 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::~RandomAccessFilterIterator ( ) [inline]

Definition at line 496 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::RandomAccessFilterIterator ( const Container container) [inline, protected]

Definition at line 542 of file randomAccessFilterIterator.h.


Member Function Documentation

template<class Predicate , class IteratorRandomAccess >
RandomAccessFilterIterator< Predicate, IteratorRandomAccess > BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::begin ( const Container container) [static]

Return a RandomAccessFilterIterator for a given container. It points at the first element.

Exceptions:
Exception::InvalidIteratorif the iterator is invalid

Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 552 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
RandomAccessFilterIterator< Predicate, IteratorRandomAccess > BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::end ( const Container container) [static]

Return a RandomAccessFilterIterator for a given container. It points behind the last element of the container.

Exceptions:
Exception::InvalidIteratorif the iterator is invalid

Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 561 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
reference BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::operator* ( ) const [inline]

Convert an iterator to its Datatype by returning a reference to the current data.

Reimplemented from BALL::BaseFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 507 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
pointer BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::operator-> ( ) const [inline]

Return a pointer to the current data.

Reimplemented from BALL::BaseFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 509 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
reference BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::operator[] ( Index  index) const [inline]

Random access operator.

Exceptions:
Exception::InvalidIteratorif the iterator is invalid

Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 505 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
RandomAccessFilterIterator< Predicate, IteratorRandomAccess > BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::rbegin ( const Container container) [static]

Return a RandomAccessFilterIterator for a given container. It points at the last element of the container.

Exceptions:
Exception::InvalidIteratorif the iterator is invalid

Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 570 of file randomAccessFilterIterator.h.

template<class Predicate , class IteratorRandomAccess >
RandomAccessFilterIterator< Predicate, IteratorRandomAccess > BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::rend ( const Container container) [static]

Return a RandomAccessFilterIterator for a given container. It points before the first element.

Exceptions:
Exception::InvalidIteratorif the iterator is invalid

Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.

Definition at line 579 of file randomAccessFilterIterator.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines