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

#include <sort_profile_file.h>

Public Types

using policy_type = P
 
using stream_family = sort_profile_family< P, Selector >
 
using view_type = sort_profile_view< P, Selector >
 

Public Member Functions

view_type view () const &
 
view_type view () const &&=delete
 
std::uint64_t size () const
 
void scan () const
 

Static Public Member Functions

static mapped_sort_profile open (file< P > source)
 
static mapped_sort_profile open (std::filesystem::path const &path)
 
static mapped_sort_profile from_slice (mapped_slice source, file_open_mode mode=file_open_mode::checked)
 

Private Member Functions

void require_active () const
 
 mapped_sort_profile (file< P > source, mapped_slice body, view_type view)
 

Private Attributes

file< P > source_
 
mapped_slice body_
 
view_type view_
 

Member Typedef Documentation

◆ policy_type

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

◆ stream_family

template<class P , class Selector = registry_selector<typename P::registry_type>>
using everett::mapped_sort_profile< P, Selector >::stream_family = sort_profile_family<P, Selector>

◆ view_type

template<class P , class Selector = registry_selector<typename P::registry_type>>
using everett::mapped_sort_profile< P, Selector >::view_type = sort_profile_view<P, Selector>

Constructor & Destructor Documentation

◆ mapped_sort_profile()

template<class P , class Selector = registry_selector<typename P::registry_type>>
everett::mapped_sort_profile< P, Selector >::mapped_sort_profile ( file< P >  source,
mapped_slice  body,
view_type  view 
)
inlineprivate

Member Function Documentation

◆ from_slice()

template<class P , class Selector = registry_selector<typename P::registry_type>>
static mapped_sort_profile everett::mapped_sort_profile< P, Selector >::from_slice ( mapped_slice  source,
file_open_mode  mode = file_open_mode::checked 
)
inlinestatic

◆ open() [1/2]

template<class P , class Selector = registry_selector<typename P::registry_type>>
static mapped_sort_profile everett::mapped_sort_profile< P, Selector >::open ( file< P >  source)
inlinestatic

◆ open() [2/2]

template<class P , class Selector = registry_selector<typename P::registry_type>>
static mapped_sort_profile everett::mapped_sort_profile< P, Selector >::open ( std::filesystem::path const &  path)
inlinestatic

◆ require_active()

template<class P , class Selector = registry_selector<typename P::registry_type>>
void everett::mapped_sort_profile< P, Selector >::require_active ( ) const
inlineprivate

◆ scan()

template<class P , class Selector = registry_selector<typename P::registry_type>>
void everett::mapped_sort_profile< P, Selector >::scan ( ) const
inline

◆ size()

template<class P , class Selector = registry_selector<typename P::registry_type>>
std::uint64_t everett::mapped_sort_profile< P, Selector >::size ( ) const
inline

◆ view() [1/2]

template<class P , class Selector = registry_selector<typename P::registry_type>>
view_type everett::mapped_sort_profile< P, Selector >::view ( ) const &
inline

◆ view() [2/2]

template<class P , class Selector = registry_selector<typename P::registry_type>>
view_type everett::mapped_sort_profile< P, Selector >::view ( ) const &&
delete

Member Data Documentation

◆ body_

template<class P , class Selector = registry_selector<typename P::registry_type>>
mapped_slice everett::mapped_sort_profile< P, Selector >::body_
private

◆ source_

template<class P , class Selector = registry_selector<typename P::registry_type>>
file<P> everett::mapped_sort_profile< P, Selector >::source_
private

◆ view_

template<class P , class Selector = registry_selector<typename P::registry_type>>
view_type everett::mapped_sort_profile< P, Selector >::view_
private

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