Mantid
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Mantid::DataObjects::MDLeanEvent< nd >::AccessFor< Accessor > Struct Template Reference

Internal structure to avoid the direct exposing of API functions, which change the state of event (switch between union fields) More...

#include <MDLeanEvent.h>

Static Public Member Functions

static std::enable_if_t< std::is_same< EventAccessor, typename Accessor::EventAccessType >::valueconvertToCoordinates (MDLeanEvent< nd > &event, const morton_index::MDSpaceBounds< nd > &space)
 
static std::enable_if_t< std::is_same< EventAccessor, typename Accessor::EventAccessType >::valueconvertToIndex (MDLeanEvent< nd > &event, const morton_index::MDSpaceBounds< nd > &space)
 
static std::enable_if< std::is_same< EventAccessor, typenameAccessor::EventAccessType >::value, MortonT >::type getIndex (const MDLeanEvent< nd > &event)
 

Detailed Description

template<size_t nd>
template<class Accessor>
struct Mantid::DataObjects::MDLeanEvent< nd >::AccessFor< Accessor >

Internal structure to avoid the direct exposing of API functions, which change the state of event (switch between union fields)

Definition at line 74 of file MDLeanEvent.h.

Member Function Documentation

◆ convertToCoordinates()

template<size_t nd>
template<class Accessor >
static std::enable_if_t< std::is_same< EventAccessor, typename Accessor::EventAccessType >::value > Mantid::DataObjects::MDLeanEvent< nd >::AccessFor< Accessor >::convertToCoordinates ( MDLeanEvent< nd > &  event,
const morton_index::MDSpaceBounds< nd > &  space 
)
inlinestatic

Definition at line 76 of file MDLeanEvent.h.

◆ convertToIndex()

template<size_t nd>
template<class Accessor >
static std::enable_if_t< std::is_same< EventAccessor, typename Accessor::EventAccessType >::value > Mantid::DataObjects::MDLeanEvent< nd >::AccessFor< Accessor >::convertToIndex ( MDLeanEvent< nd > &  event,
const morton_index::MDSpaceBounds< nd > &  space 
)
inlinestatic

Definition at line 80 of file MDLeanEvent.h.

◆ getIndex()

template<size_t nd>
template<class Accessor >
static std::enable_if< std::is_same< EventAccessor, typenameAccessor::EventAccessType >::value, MortonT >::type Mantid::DataObjects::MDLeanEvent< nd >::AccessFor< Accessor >::getIndex ( const MDLeanEvent< nd > &  event)
inlinestatic

Definition at line 85 of file MDLeanEvent.h.


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