Everett
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
everett::sort_runtime_storage< P, Selector > Struct Template Reference

#include <sort_runtime.h>

Inheritance diagram for everett::sort_runtime_storage< P, Selector >:
everett::sort_file_runtime_storage< P, Selector, Ids, CatalogOps, FileOps >

Public Types

using native_type = sort_runtime_native< P, Selector >
 
using mapped_native_type = mapped_sort_profile< P, Selector >
 
using mapped_pair_type = mapped_sort_cola< P, Selector >
 
template<class Compose >
using merge_type = sort_profile_merge_builder< P, native_type, Compose, Selector >
 
template<class Node >
using index_type = cola_index_builder< P, native_type, Node >
 

Static Public Member Functions

static auto encode_native (sort_profile_array< P, Selector > const &value)
 
template<class Compose >
static auto make_merge (std::shared_ptr< native_type const > older, std::shared_ptr< native_type const > newer, Compose compose)
 
template<class Merge >
static auto finish_merge (Merge &merge)
 
template<class Node >
static auto make_index (std::shared_ptr< native_type const > native, typename Node::pair_type main={}, std::shared_ptr< native_type const > secondary={})
 
template<class Node >
static auto finish_index (index_type< Node > &index)
 
static auto empty ()
 
static auto sorted_native (std::span< profile_record const > records)
 
static auto singleton (profile_record const &record)
 

Member Typedef Documentation

◆ index_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Node >
using everett::sort_runtime_storage< P, Selector >::index_type = cola_index_builder<P, native_type, Node>

◆ mapped_native_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
using everett::sort_runtime_storage< P, Selector >::mapped_native_type = mapped_sort_profile<P, Selector>

◆ mapped_pair_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
using everett::sort_runtime_storage< P, Selector >::mapped_pair_type = mapped_sort_cola<P, Selector>

◆ merge_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Compose >
using everett::sort_runtime_storage< P, Selector >::merge_type = sort_profile_merge_builder<P, native_type, Compose, Selector>

◆ native_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
using everett::sort_runtime_storage< P, Selector >::native_type = sort_runtime_native<P, Selector>

Member Function Documentation

◆ empty()

template<class P , class Selector = registry_selector<typename P::registry_type>>
static auto everett::sort_runtime_storage< P, Selector >::empty ( )
inlinestatic

◆ encode_native()

template<class P , class Selector = registry_selector<typename P::registry_type>>
static auto everett::sort_runtime_storage< P, Selector >::encode_native ( sort_profile_array< P, Selector > const &  value)
inlinestatic

◆ finish_index()

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Node >
static auto everett::sort_runtime_storage< P, Selector >::finish_index ( index_type< Node > &  index)
inlinestatic

◆ finish_merge()

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Merge >
static auto everett::sort_runtime_storage< P, Selector >::finish_merge ( Merge &  merge)
inlinestatic

◆ make_index()

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Node >
static auto everett::sort_runtime_storage< P, Selector >::make_index ( std::shared_ptr< native_type const >  native,
typename Node::pair_type  main = {},
std::shared_ptr< native_type const >  secondary = {} 
)
inlinestatic

◆ make_merge()

template<class P , class Selector = registry_selector<typename P::registry_type>>
template<class Compose >
static auto everett::sort_runtime_storage< P, Selector >::make_merge ( std::shared_ptr< native_type const >  older,
std::shared_ptr< native_type const >  newer,
Compose  compose 
)
inlinestatic

◆ singleton()

template<class P , class Selector = registry_selector<typename P::registry_type>>
static auto everett::sort_runtime_storage< P, Selector >::singleton ( profile_record const &  record)
inlinestatic

◆ sorted_native()

template<class P , class Selector = registry_selector<typename P::registry_type>>
static auto everett::sort_runtime_storage< P, Selector >::sorted_native ( std::span< profile_record const >  records)
inlinestatic

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