BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Protected Member Functions
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 ()
 ForwardFilterIterator (Predicate p, IteratorForward it)
 ForwardFilterIterator (const ForwardFilterIterator &iterator)
 ~ForwardFilterIterator ()
Assignemnt
ForwardFilterIteratoroperator= (const ForwardFilterIterator &iterator)
void swap (ForwardFilterIterator &iterator)

Protected Member Functions

 ForwardFilterIterator (const Container &container)

Iterator methods

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.
ForwardFilterIteratoroperator++ ()
ForwardFilterIterator operator++ (int)
static ForwardFilterIterator begin (const Container &container)
static ForwardFilterIterator end (const Container &container)

Detailed Description

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

Generic mutable forward iterator class

Definition at line 248 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 ( ) [inline]

Definition at line 283 of file forwardFilterIterator.h.

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

Definition at line 286 of file forwardFilterIterator.h.

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

Definition at line 292 of file forwardFilterIterator.h.

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

Definition at line 298 of file forwardFilterIterator.h.

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

Definition at line 383 of file forwardFilterIterator.h.


Member Function Documentation

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

Return an iterator pointing to the beginning of the container

Exceptions:
Exception::Precondition

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

Definition at line 392 of file forwardFilterIterator.h.

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

Return an iterator pointing at the end of the container

Exceptions:
Exception::Precondition

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

Definition at line 401 of file forwardFilterIterator.h.

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

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

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

Definition at line 336 of file forwardFilterIterator.h.

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

Increment operator

Exceptions:
Exception::InvalidIterator

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

Definition at line 350 of file forwardFilterIterator.h.

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

Postfix increment operator

Exceptions:
Exception::InvalidIterator

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

Definition at line 366 of file forwardFilterIterator.h.

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

Return a pointer to the current data.

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

Definition at line 342 of file forwardFilterIterator.h.

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

Definition at line 305 of file forwardFilterIterator.h.

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

Definition at line 314 of file forwardFilterIterator.h.

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