Mantid
|
A class which wraps a vector so that you supply not only the value type but also the expected index type. More...
#include <IndexTypes.h>
Public Types | |
using | CollectionImplementationType = std::vector< CollectionValueType > |
Public Member Functions | |
CollectionValueType & | back () |
const CollectionValueType & | back () const |
CollectionImplementationType::iterator | begin () |
CollectionImplementationType::const_iterator | begin () const |
void | clear () |
template<class... Args> | |
void | emplace_back (Args &&...args) |
bool | empty () const |
CollectionImplementationType::iterator | end () |
CollectionImplementationType::const_iterator | end () const |
CollectionValueType & | front () |
const CollectionValueType & | front () const |
CollectionIndexType | last () const |
CollectionValueType & | operator[] (const CollectionIndexType &dataIndex) |
const CollectionValueType & | operator[] (const CollectionIndexType &dataIndex) const |
void | remove (const CollectionIndexType &dataIndex) |
CollectionIndexType | size () const |
CollectionIndexType | zero () const |
Private Attributes | |
CollectionImplementationType | m_collection |
A class which wraps a vector so that you supply not only the value type but also the expected index type.
Definition at line 68 of file IndexTypes.h.
using MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::CollectionImplementationType = std::vector<CollectionValueType> |
Definition at line 70 of file IndexTypes.h.
|
inline |
Definition at line 85 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 87 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 90 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 92 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 94 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 88 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 83 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 91 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 93 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 84 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 86 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 79 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 74 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 71 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 89 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 75 of file IndexTypes.h.
References MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::m_collection.
|
inline |
Definition at line 78 of file IndexTypes.h.
|
private |
Definition at line 97 of file IndexTypes.h.
Referenced by MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::back(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::begin(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::clear(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::emplace_back(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::empty(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::end(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::front(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::last(), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::operator[](), MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::remove(), and MantidQt::MantidWidgets::IndexCollectionType< CollectionIndexType, CollectionValueType >::size().