10#include "vecmem/edm/details/data_traits.hpp"
11#include "vecmem/edm/details/schema_traits.hpp"
12#include "vecmem/edm/schema.hpp"
13#include "vecmem/edm/view.hpp"
14#include "vecmem/memory/memory_resource.hpp"
15#include "vecmem/utils/types.hpp"
55 std::tuple<typename details::data_type<VARTYPES>::type...>;
121#include "vecmem/edm/impl/data.ipp"
VECMEM_HOST const tuple_type & variables() const
Direct (const) access to the underlying tuple of data objects.
data()=default
Default constructor.
data(data &&)=default
Move constructor.
data & operator=(data &&)=default
Move assignment operator.
typename view_type::size_type size_type
Size type used for the container.
Definition data.hpp:51
VECMEM_HOST tuple_type & variables()
Direct (non-const) access to the underlying tuple of data objects.
std::tuple< typename details::data_type< VARTYPES >::type... > tuple_type
The tuple type holding all of the data objects for the individual variables.
Definition data.hpp:55
VECMEM_HOST data(size_type size, memory_resource &resource)
Constructor for the data object.
schema< VARTYPES... > schema_type
The schema describing the buffer's payload.
Definition data.hpp:47
Technical base type for data<schema<VARTYPES...>>
Definition data.hpp:25
Technical base type for view<schema<VARTYPES...>>
Definition view.hpp:28
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
VECMEM_HOST data::vector_view< T > get_data(array< T, N > &a)
Helper function creating a vecmem::data::vector_view object.
Definition array.ipp:217
Meta type describing the "schema" of an SoA container.
Definition schema.hpp:46