CMS 3D CMS Logo

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

#include <ContainerMaskTraits.h>

Public Types

typedef T::value_type value_type
 

Public Member Functions

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

Static Public Member Functions

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

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 ( )
delete

◆ ContainerMaskTraits() [2/2]

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

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.

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

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

◆ operator=()

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

◆ size()

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