spla
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
spla::CpuDokVec< T > Class Template Reference

#include <cpu_formats.hpp>

Inheritance diagram for spla::CpuDokVec< T >:
Inheritance graph
[legend]
Collaboration diagram for spla::CpuDokVec< T >:
Collaboration graph
[legend]

Public Types

using Reduce = std::function< T(T accum, T added)>
 

Public Member Functions

 ~CpuDokVec () override=default
 
- Public Member Functions inherited from spla::TDecoration< T >
 ~TDecoration () override=default
 
virtual uint get_n_values () const
 
- Public Member Functions inherited from spla::RefCnt
virtual ~RefCnt ()
 
bool is_unique () const
 
std::int32_t get_refs () const
 
std::int32_t add_ref () const
 
std::int32_t rel_ref () const
 

Public Attributes

robin_hood::unordered_flat_map< uint, T > Ax {}
 
Reduce reduce = [](T, T a) { return a; }
 
- Public Attributes inherited from spla::TDecoration< T >
uint values = 0
 

Static Public Attributes

static constexpr FormatVector FORMAT = FormatVector::CpuDok
 

Member Typedef Documentation

◆ Reduce

template<typename T >
using spla::CpuDokVec< T >::Reduce = std::function<T(T accum, T added)>

Constructor & Destructor Documentation

◆ ~CpuDokVec()

template<typename T >
spla::CpuDokVec< T >::~CpuDokVec ( )
overridedefault

Member Data Documentation

◆ Ax

template<typename T >
robin_hood::unordered_flat_map<uint, T> spla::CpuDokVec< T >::Ax {}

◆ FORMAT

template<typename T >
constexpr FormatVector spla::CpuDokVec< T >::FORMAT = FormatVector::CpuDok
staticconstexpr

◆ reduce

template<typename T >
Reduce spla::CpuDokVec< T >::reduce = [](T, T a) { return a; }

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