|
Mantid
|
A struct to impliment strongly typed integers, without implicit conversion. More...
#include <IndexTypes.h>
Public Types | |
| using | IntImplementationType = size_t |
Public Member Functions | |
| IndexType () noexcept | |
| IndexType (IntImplementationType data) noexcept | |
| bool | operator!= (IndexType index) const |
| IndexType | operator+ (IndexType index) const |
| IndexType & | operator++ () |
| IndexType | operator++ (int) |
| IndexType & | operator+= (const IndexType &index) |
| IndexType | operator- () const |
| IndexType | operator- (IndexType index) const |
| bool | operator< (IndexType index) const |
| bool | operator<= (IndexType index) const |
| bool | operator== (IndexType index) const |
| bool | operator> (IndexType index) const |
Static Public Member Functions | |
| template<class T > | |
| static IndexType | cast (const T &i) |
Public Attributes | |
| IntImplementationType | value = 0 |
A struct to impliment strongly typed integers, without implicit conversion.
Currently operations and comparitors are only defined between instances of the same type.
Definition at line 24 of file IndexTypes.h.
| using MantidQt::MantidWidgets::IndexType< Class >::IntImplementationType = size_t |
Definition at line 25 of file IndexTypes.h.
|
inlinenoexcept |
Definition at line 27 of file IndexTypes.h.
|
inlinenoexcept |
Definition at line 28 of file IndexTypes.h.
|
inlinestatic |
Definition at line 49 of file IndexTypes.h.
|
inline |
Definition at line 35 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 29 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 36 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 40 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 44 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 48 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 30 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 32 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 33 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 34 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
|
inline |
Definition at line 31 of file IndexTypes.h.
References index, and MantidQt::MantidWidgets::IndexType< Class >::value.
| IntImplementationType MantidQt::MantidWidgets::IndexType< Class >::value = 0 |
Definition at line 26 of file IndexTypes.h.
Referenced by MantidQt::MantidWidgets::FitScriptGeneratorDataTable::addDomain(), MantidQt::MantidWidgets::FitScriptGeneratorModel::addWorkspaceDomain(), MantidQt::MantidWidgets::FitDomain::domainName(), MantidQt::MantidWidgets::FunctionModelDataset::domainNames(), MantidQt::MantidWidgets::FitScriptGeneratorModel::findDomainIndex(), MantidQt::MantidWidgets::FunctionModelSpectra::FunctionModelSpectra(), MantidQt::MantidWidgets::FitScriptGeneratorModel::getDomainName(), MantidQt::MantidWidgets::FitScriptGeneratorModel::getEquivalentFunctionIndexForDomain(), MantidQt::MantidWidgets::FitScriptGeneratorModel::getEquivalentParameterTieForDomain(), MantidQt::MantidWidgets::FitScriptGeneratorModel::getFullParameter(), MantidQt::MantidWidgets::FitScriptGeneratorModel::getParameterProperty(), MantidQt::MantidWidgets::FitScriptGeneratorDataTable::getText(), MantidQt::MantidWidgets::FunctionModelSpectra::indexOf(), MantidQt::MantidWidgets::FitScriptGeneratorModel::isParameterValueWithinConstraints(), MantidQt::MantidWidgets::IndexType< Class >::operator!=(), MantidQt::MantidWidgets::IndexType< Class >::operator+(), MantidQt::MantidWidgets::IndexType< Class >::operator++(), MantidQt::MantidWidgets::IndexType< Class >::operator+=(), MantidQt::MantidWidgets::IndexType< Class >::operator-(), MantidQt::MantidWidgets::IndexType< Class >::operator<(), MantidQt::MantidWidgets::IndexType< Class >::operator<=(), MantidQt::MantidWidgets::IndexType< Class >::operator==(), MantidQt::MantidWidgets::IndexType< Class >::operator>(), MantidQt::MantidWidgets::FitScriptGeneratorModel::removeDomain(), MantidQt::MantidWidgets::FitScriptGeneratorDataTable::removeDomain(), MantidQt::MantidWidgets::FitScriptGeneratorModel::setParameterConstraint(), MantidQt::MantidWidgets::FitScriptGeneratorModel::setParameterFixed(), MantidQt::MantidWidgets::FitScriptGeneratorModel::setParameterTie(), MantidQt::MantidWidgets::FitScriptGeneratorModel::setParameterValue(), MantidQt::MantidWidgets::FitScriptGeneratorModel::updateGlobalParameterTie(), MantidQt::MantidWidgets::FitScriptGeneratorModel::updateLocalParameterTie(), MantidQt::MantidWidgets::FitScriptGeneratorModel::updateParameterTie(), MantidQt::MantidWidgets::FitScriptGeneratorModel::updateParameterValuesWithLocalTieTo(), MantidQt::MantidWidgets::FitScriptGeneratorModel::validParameter(), and MantidQt::MantidWidgets::FitDomain::xLimits().