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

#include <replacement_rebuild.h>

Inheritance diagram for everett::replacement_world< P, A, Family >:
everett::typed_world< P, A, Family >

Public Types

using base_type = typed_world< P, A, Family >
 
using metadata_type = replacement_metadata< A >
 
using runtime_snapshot = typename Family::snapshot_type
 
- Public Types inherited from everett::typed_world< P, A, Family >
using policy_type = P
 
using metadata_type = typed_world_metadata< A >
 
using runtime_family = Family
 
using key_transport = typed_detail::transport_t< P, Family >
 
using runtime_snapshot = typename Family::snapshot_type
 
using contribution_type = typed_contribution< P, A, Family >
 
using batch_type = typed_batch< P, A, Family >
 

Public Member Functions

 replacement_world (base_type value, std::uint64_t b=0, std::uint64_t u=0, bool active=false)
 
metadata_type const & metadata () const &noexcept
 
- Public Member Functions inherited from everett::typed_world< P, A, Family >
runtime_snapshot const & runtime () const &noexcept
 
runtime_snapshot const & runtime () const &&=delete
 
metadata_type const & metadata () const &noexcept
 
auto signature () const
 
std::uint64_t live_count () const noexcept
 
template<class S = typed_detail::default_sort_t<P>>
typed_detail::state_t< S > get (typed_detail::key_t< S > const &key) const
 
batch_type batch () const
 
template<class S = typed_detail::default_sort_t<P>>
contribution_type change (typed_detail::key_t< S > const &key, typed_detail::arrow_t< S > const &arrow) const
 
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
contribution_type put (typed_detail::key_t< S > const &key, typed_detail::state_t< S > const &value) const
 
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
contribution_type erase (typed_detail::key_t< S > const &key) const
 
template<class S >
auto change (typed_detail::key_t< S > const &key, typed_detail::arrow_t< S > const &arrow) const -> contribution_type
 
template<class S >
requires typed_detail::replacement<S>
auto put (typed_detail::key_t< S > const &key, typed_detail::state_t< S > const &value) const -> contribution_type
 
template<class S >
requires typed_detail::replacement<S>
auto erase (typed_detail::key_t< S > const &key) const -> contribution_type
 

Static Public Member Functions

static replacement_world restore (runtime_snapshot data, metadata_type metadata, std::string_view schema)
 
- Static Public Member Functions inherited from everett::typed_world< P, A, Family >
static typed_world restore (runtime_snapshot data, metadata_type metadata, std::string_view expected_schema)
 

Private Attributes

std::shared_ptr< metadata_type const > metadata_
 

Member Typedef Documentation

◆ base_type

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
using everett::replacement_world< P, A, Family >::base_type = typed_world<P, A, Family>

◆ metadata_type

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
using everett::replacement_world< P, A, Family >::metadata_type = replacement_metadata<A>

◆ runtime_snapshot

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
using everett::replacement_world< P, A, Family >::runtime_snapshot = typename Family::snapshot_type

Constructor & Destructor Documentation

◆ replacement_world()

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
everett::replacement_world< P, A, Family >::replacement_world ( base_type  value,
std::uint64_t  b = 0,
std::uint64_t  u = 0,
bool  active = false 
)
inline

Member Function Documentation

◆ metadata()

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
metadata_type const & everett::replacement_world< P, A, Family >::metadata ( ) const &
inlinenoexcept

◆ restore()

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
static replacement_world everett::replacement_world< P, A, Family >::restore ( runtime_snapshot  data,
metadata_type  metadata,
std::string_view  schema 
)
inlinestatic

Member Data Documentation

◆ metadata_

template<class P = storage_policy<>, class A = wrapping_fingerprint_algebra, class Family = redundant_runtime_family<P>>
std::shared_ptr<metadata_type const> everett::replacement_world< P, A, Family >::metadata_
private

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