Mantid
|
#include <FunctionModelSpectra.h>
Public Member Functions | |
WorkspaceIndex | back () const |
std::vector< WorkspaceIndex >::const_iterator | begin () const |
FunctionModelSpectra | combine (const FunctionModelSpectra &other) const |
bool | empty () const |
std::vector< WorkspaceIndex >::const_iterator | end () const |
void | erase (WorkspaceIndex index) |
WorkspaceIndex | front () const |
FunctionModelSpectra (const FunctionModelSpectra &vec) | |
FunctionModelSpectra (const std::string &str) | |
FunctionModelSpectra (FunctionModelSpectra &&vec) | |
FunctionModelSpectra (WorkspaceIndex minimum, WorkspaceIndex maximum) | |
std::pair< WorkspaceIndex, WorkspaceIndex > | getMinMax () const |
std::string | getString () const |
FitDomainIndex | indexOf (WorkspaceIndex i) const |
bool | isContinuous () const |
FunctionModelSpectra & | operator= (const FunctionModelSpectra &vec) |
FunctionModelSpectra & | operator= (FunctionModelSpectra &&vec) |
bool | operator== (FunctionModelSpectra const &spec) const |
const WorkspaceIndex & | operator[] (FitDomainIndex index) const |
FitDomainIndex | size () const |
Private Member Functions | |
void | checkContinuous () |
FunctionModelSpectra (const std::set< WorkspaceIndex > &indices) | |
Private Attributes | |
bool | m_isContinuous |
std::vector< WorkspaceIndex > | m_vec |
Definition at line 30 of file FunctionModelSpectra.h.
|
explicit |
Definition at line 28 of file FunctionModelSpectra.cpp.
References checkContinuous().
MantidQt::MantidWidgets::FunctionModelSpectra::FunctionModelSpectra | ( | WorkspaceIndex | minimum, |
WorkspaceIndex | maximum | ||
) |
Definition at line 33 of file FunctionModelSpectra.cpp.
References m_isContinuous, m_vec, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
default |
MantidQt::MantidWidgets::FunctionModelSpectra::FunctionModelSpectra | ( | FunctionModelSpectra && | vec | ) |
Definition at line 44 of file FunctionModelSpectra.cpp.
|
explicitprivate |
Definition at line 96 of file FunctionModelSpectra.cpp.
References checkContinuous().
|
inline |
Definition at line 43 of file FunctionModelSpectra.h.
|
inline |
Definition at line 44 of file FunctionModelSpectra.h.
|
private |
Definition at line 101 of file FunctionModelSpectra.cpp.
References m_isContinuous, m_vec, and value.
Referenced by erase(), and FunctionModelSpectra().
FunctionModelSpectra MantidQt::MantidWidgets::FunctionModelSpectra::combine | ( | const FunctionModelSpectra & | other | ) | const |
Definition at line 90 of file FunctionModelSpectra.cpp.
bool MantidQt::MantidWidgets::FunctionModelSpectra::empty | ( | ) | const |
Definition at line 55 of file FunctionModelSpectra.cpp.
References m_vec.
Referenced by getMinMax(), and getString().
|
inline |
Definition at line 45 of file FunctionModelSpectra.h.
void MantidQt::MantidWidgets::FunctionModelSpectra::erase | ( | WorkspaceIndex | index | ) |
Definition at line 113 of file FunctionModelSpectra.cpp.
References checkContinuous(), and m_vec.
|
inline |
Definition at line 42 of file FunctionModelSpectra.h.
std::pair< WorkspaceIndex, WorkspaceIndex > MantidQt::MantidWidgets::FunctionModelSpectra::getMinMax | ( | ) | const |
Definition at line 70 of file FunctionModelSpectra.cpp.
std::string MantidQt::MantidWidgets::FunctionModelSpectra::getString | ( | ) | const |
Definition at line 59 of file FunctionModelSpectra.cpp.
References empty(), m_isContinuous, m_vec, std::to_string(), and Mantid::Kernel::Strings::toString().
Referenced by operator==().
FitDomainIndex MantidQt::MantidWidgets::FunctionModelSpectra::indexOf | ( | WorkspaceIndex | i | ) | const |
Definition at line 82 of file FunctionModelSpectra.cpp.
References begin(), end(), std::to_string(), and MantidQt::MantidWidgets::IndexType< Class >::value.
bool MantidQt::MantidWidgets::FunctionModelSpectra::isContinuous | ( | ) | const |
Definition at line 80 of file FunctionModelSpectra.cpp.
References m_isContinuous.
|
default |
FunctionModelSpectra & MantidQt::MantidWidgets::FunctionModelSpectra::operator= | ( | FunctionModelSpectra && | vec | ) |
Definition at line 49 of file FunctionModelSpectra.cpp.
References m_isContinuous, and m_vec.
bool MantidQt::MantidWidgets::FunctionModelSpectra::operator== | ( | FunctionModelSpectra const & | spec | ) | const |
Definition at line 76 of file FunctionModelSpectra.cpp.
References getString().
|
inline |
Definition at line 46 of file FunctionModelSpectra.h.
References index.
FitDomainIndex MantidQt::MantidWidgets::FunctionModelSpectra::size | ( | ) | const |
Definition at line 57 of file FunctionModelSpectra.cpp.
References m_vec.
Referenced by MantidQt::MantidWidgets::FunctionModelDataset::domainNames().
|
private |
Definition at line 57 of file FunctionModelSpectra.h.
Referenced by checkContinuous(), FunctionModelSpectra(), getString(), isContinuous(), and operator=().
|
private |
Definition at line 56 of file FunctionModelSpectra.h.
Referenced by checkContinuous(), empty(), erase(), FunctionModelSpectra(), getMinMax(), getString(), operator=(), and size().