BALL::ForwardFilterIterator< Predicate, IteratorForward > Class Template Reference

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

Inheritance diagram for BALL::ForwardFilterIterator< Predicate, IteratorForward >:
BALL::ConstForwardFilterIterator< Predicate, IteratorForward > BALL::BaseFilterIterator< Predicate, IteratorForward >

List of all members.


Public Types

Typedefs
typedef
IteratorForward::container_type 
Container
typedef IteratorForward::value_type DataType
typedef
IteratorForward::difference_type 
Position
typedef
IteratorForward::traits_type 
Traits
typedef IteratorForward::value_type value_type
typedef
IteratorForward::difference_type 
difference_type
typedef IteratorForward::pointer pointer
typedef IteratorForward::reference reference
typedef
ConstForwardFilterIterator
< Predicate, IteratorForward
Base

Public Member Functions

Constructors and Destructors
 ForwardFilterIterator () throw ()
 ForwardFilterIterator (Predicate p, IteratorForward it) throw ()
 ForwardFilterIterator (const ForwardFilterIterator &iterator) throw ()
 ~ForwardFilterIterator () throw ()
Assignemnt
ForwardFilterIteratoroperator= (const ForwardFilterIterator &iterator) throw ()
void swap (ForwardFilterIterator &iterator) throw ()

Protected Member Functions

 ForwardFilterIterator (const Container &container) throw ()

Iterator methods

reference operator* () const throw ()
 

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


pointer operator-> () const throw ()
 

Return a pointer to the current data.


ForwardFilterIteratoroperator++ () throw (Exception::InvalidIterator)
 

Increment operator.


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

Postfix increment operator.


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

Return an iterator pointing to the beginning of the container.


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

Return an iterator pointing at the end of the container.



Detailed Description

template<class Predicate, class IteratorForward>
class BALL::ForwardFilterIterator< Predicate, IteratorForward >

Generic mutable forward iterator class

Definition at line 244 of file forwardFilterIterator.h.


Member Typedef Documentation

template<class Predicate , class IteratorForward >
typedef ConstForwardFilterIterator<Predicate, IteratorForward> BALL::ForwardFilterIterator< Predicate, IteratorForward >::Base
template<class Predicate , class IteratorForward >
typedef IteratorForward::container_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::Container
template<class Predicate , class IteratorForward >
typedef IteratorForward::value_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::DataType
template<class Predicate , class IteratorForward >
typedef IteratorForward::difference_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::difference_type
template<class Predicate , class IteratorForward >
typedef IteratorForward::pointer BALL::ForwardFilterIterator< Predicate, IteratorForward >::pointer
template<class Predicate , class IteratorForward >
typedef IteratorForward::difference_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::Position
template<class Predicate , class IteratorForward >
typedef IteratorForward::reference BALL::ForwardFilterIterator< Predicate, IteratorForward >::reference
template<class Predicate , class IteratorForward >
typedef IteratorForward::traits_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::Traits
template<class Predicate , class IteratorForward >
typedef IteratorForward::value_type BALL::ForwardFilterIterator< Predicate, IteratorForward >::value_type

Constructor & Destructor Documentation

template<class Predicate , class IteratorForward >
BALL::ForwardFilterIterator< Predicate, IteratorForward >::ForwardFilterIterator (  )  throw () [inline]

Definition at line 279 of file forwardFilterIterator.h.

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

Definition at line 282 of file forwardFilterIterator.h.

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

Definition at line 288 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
BALL::ForwardFilterIterator< Predicate, IteratorForward >::~ForwardFilterIterator (  )  throw () [inline]

Definition at line 294 of file forwardFilterIterator.h.

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

Definition at line 371 of file forwardFilterIterator.h.


Member Function Documentation

template<class Predicate , class IteratorForward >
ForwardFilterIterator< Predicate, IteratorForward > BALL::ForwardFilterIterator< Predicate, IteratorForward >::begin ( const Container container  )  throw (Exception::Precondition) [inline, static]

Return an iterator pointing to the beginning of the container.

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

Definition at line 380 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
ForwardFilterIterator< Predicate, IteratorForward > BALL::ForwardFilterIterator< Predicate, IteratorForward >::end ( const Container container  )  throw (Exception::Precondition) [inline, static]

Return an iterator pointing at the end of the container.

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

Definition at line 390 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
reference BALL::ForwardFilterIterator< Predicate, IteratorForward >::operator* (  )  const throw () [inline]

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

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

Definition at line 328 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
ForwardFilterIterator BALL::ForwardFilterIterator< Predicate, IteratorForward >::operator++ ( int   )  throw (Exception::InvalidIterator) [inline]

Postfix increment operator.

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

Definition at line 354 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
ForwardFilterIterator& BALL::ForwardFilterIterator< Predicate, IteratorForward >::operator++ (  )  throw (Exception::InvalidIterator) [inline]

Increment operator.

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

Definition at line 340 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
pointer BALL::ForwardFilterIterator< Predicate, IteratorForward >::operator-> (  )  const throw () [inline]

Return a pointer to the current data.

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

Definition at line 334 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
ForwardFilterIterator& BALL::ForwardFilterIterator< Predicate, IteratorForward >::operator= ( const ForwardFilterIterator< Predicate, IteratorForward > &  iterator  )  throw () [inline]

Definition at line 301 of file forwardFilterIterator.h.

template<class Predicate , class IteratorForward >
void BALL::ForwardFilterIterator< Predicate, IteratorForward >::swap ( ForwardFilterIterator< Predicate, IteratorForward > &  iterator  )  throw () [inline]

Definition at line 310 of file forwardFilterIterator.h.


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