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

#include <native_writer.h>

Public Types

using policy_type = P
 

Public Member Functions

 profile_native_writer (std::optional< std::uint64_t > common_value_width=P::value_width)
 
 profile_native_writer (profile_native_writer const &)=delete
 
profile_native_writer & operator= (profile_native_writer const &)=delete
 
 profile_native_writer (profile_native_writer &&other) noexcept
 
profile_native_writer & operator= (profile_native_writer &&other) noexcept
 
std::uint64_t size () const noexcept
 
bool finished () const noexcept
 
std::optional< std::uint64_t > common_value_width () const noexcept
 
void append (bit_view key, bit_view value, std::optional< std::uint64_t > retained_limit_bits={})
 
void append (profile_record const &record)
 
profile_array< P > finish ()
 

Static Public Attributes

static constexpr stream_role role = stream_role::native
 

Private Attributes

profile_detail::native_output< P > output_
 
bit_string previous_
 

Member Typedef Documentation

◆ policy_type

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

Constructor & Destructor Documentation

◆ profile_native_writer() [1/3]

template<class P >
everett::profile_native_writer< P >::profile_native_writer ( std::optional< std::uint64_t >  common_value_width = P::value_width)
inlineexplicit

◆ profile_native_writer() [2/3]

template<class P >
everett::profile_native_writer< P >::profile_native_writer ( profile_native_writer< P > const &  )
delete

◆ profile_native_writer() [3/3]

template<class P >
everett::profile_native_writer< P >::profile_native_writer ( profile_native_writer< P > &&  other)
inlinenoexcept

Member Function Documentation

◆ append() [1/2]

template<class P >
void everett::profile_native_writer< P >::append ( bit_view  key,
bit_view  value,
std::optional< std::uint64_t >  retained_limit_bits = {} 
)
inline

◆ append() [2/2]

template<class P >
void everett::profile_native_writer< P >::append ( profile_record const &  record)
inline

◆ common_value_width()

template<class P >
std::optional< std::uint64_t > everett::profile_native_writer< P >::common_value_width ( ) const
inlinenoexcept

◆ finish()

template<class P >
profile_array< P > everett::profile_native_writer< P >::finish ( )
inline

◆ finished()

template<class P >
bool everett::profile_native_writer< P >::finished ( ) const
inlinenoexcept

◆ operator=() [1/2]

template<class P >
profile_native_writer & everett::profile_native_writer< P >::operator= ( profile_native_writer< P > &&  other)
inlinenoexcept

◆ operator=() [2/2]

template<class P >
profile_native_writer & everett::profile_native_writer< P >::operator= ( profile_native_writer< P > const &  )
delete

◆ size()

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

Member Data Documentation

◆ output_

template<class P >
profile_detail::native_output<P> everett::profile_native_writer< P >::output_
private

◆ previous_

template<class P >
bit_string everett::profile_native_writer< P >::previous_
private

◆ role

template<class P >
constexpr stream_role everett::profile_native_writer< P >::role = stream_role::native
staticconstexpr

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