ATLAS Offline Software
Loading...
Searching...
No Matches
columnar::detail::MemoryAccessor< CT, CM > Class Template Referencefinal

a help implementation of AccessorTemplate that handles type conversions More...

#include <ColumnAccessor.h>

Collaboration diagram for columnar::detail::MemoryAccessor< CT, CM >:

Static Public Attributes

static constexpr bool isDefined = false

Detailed Description

template<typename CT, ColumnarMode CM>
class columnar::detail::MemoryAccessor< CT, CM >

a help implementation of AccessorTemplate that handles type conversions

The idea is that some column accessors are best defined in terms of e.g. the underlying column is an int, but we need to represent it as a different type (e.g. an enum or an ObjectId) to the user.

The main reason for having this is separate from ContainerFreeAccessor is that this allows to handle modes with nested std::vector columns correctly. Essentially I need to be able to define the column as std::vector<MemoryType> and then convert it to something that behaves like std::span<const CT>>.

Definition at line 172 of file ColumnAccessor.h.

Member Data Documentation

◆ isDefined

template<typename CT, ColumnarMode CM>
bool columnar::detail::MemoryAccessor< CT, CM >::isDefined = false
staticconstexpr

Definition at line 175 of file ColumnAccessor.h.


The documentation for this class was generated from the following file: