Everett
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
everett::profile_sample_decoder< P > Struct Template Reference

#include <sampling.h>

Public Types

using policy_type = P
 

Public Member Functions

bit_view accept (profile_coded_sample< P > const &sample)
 
bit_view key () const &
 
bit_view key () const &&=delete
 
std::uint64_t size () const noexcept
 

Private Member Functions

bit_comparison accept_full (bit_view key, std::uint64_t ordinal)
 
std::pair< bit_view, bit_comparison > accept_compared (profile_coded_sample< P > const &sample)
 

Private Attributes

bit_string key_
 
std::uint64_t count_ = 0
 

Friends

template<class , class , class >
struct index_builder
 

Member Typedef Documentation

◆ policy_type

template<class P >
using everett::profile_sample_decoder< P >::policy_type = P

Member Function Documentation

◆ accept()

template<class P >
bit_view everett::profile_sample_decoder< P >::accept ( profile_coded_sample< P > const &  sample)
inline

◆ accept_compared()

template<class P >
std::pair< bit_view, bit_comparison > everett::profile_sample_decoder< P >::accept_compared ( profile_coded_sample< P > const &  sample)
inlineprivate

◆ accept_full()

template<class P >
bit_comparison everett::profile_sample_decoder< P >::accept_full ( bit_view  key,
std::uint64_t  ordinal 
)
inlineprivate

◆ key() [1/2]

template<class P >
bit_view everett::profile_sample_decoder< P >::key ( ) const &
inline

◆ key() [2/2]

template<class P >
bit_view everett::profile_sample_decoder< P >::key ( ) const &&
delete

◆ size()

template<class P >
std::uint64_t everett::profile_sample_decoder< P >::size ( ) const
inlinenoexcept

Friends And Related Symbol Documentation

◆ index_builder

template<class P >
template<class , class , class >
friend struct index_builder
friend

Member Data Documentation

◆ count_

template<class P >
std::uint64_t everett::profile_sample_decoder< P >::count_ = 0
private

◆ key_

template<class P >
bit_string everett::profile_sample_decoder< P >::key_
private

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