CMS 3D CMS Logo

Public Types | Static Public Attributes

edm::soahelper::Aligned< T, ALIGNMENT > Struct Template Reference

#include <SoATupleHelper.h>

List of all members.

Public Types

typedef T Type

Static Public Attributes

static const unsigned int kAlignment = ALIGNMENT

Detailed Description

template<typename T, unsigned int ALIGNMENT>
struct edm::soahelper::Aligned< T, ALIGNMENT >

A decorator class used in SoATuple's template argument list to denote that the type T should be stored with an unusual byte alignment given by ALIGNMENT. NOTE: It is up to the user to be sure sizeof(T) >= ALIGNMENT.

Definition at line 67 of file SoATupleHelper.h.


Member Typedef Documentation

template<typename T , unsigned int ALIGNMENT>
typedef T edm::soahelper::Aligned< T, ALIGNMENT >::Type

Definition at line 69 of file SoATupleHelper.h.


Member Data Documentation

template<typename T , unsigned int ALIGNMENT>
const unsigned int edm::soahelper::Aligned< T, ALIGNMENT >::kAlignment = ALIGNMENT [static]

Definition at line 68 of file SoATupleHelper.h.