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

#include <sort_profile_file.h>

Public Member Functions

 encoded_sort_sections ()=default
 
 encoded_sort_sections (encoded_sort_sections const &)=delete
 
encoded_sort_sections & operator= (encoded_sort_sections const &)=delete
 
 encoded_sort_sections (encoded_sort_sections &&other) noexcept
 
encoded_sort_sections & operator= (encoded_sort_sections &&other) noexcept
 
file_header< P > const & header () const &
 
file_header< P > const & header () const &&=delete
 
std::vector< std::span< std::byte const > > chunks () const &
 
std::vector< std::span< std::byte const > > chunks () const &&=delete
 
std::vector< std::byte > materialize () const
 
object_seal_receipt seal (std::filesystem::path const &root, object_id const &id, object_attempt_id const &attempt) const
 

Static Public Member Functions

template<class Selector >
static encoded_sort_sections from (sort_profile_array< P, Selector > const &source)
 
template<class Selector >
static encoded_sort_sections from (sort_profile_array< P, Selector > const &&)=delete
 

Private Member Functions

void require_active () const
 
void words (std::size_t slot, std::span< std::uint64_t const > source)
 

Private Attributes

file_header< P > header_
 
std::array< std::byte, 192 > directory_ {}
 
std::array< std::byte, 8 > zero_ {}
 
std::array< std::span< std::byte const >, 8 > parts_
 
std::array< std::vector< std::byte >, 8 > owned_
 
bool active_ = true
 

Constructor & Destructor Documentation

◆ encoded_sort_sections() [1/3]

template<class P >
everett::encoded_sort_sections< P >::encoded_sort_sections ( )
default

◆ encoded_sort_sections() [2/3]

template<class P >
everett::encoded_sort_sections< P >::encoded_sort_sections ( encoded_sort_sections< P > const &  )
delete

◆ encoded_sort_sections() [3/3]

template<class P >
everett::encoded_sort_sections< P >::encoded_sort_sections ( encoded_sort_sections< P > &&  other)
inlinenoexcept

Member Function Documentation

◆ chunks() [1/2]

template<class P >
std::vector< std::span< std::byte const > > everett::encoded_sort_sections< P >::chunks ( ) const &
inline

◆ chunks() [2/2]

template<class P >
std::vector< std::span< std::byte const > > everett::encoded_sort_sections< P >::chunks ( ) const &&
delete

◆ from() [1/2]

template<class P >
template<class Selector >
static encoded_sort_sections everett::encoded_sort_sections< P >::from ( sort_profile_array< P, Selector > const &&  )
staticdelete

◆ from() [2/2]

template<class P >
template<class Selector >
static encoded_sort_sections everett::encoded_sort_sections< P >::from ( sort_profile_array< P, Selector > const &  source)
inlinestatic

◆ header() [1/2]

template<class P >
file_header< P > const & everett::encoded_sort_sections< P >::header ( ) const &
inline

◆ header() [2/2]

template<class P >
file_header< P > const & everett::encoded_sort_sections< P >::header ( ) const &&
delete

◆ materialize()

template<class P >
std::vector< std::byte > everett::encoded_sort_sections< P >::materialize ( ) const
inline

◆ operator=() [1/2]

template<class P >
encoded_sort_sections & everett::encoded_sort_sections< P >::operator= ( encoded_sort_sections< P > &&  other)
inlinenoexcept

◆ operator=() [2/2]

template<class P >
encoded_sort_sections & everett::encoded_sort_sections< P >::operator= ( encoded_sort_sections< P > const &  )
delete

◆ require_active()

template<class P >
void everett::encoded_sort_sections< P >::require_active ( ) const
inlineprivate

◆ seal()

template<class P >
object_seal_receipt everett::encoded_sort_sections< P >::seal ( std::filesystem::path const &  root,
object_id const &  id,
object_attempt_id const &  attempt 
) const
inline

◆ words()

template<class P >
void everett::encoded_sort_sections< P >::words ( std::size_t  slot,
std::span< std::uint64_t const >  source 
)
inlineprivate

Member Data Documentation

◆ active_

template<class P >
bool everett::encoded_sort_sections< P >::active_ = true
private

◆ directory_

template<class P >
std::array<std::byte, 192> everett::encoded_sort_sections< P >::directory_ {}
private

◆ header_

template<class P >
file_header<P> everett::encoded_sort_sections< P >::header_
private

◆ owned_

template<class P >
std::array<std::vector<std::byte>, 8> everett::encoded_sort_sections< P >::owned_
private

◆ parts_

template<class P >
std::array<std::span<std::byte const>, 8> everett::encoded_sort_sections< P >::parts_
private

◆ zero_

template<class P >
std::array<std::byte, 8> everett::encoded_sort_sections< P >::zero_ {}
private

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