Everett
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
everett::tombstone_value< Codec > Struct Template Reference

#include <sort_codec.h>

Public Types

using value_type = std::optional< typename Codec::value_type >
 

Static Public Member Functions

static void write (sort_bit_writer &out, value_type const &value)
 
static value_type read (sort_bit_reader &in)
 
static void skip (sort_bit_reader &in)
 

Static Public Attributes

static constexpr std::optional< std::uint64_t > fixed_value_bits
 

Member Typedef Documentation

◆ value_type

template<class Codec >
using everett::tombstone_value< Codec >::value_type = std::optional<typename Codec::value_type>

Member Function Documentation

◆ read()

template<class Codec >
static value_type everett::tombstone_value< Codec >::read ( sort_bit_reader &  in)
inlinestatic

◆ skip()

template<class Codec >
static void everett::tombstone_value< Codec >::skip ( sort_bit_reader &  in)
inlinestatic

◆ write()

template<class Codec >
static void everett::tombstone_value< Codec >::write ( sort_bit_writer &  out,
value_type const &  value 
)
inlinestatic

Member Data Documentation

◆ fixed_value_bits

template<class Codec >
constexpr std::optional<std::uint64_t> everett::tombstone_value< Codec >::fixed_value_bits
staticconstexpr
Initial value:
=
Codec::fixed_value_bits == 0 ? std::optional<std::uint64_t>{1} : std::nullopt

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