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

#include <object_writer.h>

Classes

struct  operation
 

Public Types

using policy_type = P
 

Static Public Member Functions

static object_seal_receipt seal (std::filesystem::path const &root, object_id const &id, object_attempt_id const &attempt, file_header< P > const &header, std::span< std::span< std::byte const > const > chunks, Ops &ops)
 
static object_seal_receipt seal (std::filesystem::path const &root, object_id const &id, object_attempt_id const &attempt, file_header< P > const &header, std::span< std::span< std::byte const > const > chunks)
 
static object_seal_receipt seal (std::filesystem::path const &root, object_id const &id, object_attempt_id const &attempt, file_header< P > const &header, std::span< std::byte const > body, Ops &ops)
 
static object_seal_receipt seal (std::filesystem::path const &root, object_id const &id, object_attempt_id const &attempt, file_header< P > const &header, std::span< std::byte const > body)
 

Friends

template<class , class >
struct object_stream
 

Member Typedef Documentation

◆ policy_type

template<class P , class Ops = posix_object_ops>
using everett::object_writer< P, Ops >::policy_type = P

Member Function Documentation

◆ seal() [1/4]

template<class P , class Ops = posix_object_ops>
static object_seal_receipt everett::object_writer< P, Ops >::seal ( std::filesystem::path const &  root,
object_id const &  id,
object_attempt_id const &  attempt,
file_header< P > const &  header,
std::span< std::byte const >  body 
)
inlinestatic

◆ seal() [2/4]

template<class P , class Ops = posix_object_ops>
static object_seal_receipt everett::object_writer< P, Ops >::seal ( std::filesystem::path const &  root,
object_id const &  id,
object_attempt_id const &  attempt,
file_header< P > const &  header,
std::span< std::byte const >  body,
Ops &  ops 
)
inlinestatic

◆ seal() [3/4]

template<class P , class Ops = posix_object_ops>
static object_seal_receipt everett::object_writer< P, Ops >::seal ( std::filesystem::path const &  root,
object_id const &  id,
object_attempt_id const &  attempt,
file_header< P > const &  header,
std::span< std::span< std::byte const > const >  chunks 
)
inlinestatic

◆ seal() [4/4]

template<class P , class Ops = posix_object_ops>
static object_seal_receipt everett::object_writer< P, Ops >::seal ( std::filesystem::path const &  root,
object_id const &  id,
object_attempt_id const &  attempt,
file_header< P > const &  header,
std::span< std::span< std::byte const > const >  chunks,
Ops &  ops 
)
inlinestatic

Friends And Related Symbol Documentation

◆ object_stream

template<class P , class Ops = posix_object_ops>
template<class , class >
friend struct object_stream
friend

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