Everett
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
everett::native_file_merge< P, Native, Compose, Ops > Struct Template Reference

#include <native_file_merge.h>

Public Types

using policy_type = P
 
using source_pointer = std::shared_ptr< Native const >
 
using builder_type = native_merge_builder< P, Native, Compose, profile_detail::native_file_output_ref< P, Ops > >
 

Public Member Functions

 native_file_merge (std::filesystem::path root, object_id id, object_attempt_id attempt, source_pointer older, source_pointer newer, Compose compose={}, std::optional< std::uint64_t > common=P::value_width)
 
 native_file_merge (std::filesystem::path root, object_id id, object_attempt_id attempt, source_pointer older, source_pointer newer, Ops &ops, Compose compose={}, std::optional< std::uint64_t > common=P::value_width)
 
 native_file_merge (native_file_merge const &)=delete
 
native_file_merge & operator= (native_file_merge const &)=delete
 
 native_file_merge (native_file_merge &&)=delete
 
native_file_merge & operator= (native_file_merge &&)=delete
 
bool done () const noexcept
 
bool failed () const noexcept
 
bool finished () const noexcept
 
native_merge_progress progress () const noexcept
 
native_merge_progress step (std::uint64_t key_budget=1)
 
object_seal_receipt finish ()
 
object_write_paths const & paths () const &noexcept
 
object_write_paths const & paths () const &&=delete
 

Private Attributes

profile_detail::native_file_output< P, Ops > output_
 
builder_type builder_
 

Member Typedef Documentation

◆ builder_type

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
using everett::native_file_merge< P, Native, Compose, Ops >::builder_type = native_merge_builder<P, Native, Compose, profile_detail::native_file_output_ref<P, Ops> >

◆ policy_type

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
using everett::native_file_merge< P, Native, Compose, Ops >::policy_type = P

◆ source_pointer

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
using everett::native_file_merge< P, Native, Compose, Ops >::source_pointer = std::shared_ptr<Native const>

Constructor & Destructor Documentation

◆ native_file_merge() [1/4]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
everett::native_file_merge< P, Native, Compose, Ops >::native_file_merge ( std::filesystem::path  root,
object_id  id,
object_attempt_id  attempt,
source_pointer  older,
source_pointer  newer,
Compose  compose = {},
std::optional< std::uint64_t >  common = P::value_width 
)
inline

◆ native_file_merge() [2/4]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
everett::native_file_merge< P, Native, Compose, Ops >::native_file_merge ( std::filesystem::path  root,
object_id  id,
object_attempt_id  attempt,
source_pointer  older,
source_pointer  newer,
Ops &  ops,
Compose  compose = {},
std::optional< std::uint64_t >  common = P::value_width 
)
inline

◆ native_file_merge() [3/4]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
everett::native_file_merge< P, Native, Compose, Ops >::native_file_merge ( native_file_merge< P, Native, Compose, Ops > const &  )
delete

◆ native_file_merge() [4/4]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
everett::native_file_merge< P, Native, Compose, Ops >::native_file_merge ( native_file_merge< P, Native, Compose, Ops > &&  )
delete

Member Function Documentation

◆ done()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
bool everett::native_file_merge< P, Native, Compose, Ops >::done ( ) const
inlinenoexcept

◆ failed()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
bool everett::native_file_merge< P, Native, Compose, Ops >::failed ( ) const
inlinenoexcept

◆ finish()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
object_seal_receipt everett::native_file_merge< P, Native, Compose, Ops >::finish ( )
inline

◆ finished()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
bool everett::native_file_merge< P, Native, Compose, Ops >::finished ( ) const
inlinenoexcept

◆ operator=() [1/2]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
native_file_merge & everett::native_file_merge< P, Native, Compose, Ops >::operator= ( native_file_merge< P, Native, Compose, Ops > &&  )
delete

◆ operator=() [2/2]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
native_file_merge & everett::native_file_merge< P, Native, Compose, Ops >::operator= ( native_file_merge< P, Native, Compose, Ops > const &  )
delete

◆ paths() [1/2]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
object_write_paths const & everett::native_file_merge< P, Native, Compose, Ops >::paths ( ) const &&
delete

◆ paths() [2/2]

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
object_write_paths const & everett::native_file_merge< P, Native, Compose, Ops >::paths ( ) const &
inlinenoexcept

◆ progress()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
native_merge_progress everett::native_file_merge< P, Native, Compose, Ops >::progress ( ) const
inlinenoexcept

◆ step()

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
native_merge_progress everett::native_file_merge< P, Native, Compose, Ops >::step ( std::uint64_t  key_budget = 1)
inline

Member Data Documentation

◆ builder_

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
builder_type everett::native_file_merge< P, Native, Compose, Ops >::builder_
private

◆ output_

template<class P , class Native = profile_array<P>, class Compose = replace_native_value, class Ops = posix_object_ops>
profile_detail::native_file_output<P, Ops> everett::native_file_merge< P, Native, Compose, Ops >::output_
private

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