src
DataFormats
Portable
interface
PortableObject.h
Go to the documentation of this file.
1
#ifndef DataFormats_Portable_interface_PortableObject_h
2
#define DataFormats_Portable_interface_PortableObject_h
3
4
#include <type_traits>
5
6
#include "
HeterogeneousCore/AlpakaInterface/interface/traits.h
"
7
8
namespace
traits
{
9
10
// trait for a generic SoA-based product
11
template
<
typename
T,
typename
TDev,
typename
= std::enable_if_t<alpaka::isDevice<TDev>>>
12
class
PortableObjectTrait
;
13
14
}
// namespace traits
15
16
// type alias for a generic SoA-based product
17
template
<
typename
T,
typename
TDev,
typename
= std::enable_if_t<alpaka::isDevice<TDev>>>
18
using
PortableObject
=
typename
traits::PortableObjectTrait<T, TDev>::ProductType
;
19
20
#endif // DataFormats_Portable_interface_PortableObject_h
PortableObject
typename traits::PortableObjectTrait< T, TDev >::ProductType PortableObject
Definition:
PortableObject.h:18
traits::PortableObjectTrait
Definition:
PortableObject.h:12
traits
Definition:
PortableCollection.h:36
traits.h
Generated for CMSSW Reference Manual by
1.8.14