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

#include <typed_world.h>

Public Member Functions

 typed_batch ()=default
 
 typed_batch (typed_world< P, A, Family > base)
 
template<class S = typed_detail::default_sort_t<P>>
typed_batch & change (typed_detail::key_t< S > const &key, typed_detail::arrow_t< S > const &arrow)
 
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
typed_batch & put (typed_detail::key_t< S > const &key, typed_detail::state_t< S > const &value)
 
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
typed_batch & erase (typed_detail::key_t< S > const &key)
 
typed_contribution< P, A, Family > finish () &&
 

Private Attributes

std::optional< typed_world< P, A, Family > > base_
 
std::vector< profile_record > records_
 

Constructor & Destructor Documentation

◆ typed_batch() [1/2]

template<class P , class A , class Family >
everett::typed_batch< P, A, Family >::typed_batch ( )
default

◆ typed_batch() [2/2]

template<class P , class A , class Family >
everett::typed_batch< P, A, Family >::typed_batch ( typed_world< P, A, Family >  base)
inlineexplicit

Member Function Documentation

◆ change()

template<class P , class A , class Family >
template<class S = typed_detail::default_sort_t<P>>
typed_batch & everett::typed_batch< P, A, Family >::change ( typed_detail::key_t< S > const &  key,
typed_detail::arrow_t< S > const &  arrow 
)
inline

◆ erase()

template<class P , class A , class Family >
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
typed_batch & everett::typed_batch< P, A, Family >::erase ( typed_detail::key_t< S > const &  key)
inline

◆ finish()

template<class P , class A , class Family >
typed_contribution< P, A, Family > everett::typed_batch< P, A, Family >::finish ( ) &&
inline

◆ put()

template<class P , class A , class Family >
template<class S = typed_detail::default_sort_t<P>>
requires typed_detail::replacement<S>
typed_batch & everett::typed_batch< P, A, Family >::put ( typed_detail::key_t< S > const &  key,
typed_detail::state_t< S > const &  value 
)
inline

Member Data Documentation

◆ base_

template<class P , class A , class Family >
std::optional<typed_world<P, A, Family> > everett::typed_batch< P, A, Family >::base_
private

◆ records_

template<class P , class A , class Family >
std::vector<profile_record> everett::typed_batch< P, A, Family >::records_
private

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