ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
ContainerRefWithDim< container_t, DIM > Struct Template Reference

#include <MeasurementContainerWithDimension.h>

Collaboration diagram for ContainerRefWithDim< container_t, DIM >:

Public Types

using container_type = container_t
 

Public Member Functions

 ContainerRefWithDim ()
 
 ContainerRefWithDim (const container_t &container)
 
const container_t * containerPtr () const
 
const container_t & container () const
 

Static Public Member Functions

static constexpr std::size_t dimension ()
 

Static Public Attributes

static constexpr std::size_t s_dimension = DIM
 

Private Attributes

const container_t * m_container
 

Detailed Description

template<typename container_t, std::size_t DIM>
struct ContainerRefWithDim< container_t, DIM >

Definition at line 10 of file MeasurementContainerWithDimension.h.

Member Typedef Documentation

◆ container_type

template<typename container_t , std::size_t DIM>
using ContainerRefWithDim< container_t, DIM >::container_type = container_t

Definition at line 12 of file MeasurementContainerWithDimension.h.

Constructor & Destructor Documentation

◆ ContainerRefWithDim() [1/2]

template<typename container_t , std::size_t DIM>
ContainerRefWithDim< container_t, DIM >::ContainerRefWithDim ( )
inline

Definition at line 13 of file MeasurementContainerWithDimension.h.

13 : m_container(nullptr) {}

◆ ContainerRefWithDim() [2/2]

template<typename container_t , std::size_t DIM>
ContainerRefWithDim< container_t, DIM >::ContainerRefWithDim ( const container_t &  container)
inline

Definition at line 14 of file MeasurementContainerWithDimension.h.

Member Function Documentation

◆ container()

template<typename container_t , std::size_t DIM>
const container_t& ContainerRefWithDim< container_t, DIM >::container ( ) const
inline

Definition at line 21 of file MeasurementContainerWithDimension.h.

21 {return *m_container; }

◆ containerPtr()

template<typename container_t , std::size_t DIM>
const container_t* ContainerRefWithDim< container_t, DIM >::containerPtr ( ) const
inline

Definition at line 20 of file MeasurementContainerWithDimension.h.

20 {return m_container; }

◆ dimension()

template<typename container_t , std::size_t DIM>
static constexpr std::size_t ContainerRefWithDim< container_t, DIM >::dimension ( )
inlinestaticconstexpr

Definition at line 17 of file MeasurementContainerWithDimension.h.

17 { return s_dimension; }

Member Data Documentation

◆ m_container

template<typename container_t , std::size_t DIM>
const container_t* ContainerRefWithDim< container_t, DIM >::m_container
private

Definition at line 23 of file MeasurementContainerWithDimension.h.

◆ s_dimension

template<typename container_t , std::size_t DIM>
constexpr std::size_t ContainerRefWithDim< container_t, DIM >::s_dimension = DIM
staticconstexpr

Definition at line 15 of file MeasurementContainerWithDimension.h.


The documentation for this struct was generated from the following file:
ContainerRefWithDim::s_dimension
static constexpr std::size_t s_dimension
Definition: MeasurementContainerWithDimension.h:15
ContainerRefWithDim::container
const container_t & container() const
Definition: MeasurementContainerWithDimension.h:21
ContainerRefWithDim::m_container
const container_t * m_container
Definition: MeasurementContainerWithDimension.h:23