vecmem 1.14.0
Loading...
Searching...
No Matches
schema.hpp
1/* VecMem project, part of the ACTS project (R&D line)
2 *
3 * (c) 2023 CERN for the benefit of the ACTS project
4 *
5 * Mozilla Public License Version 2.0
6 */
7#pragma once
8
9namespace vecmem {
10namespace edm {
11namespace type {
12
15
18template <typename TYPE>
19struct scalar {
20 using type = TYPE;
21}; // struct scalar
22
25template <typename TYPE>
26struct vector {
27 using type = TYPE;
28}; // struct vector
29
32template <typename TYPE>
34 using type = TYPE;
35}; // struct jagged_vector
36
38
39} // namespace type
40
45template <typename... VARTYPES>
46struct schema {};
47
48} // namespace edm
49} // namespace vecmem
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16
std::vector< T, vecmem::polymorphic_allocator< T > > vector
Alias type for vectors with our polymorphic allocator.
Definition vector.hpp:35
Meta type describing the "schema" of an SoA container.
Definition schema.hpp:46
2D jagged vector variable
Definition schema.hpp:33
Scalar variable, one for a whole container.
Definition schema.hpp:19
1D vector variable
Definition schema.hpp:26