|
MADNESS
version 0.9
|
Iterator for distributed container wraps the local iterator. More...
#include <worlddc.h>
Public Types | |
| typedef std::iterator_traits < internal_iteratorT > ::iterator_category | iterator_category |
| typedef std::iterator_traits < internal_iteratorT > ::value_type | value_type |
| typedef std::iterator_traits < internal_iteratorT > ::difference_type | difference_type |
| typedef std::iterator_traits < internal_iteratorT > ::pointer | pointer |
| typedef std::iterator_traits < internal_iteratorT > ::reference | reference |
Public Member Functions | |
| WorldContainerIterator () | |
| Default constructor makes a local uninitialized value. More... | |
| WorldContainerIterator (const internal_iteratorT &it) | |
| Initializes from a local iterator. More... | |
| WorldContainerIterator (const value_type &v) | |
| Initializes to cache a remote value. More... | |
| WorldContainerIterator (const WorldContainerIterator &other) | |
| template<class iteratorT > | |
| WorldContainerIterator (const WorldContainerIterator< iteratorT > &other) | |
| ~WorldContainerIterator () | |
| WorldContainerIterator & | operator= (const WorldContainerIterator &other) |
| Assignment. More... | |
| bool | operator== (const WorldContainerIterator &other) const |
| Determines if two iterators are identical. More... | |
| bool | operator!= (const WorldContainerIterator &other) const |
| Determines if two iterators are different. More... | |
| WorldContainerIterator & | operator++ () |
| Pre-increment of an iterator (i.e., ++it) — local iterators only. More... | |
| WorldContainerIterator | operator++ (int) |
| pointer | operator-> () const |
| Iterators dereference to std::pair<const keyT,valueT> More... | |
| reference | operator* () const |
| Iterators dereference to std::pair<const keyT,valueT> More... | |
| const internal_iteratorT & | get_internal_iterator () const |
| Private: (or should be) Returns iterator of internal container. More... | |
| bool | is_cached () const |
| Returns true if this is non-local or cached value. More... | |
| template<typename Archive > | |
| void | serialize (const Archive &) |
Friends | |
| template<class iteratorT > | |
| class | WorldContainerIterator |
Iterator for distributed container wraps the local iterator.
| typedef std::iterator_traits<internal_iteratorT>::difference_type madness::WorldContainerIterator< internal_iteratorT >::difference_type |
| typedef std::iterator_traits<internal_iteratorT>::iterator_category madness::WorldContainerIterator< internal_iteratorT >::iterator_category |
| typedef std::iterator_traits<internal_iteratorT>::pointer madness::WorldContainerIterator< internal_iteratorT >::pointer |
| typedef std::iterator_traits<internal_iteratorT>::reference madness::WorldContainerIterator< internal_iteratorT >::reference |
| typedef std::iterator_traits<internal_iteratorT>::value_type madness::WorldContainerIterator< internal_iteratorT >::value_type |
|
inlineexplicit |
Default constructor makes a local uninitialized value.
|
inlineexplicit |
Initializes from a local iterator.
|
inlineexplicit |
Initializes to cache a remote value.
|
inline |
|
inline |
|
inline |
|
inline |
Private: (or should be) Returns iterator of internal container.
|
inline |
Returns true if this is non-local or cached value.
Referenced by madness::WorldContainerIterator< internal_iteratorT >::operator*(), madness::WorldContainerIterator< internal_iteratorT >::operator++(), madness::WorldContainerIterator< internal_iteratorT >::operator->(), and madness::WorldContainerIterator< internal_iteratorT >::operator==().
|
inline |
Determines if two iterators are different.
|
inline |
Iterators dereference to std::pair<const keyT,valueT>
References madness::WorldContainerIterator< internal_iteratorT >::is_cached().
|
inline |
Pre-increment of an iterator (i.e., ++it) — local iterators only.
Trying to increment a remote iterator will throw
References madness::WorldContainerIterator< internal_iteratorT >::is_cached().
|
inline |
|
inline |
Iterators dereference to std::pair<const keyT,valueT>
References madness::WorldContainerIterator< internal_iteratorT >::is_cached().
|
inline |
Assignment.
|
inline |
Determines if two iterators are identical.
References madness::WorldContainerIterator< internal_iteratorT >::is_cached().
|
inline |
References MADNESS_EXCEPTION.
|
friend |
1.8.8