CMS 3D CMS Logo

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

#include <DetSetVectorNew.h>

Public Types

typedef T value_type
 

Static Public Member Functions

static unsigned int indexFor (const value_type *iElement, const edmNew::DetSetVector< T > *iContainer)
 
static size_t size (const edmNew::DetSetVector< T > *iContainer)
 

Detailed Description

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

Definition at line 780 of file DetSetVectorNew.h.

Member Typedef Documentation

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

Definition at line 782 of file DetSetVectorNew.h.

Member Function Documentation

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

Definition at line 785 of file DetSetVectorNew.h.

References edmNew::DetSetVector< T >::data().

785  {
786  return iElement-&(iContainer->data().front());
787  }
data_type const * data(size_t cell) const
template<typename T >
static size_t edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size ( const edmNew::DetSetVector< T > *  iContainer)
inlinestatic

Definition at line 784 of file DetSetVectorNew.h.

References edmNew::DetSetVector< T >::dataSize().

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

784 { return iContainer->dataSize();}
size_type dataSize() const