Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::PythonInterface::SpectrumInfoPythonIterator Class Reference

SpectrumInfoPythonIterator. More...

#include <SpectrumInfoPythonIterator.h>

Public Member Functions

const SpectrumInfoItem< SpectrumInfo > & next ()
 
 SpectrumInfoPythonIterator (SpectrumInfo &spectrumInfo)
 

Private Attributes

SpectrumInfoIterator< SpectrumInfom_begin
 
SpectrumInfoIterator< SpectrumInfom_end
 
bool m_firstOrDone
 

Detailed Description

SpectrumInfoPythonIterator.

SpectrumInfoPythonIterator is used to expose SpectrumInfoIterator to the Python side. From Python the user will be able to use more pythonic loop syntax to access data such as:

Author
Bhuvan Bezawada, STFC
Date
2018

Definition at line 42 of file SpectrumInfoPythonIterator.h.

Constructor & Destructor Documentation

◆ SpectrumInfoPythonIterator()

Mantid::PythonInterface::SpectrumInfoPythonIterator::SpectrumInfoPythonIterator ( SpectrumInfo spectrumInfo)
inlineexplicit

Definition at line 44 of file SpectrumInfoPythonIterator.h.

Member Function Documentation

◆ next()

const SpectrumInfoItem< SpectrumInfo > & Mantid::PythonInterface::SpectrumInfoPythonIterator::next ( )
inline

Definition at line 47 of file SpectrumInfoPythonIterator.h.

References m_begin, m_end, and m_firstOrDone.

Referenced by export_SpectrumInfoPythonIterator().

Member Data Documentation

◆ m_begin

SpectrumInfoIterator<SpectrumInfo> Mantid::PythonInterface::SpectrumInfoPythonIterator::m_begin
private

Definition at line 60 of file SpectrumInfoPythonIterator.h.

Referenced by next().

◆ m_end

SpectrumInfoIterator<SpectrumInfo> Mantid::PythonInterface::SpectrumInfoPythonIterator::m_end
private

Definition at line 61 of file SpectrumInfoPythonIterator.h.

Referenced by next().

◆ m_firstOrDone

bool Mantid::PythonInterface::SpectrumInfoPythonIterator::m_firstOrDone
private

Definition at line 62 of file SpectrumInfoPythonIterator.h.

Referenced by next().


The documentation for this class was generated from the following file: