CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
 ContainerMaskTraits (const ContainerMaskTraits &)
 
const ContainerMaskTraitsoperator= (const ContainerMaskTraits &)
 

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 ( )
private
template<typename T>
edm::ContainerMaskTraits< T >::ContainerMaskTraits ( const ContainerMaskTraits< T > &  )
private

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.

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 > &  )
private
template<typename T>
static size_t edm::ContainerMaskTraits< T >::size ( const T iContainer)
inlinestatic

Definition at line 34 of file ContainerMaskTraits.h.

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

34 { return iContainer->size();}