BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > Class Template Reference

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

Inheritance diagram for BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >:
BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional > BALL::BaseFilterIterator< Predicate, IteratorBidirectional >

List of all members.


Public Types

Typedefs
typedef
IteratorBidirectional::container_type 
Container
typedef
IteratorBidirectional::value_type 
DataType
typedef
IteratorBidirectional::difference_type 
Position
typedef
IteratorBidirectional::traits_type 
Traits
typedef
IteratorBidirectional::value_type 
value_type
typedef
IteratorBidirectional::difference_type 
difference_type
typedef
IteratorBidirectional::pointer 
pointer
typedef
IteratorBidirectional::reference 
reference
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef
ConstForwardFilterIterator
< Predicate,
IteratorBidirectional
Base

Public Member Functions

void setIterator (const IteratorBidirectional &iterator) throw ()
 

Set the internal iterator.


Constructors and destructor.
 ConstBidirectionalFilterIterator () throw ()
 ConstBidirectionalFilterIterator (Predicate p, IteratorBidirectional it) throw ()
 ConstBidirectionalFilterIterator (const ConstBidirectionalFilterIterator &iterator) throw ()
 ~ConstBidirectionalFilterIterator () throw ()

Protected Member Functions

 ConstBidirectionalFilterIterator (const Container &container) throw ()
 

Construct an iterator bound to a specific container.



Iterator methods

void toBegin () throw (Exception::SingularIterator)
 

Move the iterator to the beginning of the container.


bool isBegin () const throw ()
 

Check whether the iterator points to the item at the beginning of the container.


void toEnd () throw (Exception::SingularIterator)
 

Move the iterator to the position after the last item of the container.


bool isEnd () const throw ()
 

Check whether the iterator points to the position after the last item of the container.


void toRBegin () throw (Exception::SingularIterator)
 

Move the iterator to the "reverse" beginning of the container.


bool isRBegin () const throw ()
 

Test whether the iterator points to the "reverse" first element of the container.


void toREnd () throw (Exception::SingularIterator)
 

Move the iterator to the position before the first element.


bool isREnd () const throw ()
 

Test wheter the iterator points to the position before the first element.


ConstBidirectionalFilterIteratoroperator++ () throw (Exception::InvalidIterator)
 

Increment operator.


ConstBidirectionalFilterIterator operator++ (int) throw (Exception::InvalidIterator)
 

Postfix increment operator.


ConstBidirectionalFilterIteratoroperator-- () throw (Exception::SingularIterator)
 

Decrement operator.


ConstBidirectionalFilterIterator operator-- (int) throw (Exception::SingularIterator)
 

Postfix decrement operator.


static
ConstBidirectionalFilterIterator 
begin (const Container &container) throw (Exception::Precondition)
 

Return an iterator pointingto the first item of the container.


static
ConstBidirectionalFilterIterator 
end (const Container &container) throw (Exception::Precondition)
 

Return an iterator pointing to the position after the last element.


static
ConstBidirectionalFilterIterator 
rbegin (const Container &container) throw (Exception::Precondition)
 

Return an iterator pointing to the last element.


static
ConstBidirectionalFilterIterator 
rend (const Container &container) throw (Exception::Precondition)
 

Return an iterator pointing to the positon before the first element.



Detailed Description

template<class Predicate, class IteratorBidirectional>
class BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >

Constant Bidirectional Iterator.

Definition at line 19 of file bidirectionalFilterIterator.h.


Member Typedef Documentation

template<class Predicate, class IteratorBidirectional>
typedef ConstForwardFilterIterator<Predicate, IteratorBidirectional> BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::Base
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::container_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::Container
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::value_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::DataType
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::difference_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::difference_type
template<class Predicate, class IteratorBidirectional>
typedef std::bidirectional_iterator_tag BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::iterator_category
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::pointer BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::pointer
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::difference_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::Position
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::reference BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::reference
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::traits_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::Traits
template<class Predicate, class IteratorBidirectional>
typedef IteratorBidirectional::value_type BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::value_type

Constructor & Destructor Documentation

template<class Predicate, class IteratorBidirectional>
BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::ConstBidirectionalFilterIterator (  )  throw () [inline]

Definition at line 56 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::ConstBidirectionalFilterIterator ( Predicate  p,
IteratorBidirectional  it 
) throw () [inline]

Definition at line 59 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::ConstBidirectionalFilterIterator ( const ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > &  iterator  )  throw () [inline]

Definition at line 65 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::~ConstBidirectionalFilterIterator (  )  throw () [inline]

Definition at line 71 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::ConstBidirectionalFilterIterator ( const Container container  )  throw () [inline, protected]

Construct an iterator bound to a specific container.

Definition at line 148 of file bidirectionalFilterIterator.h.


Member Function Documentation

template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::begin ( const Container container  )  throw (Exception::Precondition) [inline, static]
template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::end ( const Container container  )  throw (Exception::Precondition) [inline, static]
template<class Predicate, class IteratorBidirectional>
bool BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::isBegin (  )  const throw () [inline]

Check whether the iterator points to the item at the beginning of the container.

Reimplemented from BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 100 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
bool BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::isEnd (  )  const throw () [inline]

Check whether the iterator points to the position after the last item of the container.

Reimplemented from BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 106 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
bool BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::isRBegin (  )  const throw () [inline]

Test whether the iterator points to the "reverse" first element of the container.

Definition at line 112 of file bidirectionalFilterIterator.h.

template<class Predicate, class IteratorBidirectional>
bool BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::isREnd (  )  const throw () [inline]

Test wheter the iterator points to the position before the first element.

Definition at line 118 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::operator++ ( int   )  throw (Exception::InvalidIterator) [inline]
template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > & BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::operator++ (  )  throw (Exception::InvalidIterator) [inline]
template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::operator-- ( int   )  throw (Exception::SingularIterator) [inline]

Postfix decrement operator.

Reimplemented in BALL::BidirectionalFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 254 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > & BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::operator-- (  )  throw (Exception::SingularIterator) [inline]

Decrement operator.

Reimplemented in BALL::BidirectionalFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 237 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::rbegin ( const Container container  )  throw (Exception::Precondition) [inline, static]
template<class Predicate , class IteratorBidirectional >
ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional > BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::rend ( const Container container  )  throw (Exception::Precondition) [inline, static]
template<class Predicate, class IteratorBidirectional>
void BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::setIterator ( const IteratorBidirectional iterator  )  throw () [inline]

Set the internal iterator.

Reimplemented from BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 75 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
void BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::toBegin (  )  throw (Exception::SingularIterator) [inline]

Move the iterator to the beginning of the container.

Reimplemented from BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 156 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
void BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::toEnd (  )  throw (Exception::SingularIterator) [inline]

Move the iterator to the position after the last item of the container.

Reimplemented from BALL::ConstForwardFilterIterator< Predicate, IteratorBidirectional >.

Definition at line 168 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
void BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::toRBegin (  )  throw (Exception::SingularIterator) [inline]

Move the iterator to the "reverse" beginning of the container.

Definition at line 180 of file bidirectionalFilterIterator.h.

template<class Predicate , class IteratorBidirectional >
void BALL::ConstBidirectionalFilterIterator< Predicate, IteratorBidirectional >::toREnd (  )  throw (Exception::SingularIterator) [inline]

Move the iterator to the position before the first element.

Definition at line 192 of file bidirectionalFilterIterator.h.


Generated on Tue Dec 7 19:12:48 2010 for BALL by  doxygen 1.5.9