Custom iterator for the BufferManager. This iterator is responsible for loading data into the buffers and providing access to that data. More...
#include <BufferManager.h>
Custom iterator for the BufferManager. This iterator is responsible for loading data into the buffers and providing access to that data.
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = std::ptrdiff_t |
using | value_type = Span< typename T::value_type > |
using | pointer = Span< typename T::value_type > * |
using | reference = const Span< typename T::value_type > & |
Public Member Functions | |
Iterator (BufferManager &manager, bool begin=false, bool end=false) | |
Construct a new Iterator object. More... | |
reference | operator* () const |
pointer | operator-> () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Friends | |
bool | operator== (const Iterator &a, const Iterator &b) |
bool | operator!= (const Iterator &a, const Iterator &b) |
using molpro::linalg::array::util::BufferManager< T >::Iterator::difference_type = std::ptrdiff_t |
using molpro::linalg::array::util::BufferManager< T >::Iterator::iterator_category = std::forward_iterator_tag |
using molpro::linalg::array::util::BufferManager< T >::Iterator::pointer = Span<typename T::value_type>* |
using molpro::linalg::array::util::BufferManager< T >::Iterator::reference = const Span<typename T::value_type>& |
using molpro::linalg::array::util::BufferManager< T >::Iterator::value_type = Span<typename T::value_type> |
|
inline |
Construct a new Iterator object.
manager | BufferManager object |
begin | set this->m_value to the start of the iteration |
end | set this->m_value to the end of the iteration |
|
inline |
|
inline |
|
inline |
|
inline |