Mantid
|
This little class holds data and an index marker that is used for uniqueness. More...
#include <EventWorkspaceMRU.h>
Public Member Functions | |
uintptr_t | hashIndexFunction () const |
Function returns a unique index, used for hashing for MRU list. More... | |
TypeWithMarker & | operator= (const TypeWithMarker &other)=delete |
void | setIndex (const uintptr_t the_index) |
Set the unique index value. More... | |
TypeWithMarker (const TypeWithMarker &other)=delete | |
TypeWithMarker (const uintptr_t the_index) | |
Constructor. More... | |
Public Attributes | |
T | m_data |
Pointer to a vector of data. More... | |
uintptr_t | m_index |
Unique index value. More... | |
This little class holds data and an index marker that is used for uniqueness.
This is used in the MRUList.
Definition at line 33 of file EventWorkspaceMRU.h.
|
inline |
Constructor.
the_index | :: unique index into the workspace of this data |
Definition at line 39 of file EventWorkspaceMRU.h.
|
delete |
|
inline |
Function returns a unique index, used for hashing for MRU list.
Definition at line 51 of file EventWorkspaceMRU.h.
References Mantid::DataObjects::TypeWithMarker< T >::m_index.
|
delete |
|
inline |
Set the unique index value.
Definition at line 54 of file EventWorkspaceMRU.h.
References Mantid::DataObjects::TypeWithMarker< T >::m_index.
T Mantid::DataObjects::TypeWithMarker< T >::m_data |
Pointer to a vector of data.
Definition at line 48 of file EventWorkspaceMRU.h.
uintptr_t Mantid::DataObjects::TypeWithMarker< T >::m_index |
Unique index value.
Definition at line 45 of file EventWorkspaceMRU.h.
Referenced by Mantid::DataObjects::TypeWithMarker< T >::hashIndexFunction(), and Mantid::DataObjects::TypeWithMarker< T >::setIndex().