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

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

Definition at line 32 of file ContainerMaskTraits.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 35 of file ContainerMaskTraits.h.

References edm::ContainerMaskTraits< T >::ContainerMaskTraits(), and edm::ContainerMaskTraits< T >::operator=().

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

35  {
36  return iElement-&(iContainer->front());
37  }
template<typename T>
const ContainerMaskTraits& edm::ContainerMaskTraits< T >::operator= ( const ContainerMaskTraits< T > &  )
privatedelete
template<typename T>
static size_t edm::ContainerMaskTraits< T >::size ( const T iContainer)
inlinestatic