BALL
1.4.1
|
#include <BALL/MATHS/LINALG/randomAccessFilterIterator.h>
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 |
![]() | |
typedef IteratorRandomAccess::difference_type | difference_type |
typedef IteratorRandomAccess::value_type | value_type |
typedef IteratorRandomAccess::container_type | Container |
typedef IteratorRandomAccess::value_type | DataType |
typedef IteratorRandomAccess::difference_type | Position |
typedef IteratorRandomAccess::traits_type | Traits |
typedef IteratorRandomAccess::pointer | pointer |
typedef IteratorRandomAccess::reference | reference |
typedef std::random_access_iterator_tag | iterator_category |
typedef ConstBidirectionalFilterIterator < Predicate, IteratorRandomAccess > | Base |
![]() | |
typedef IteratorRandomAccess::container_type | Container |
typedef IteratorRandomAccess::value_type | DataType |
typedef IteratorRandomAccess::difference_type | Position |
typedef IteratorRandomAccess::traits_type | Traits |
typedef IteratorRandomAccess::value_type | value_type |
typedef IteratorRandomAccess::difference_type | difference_type |
typedef IteratorRandomAccess::pointer | pointer |
typedef IteratorRandomAccess::reference | reference |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef ConstForwardFilterIterator < Predicate, IteratorRandomAccess > | Base |
![]() | |
typedef IteratorRandomAccess::container_type | Container |
typedef IteratorRandomAccess::value_type | DataType |
typedef IteratorRandomAccess::difference_type | Position |
typedef IteratorRandomAccess::traits_type | Traits |
typedef IteratorRandomAccess::value_type | value_type |
typedef IteratorRandomAccess::difference_type | difference_type |
typedef IteratorRandomAccess::pointer | pointer |
typedef IteratorRandomAccess::reference | reference |
typedef std::forward_iterator_tag | iterator_category |
typedef BaseFilterIterator < Predicate, IteratorRandomAccess > | Base |
![]() | |
typedef IteratorRandomAccess::container_type | Container |
typedef IteratorRandomAccess::value_type | DataType |
typedef IteratorRandomAccess::difference_type | Position |
typedef IteratorRandomAccess::traits_type | Traits |
typedef IteratorRandomAccess::value_type | value_type |
typedef IteratorRandomAccess::difference_type | difference_type |
typedef IteratorRandomAccess::pointer | pointer |
typedef IteratorRandomAccess::reference | reference |
typedef std::input_iterator_tag | iterator_category |
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. | |
![]() | |
ConstRandomAccessFilterIterator () | |
ConstRandomAccessFilterIterator (Predicate p, IteratorRandomAccess it) | |
ConstRandomAccessFilterIterator (const ConstRandomAccessFilterIterator &iterator) | |
~ConstRandomAccessFilterIterator () | |
bool | operator+ () const |
Validity predicate. | |
bool | operator- () const |
Invalidity predicate. | |
bool | operator< (const ConstRandomAccessFilterIterator &iterator) const |
bool | operator<= (const ConstRandomAccessFilterIterator &iterator) const |
bool | operator>= (const ConstRandomAccessFilterIterator &iterator) const |
bool | operator> (const ConstRandomAccessFilterIterator &iterator) const |
ConstRandomAccessFilterIterator & | operator+= (Distance distance) |
ConstRandomAccessFilterIterator & | operator-= (Distance distance) |
ConstRandomAccessFilterIterator | operator+ (Distance distance) const |
ConstRandomAccessFilterIterator | operator- (Distance distance) const |
Distance | operator- (const ConstRandomAccessFilterIterator &iterator) const |
![]() | |
void | setIterator (const IteratorRandomAccess &iterator) |
Set the internal iterator. | |
ConstBidirectionalFilterIterator () | |
ConstBidirectionalFilterIterator (Predicate p, IteratorRandomAccessit) | |
ConstBidirectionalFilterIterator (const ConstBidirectionalFilterIterator &iterator) | |
~ConstBidirectionalFilterIterator () | |
void | toBegin () |
bool | isBegin () const |
Check whether the iterator points to the item at the beginning of the container. | |
void | toEnd () |
bool | isEnd () const |
Check whether the iterator points to the position after the last item of the container. | |
void | toRBegin () |
bool | isRBegin () const |
Test whether the iterator points to the "reverse" first element of the container. | |
void | toREnd () |
bool | isREnd () const |
Test wheter the iterator points to the position before the first element. | |
ConstBidirectionalFilterIterator & | operator++ () |
ConstBidirectionalFilterIterator | operator++ (int) |
ConstBidirectionalFilterIterator & | operator-- () |
ConstBidirectionalFilterIterator | operator-- (int) |
![]() | |
const IteratorRandomAccess & | getIterator () const |
Get a constant reference to the internal iterator. | |
IteratorRandomAccess & | getIterator () |
Get a constant reference to the internal iterator. | |
ConstForwardFilterIterator () | |
Default constructor. | |
ConstForwardFilterIterator (Predicate p, IteratorRandomAccessit) | |
ConstForwardFilterIterator (const ConstForwardFilterIterator &iterator) | |
Copy constructor. | |
~ConstForwardFilterIterator () | |
ConstForwardFilterIterator & | operator= (const ConstForwardFilterIterator &iterator) |
void | swap (ConstForwardFilterIterator &iterator) |
![]() | |
BaseFilterIterator () | |
Default constructor. | |
BaseFilterIterator (Predicate p, IteratorRandomAccessit) | |
Default constructor. | |
BaseFilterIterator (const BaseFilterIterator &iterator) | |
Copy constructor. | |
~BaseFilterIterator () | |
Destructor. | |
BaseFilterIterator & | operator= (const BaseFilterIterator &iterator) |
void | swap (BaseFilterIterator &iterator) |
Swap two iterators. | |
void | invalidate () |
Invalidate the iterator. | |
void | setTraits (const Traits &traits) |
Set the traits. | |
const Traits & | getTraits () const |
Get a constant reference to the traits of this iterator. | |
Traits & | getTraits () |
Get a constant reference to the traits of this iterator. | |
void | setPredicate (const Predicate &predicate) |
Set the predicates. | |
const Predicate & | getPredicate () const |
Get a constant reference to the traits of this iterator. | |
Predicate & | getPredicate () |
Get a constant reference to the traits of this iterator. | |
const Container * | getContainer () const |
Get a constant pointer to the container of this iterator. | |
operator const Position & () const | |
bool | operator== (const BaseFilterIterator &iterator) const |
Equality operator. | |
bool | operator== (const IteratorRandomAccess &iterator) const |
Equality operator. | |
bool | operator!= (const BaseFilterIterator &iterator) const |
Inequality operator. | |
bool | operator!= (const IteratorRandomAccess &iterator) const |
Inequality operator. | |
bool | isSingular () const |
bool | isValid () const |
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) | |
![]() | |
ConstRandomAccessFilterIterator (const Container &container) | |
![]() | |
ConstBidirectionalFilterIterator (const Container &container) | |
Construct an iterator bound to a specific container. | |
![]() | |
ConstForwardFilterIterator (const Container &container) | |
![]() | |
BaseFilterIterator (const Container &container) |
Additional Inherited Members | |
![]() | |
Predicate | predicate_ |
The instance of the iterator and the predicate. | |
IteratorRandomAccess | iterator_ |
Random Access Iterator Class
Definition at line 453 of file randomAccessFilterIterator.h.
typedef ConstRandomAccessFilterIterator<Predicate, IteratorRandomAccess> BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::Base |
Definition at line 473 of file randomAccessFilterIterator.h.
typedef IteratorRandomAccess::container_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::Container |
Definition at line 463 of file randomAccessFilterIterator.h.
typedef IteratorRandomAccess::difference_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::difference_type |
Definition at line 467 of file randomAccessFilterIterator.h.
typedef IteratorRandomAccess::pointer BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::pointer |
Definition at line 469 of file randomAccessFilterIterator.h.
typedef IteratorRandomAccess::reference BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::reference |
Definition at line 471 of file randomAccessFilterIterator.h.
typedef IteratorRandomAccess::value_type BALL::RandomAccessFilterIterator< Predicate, IteratorRandomAccess >::value_type |
Definition at line 465 of file randomAccessFilterIterator.h.
|
inline |
Definition at line 481 of file randomAccessFilterIterator.h.
|
inline |
Definition at line 484 of file randomAccessFilterIterator.h.
|
inline |
Definition at line 490 of file randomAccessFilterIterator.h.
|
inline |
Definition at line 496 of file randomAccessFilterIterator.h.
|
inlineprotected |
Definition at line 542 of file randomAccessFilterIterator.h.
|
static |
Return a RandomAccessFilterIterator for a given container. It points at the first element.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 552 of file randomAccessFilterIterator.h.
|
static |
Return a RandomAccessFilterIterator for a given container. It points behind the last element of the container.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 561 of file randomAccessFilterIterator.h.
|
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.
|
inline |
Return a pointer to the current data.
Reimplemented from BALL::BaseFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 509 of file randomAccessFilterIterator.h.
|
inline |
Random access operator.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 505 of file randomAccessFilterIterator.h.
|
static |
Return a RandomAccessFilterIterator for a given container. It points at the last element of the container.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 570 of file randomAccessFilterIterator.h.
|
static |
Return a RandomAccessFilterIterator for a given container. It points before the first element.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstRandomAccessFilterIterator< Predicate, IteratorRandomAccess >.
Definition at line 579 of file randomAccessFilterIterator.h.