|
YAP
|
Class for iterating over a DataPartition. More...
#include <DataPartition.h>
Public Member Functions | |
| const DataPartition * | partition () const |
| DataIterator & | operator+= (DataIterator::difference_type n) |
| addition assignment operator | |
| DataIterator & | operator++ () |
| pre-increment operator | |
| DataIterator | operator++ (int) |
| post-increment operator | |
| DataIterator & | operator-- () |
| pre-decrement operator | |
| const DataIterator | operator-- (int) |
| post-decrement operator | |
| DataIterator & | operator-= (DataIterator::difference_type n) |
| subtraction assignment operator | |
| DataPoint & | operator* () |
| dereference operator | |
| const DataPoint & | operator* () const |
| dereference operator (const) | |
| DataPoint | operator-> () |
| pointer operator | |
| bool | ownedBy (const DataPartition &dp) const |
| check ownership | |
| DataPoint | operator[] (DataIterator::difference_type n) const |
| access operator | |
Public Attributes | |
| friend | DataPartition |
| grant friend status to DataPartition to access Iterator_ | |
Protected Member Functions | |
| DataIterator (const DataPartition &p) | |
| DataIterator (const DataPartition &p, DataPointVector::iterator it) | |
Private Attributes | |
| const DataPartition * | Partition_ |
| owning DataPartition | |
| DataPointVector::iterator | Iterator_ |
| iterator within vector<DataPoint> | |
Friends | |
| const DataIterator::difference_type | operator- (const DataIterator &lhs, const DataIterator &rhs) |
subraction operator (between DataIterators) | |
| const bool | operator< (const DataIterator &lhs, const DataIterator &rhs) |
| less-than operator | |
| const bool | operator> (const DataIterator &lhs, const DataIterator &rhs) |
| greater-than operator | |
| const bool | operator== (const DataIterator &lhs, const DataIterator &rhs) |
| equality operator | |
Class for iterating over a DataPartition.
|
inlineprotected |
constructor with defaulted iterator
| p | owning DataPartition |
|
inlineprotected |
constructor
| p | owning DataPartition |
| it | vector<DataPoint> iterator to contain |
1.8.6