CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions | Private Member Functions
edm::ContainerMaskTraits< T > Class Template Reference

#include <ContainerMaskTraits.h>

Public Types

typedef T::value_type value_type
 

Static Public Member Functions

static unsigned int indexFor (const value_type *iElement, const T *iContainer)
 
static size_t size (const T *iContainer)
 

Private Member Functions

 ContainerMaskTraits ()=delete
 
 ContainerMaskTraits (const ContainerMaskTraits &)=delete
 
const ContainerMaskTraitsoperator= (const ContainerMaskTraits &)=delete
 

Detailed Description

template<typename T>
class edm::ContainerMaskTraits< T >

Definition at line 29 of file ContainerMaskTraits.h.

Member Typedef Documentation

◆ value_type

template<typename T>
typedef T::value_type edm::ContainerMaskTraits< T >::value_type

Definition at line 31 of file ContainerMaskTraits.h.

Constructor & Destructor Documentation

◆ ContainerMaskTraits() [1/2]

template<typename T>
edm::ContainerMaskTraits< T >::ContainerMaskTraits ( )
privatedelete

◆ ContainerMaskTraits() [2/2]

template<typename T>
edm::ContainerMaskTraits< T >::ContainerMaskTraits ( const ContainerMaskTraits< T > &  )
privatedelete

Member Function Documentation

◆ indexFor()

template<typename T>
static unsigned int edm::ContainerMaskTraits< T >::indexFor ( const value_type iElement,
const T iContainer 
)
inlinestatic

Definition at line 34 of file ContainerMaskTraits.h.

34  {
35  return iElement - &(iContainer->front());
36  }

Referenced by edm::ContainerMask< T >::mask().

◆ operator=()

template<typename T>
const ContainerMaskTraits& edm::ContainerMaskTraits< T >::operator= ( const ContainerMaskTraits< T > &  )
privatedelete

◆ size()

template<typename T>
static size_t edm::ContainerMaskTraits< T >::size ( const T iContainer)
inlinestatic