Mantid
|
#include <SpectrumInfoIterator.h>
Public Member Functions | |
SpectrumInfoIterator (T &spectrumInfo, const size_t index) | |
Private Member Functions | |
void | advance (int64_t delta) |
void | decrement () |
SpectrumInfoItem< T > & | dereference () const |
uint64_t | distance_to (const SpectrumInfoIterator< T > &other) const |
bool | equal (const SpectrumInfoIterator< T > &other) const |
size_t | getIndex () const |
void | increment () |
void | setIndex (const size_t index) |
Private Attributes | |
SpectrumInfoItem< T > | m_item |
Friends | |
class | boost::iterator_core_access |
SpectrumInfoIterator allows users of the SpectrumInfo object access to data via an iterator. The iterator works as a slice view in that the index is incremented and all items accessible at that index are made available via the iterator.
Definition at line 29 of file SpectrumInfoIterator.h.
|
inline |
Definition at line 33 of file SpectrumInfoIterator.h.
|
inlineprivate |
Definition at line 40 of file SpectrumInfoIterator.h.
References Mantid::Kernel::delta, and Mantid::API::SpectrumInfoIterator< T >::m_item.
|
inlineprivate |
Definition at line 55 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::m_item.
|
inlineprivate |
Definition at line 71 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::m_item.
|
inlineprivate |
Definition at line 65 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::getIndex().
|
inlineprivate |
Definition at line 69 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::getIndex().
|
inlineprivate |
Definition at line 61 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::m_item.
Referenced by Mantid::API::SpectrumInfoIterator< T >::distance_to(), and Mantid::API::SpectrumInfoIterator< T >::equal().
|
inlineprivate |
Definition at line 49 of file SpectrumInfoIterator.h.
References Mantid::API::SpectrumInfoIterator< T >::m_item.
|
inlineprivate |
Definition at line 63 of file SpectrumInfoIterator.h.
References index, and Mantid::API::SpectrumInfoIterator< T >::m_item.
|
friend |
Definition at line 37 of file SpectrumInfoIterator.h.
|
mutableprivate |
Definition at line 73 of file SpectrumInfoIterator.h.
Referenced by Mantid::API::SpectrumInfoIterator< T >::advance(), Mantid::API::SpectrumInfoIterator< T >::decrement(), Mantid::API::SpectrumInfoIterator< T >::dereference(), Mantid::API::SpectrumInfoIterator< T >::getIndex(), Mantid::API::SpectrumInfoIterator< T >::increment(), and Mantid::API::SpectrumInfoIterator< T >::setIndex().