Mantid
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Mantid::DataHandling::PulseIndexer::Iterator Struct Reference

#include <PulseIndexer.h>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 
using value_type = IteratorValue
 

Public Member Functions

 Iterator (const PulseIndexer *indexer, const size_t pulseIndex)
 
bool operator!= (const PulseIndexer::Iterator &other) const
 
const IteratorValueoperator* () const
 
Iteratoroperator++ ()
 
bool operator== (const PulseIndexer::Iterator &other) const
 

Private Member Functions

bool calculateEventRange ()
 returns true if the range is empty
 

Private Attributes

const PulseIndexerm_indexer
 
const size_t m_lastPulseIndex
 
IteratorValue m_value
 

Detailed Description

Definition at line 42 of file PulseIndexer.h.

Member Typedef Documentation

◆ difference_type

Definition at line 44 of file PulseIndexer.h.

◆ iterator_category

Definition at line 43 of file PulseIndexer.h.

◆ value_type

Definition at line 45 of file PulseIndexer.h.

Constructor & Destructor Documentation

◆ Iterator()

Mantid::DataHandling::PulseIndexer::Iterator::Iterator ( const PulseIndexer indexer,
const size_t  pulseIndex 
)
inline

Definition at line 47 of file PulseIndexer.h.

References m_value.

Member Function Documentation

◆ calculateEventRange()

bool Mantid::DataHandling::PulseIndexer::Iterator::calculateEventRange ( )
private

◆ operator!=()

bool Mantid::DataHandling::PulseIndexer::Iterator::operator!= ( const PulseIndexer::Iterator other) const

Definition at line 282 of file PulseIndexer.cpp.

◆ operator*()

const PulseIndexer::IteratorValue & Mantid::DataHandling::PulseIndexer::Iterator::operator* ( ) const

Definition at line 253 of file PulseIndexer.cpp.

References m_value.

◆ operator++()

PulseIndexer::Iterator & Mantid::DataHandling::PulseIndexer::Iterator::operator++ ( )

Definition at line 255 of file PulseIndexer.cpp.

References m_value.

◆ operator==()

bool Mantid::DataHandling::PulseIndexer::Iterator::operator== ( const PulseIndexer::Iterator other) const

Member Data Documentation

◆ m_indexer

const PulseIndexer* Mantid::DataHandling::PulseIndexer::Iterator::m_indexer
private

Definition at line 63 of file PulseIndexer.h.

Referenced by calculateEventRange().

◆ m_lastPulseIndex

const size_t Mantid::DataHandling::PulseIndexer::Iterator::m_lastPulseIndex
private

Definition at line 64 of file PulseIndexer.h.

◆ m_value

IteratorValue Mantid::DataHandling::PulseIndexer::Iterator::m_value
private

Definition at line 68 of file PulseIndexer.h.

Referenced by calculateEventRange(), and operator==().


The documentation for this struct was generated from the following files: