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

#include <sort_profile_adaptive.h>

Public Types

using stream_type = object_stream< P, Ops >
 

Public Member Functions

 lazy_native_stream (Factory factory)
 
bool spilled () const noexcept
 
bool failed () const noexcept
 
std::uint64_t body_bytes () const noexcept
 
void start ()
 
void append (std::span< std::byte const > bytes)
 
object_seal_receipt finish (file_header< P > const &header, std::span< std::byte const > directory)
 
object_write_paths const & paths () const &
 
object_write_paths const & paths () const &&=delete
 
void poison () noexcept
 

Private Attributes

Factory factory_
 
std::unique_ptr< stream_type > stream_
 
bool failed_ = false
 

Member Typedef Documentation

◆ stream_type

template<class P , class Ops , class Factory >
using everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::stream_type = object_stream<P, Ops>

Constructor & Destructor Documentation

◆ lazy_native_stream()

template<class P , class Ops , class Factory >
everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::lazy_native_stream ( Factory  factory)
inlineexplicit

Member Function Documentation

◆ append()

template<class P , class Ops , class Factory >
void everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::append ( std::span< std::byte const >  bytes)
inline

◆ body_bytes()

template<class P , class Ops , class Factory >
std::uint64_t everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::body_bytes ( ) const
inlinenoexcept

◆ failed()

template<class P , class Ops , class Factory >
bool everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::failed ( ) const
inlinenoexcept

◆ finish()

template<class P , class Ops , class Factory >
object_seal_receipt everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::finish ( file_header< P > const &  header,
std::span< std::byte const >  directory 
)
inline

◆ paths() [1/2]

template<class P , class Ops , class Factory >
object_write_paths const & everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::paths ( ) const &
inline

◆ paths() [2/2]

template<class P , class Ops , class Factory >
object_write_paths const & everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::paths ( ) const &&
delete

◆ poison()

template<class P , class Ops , class Factory >
void everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::poison ( )
inlinenoexcept

◆ spilled()

template<class P , class Ops , class Factory >
bool everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::spilled ( ) const
inlinenoexcept

◆ start()

template<class P , class Ops , class Factory >
void everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::start ( )
inline

Member Data Documentation

◆ factory_

template<class P , class Ops , class Factory >
Factory everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::factory_
private

◆ failed_

template<class P , class Ops , class Factory >
bool everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::failed_ = false
private

◆ stream_

template<class P , class Ops , class Factory >
std::unique_ptr<stream_type> everett::sort_profile_detail::lazy_native_stream< P, Ops, Factory >::stream_
private

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