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

#include <native_writer.h>

Public Types

using policy_type = P
 

Public Member Functions

 native_output (std::optional< std::uint64_t > common_value_width)
 
 native_output (native_output const &)=delete
 
native_output & operator= (native_output const &)=delete
 
 native_output (native_output &&other) noexcept
 
native_output & operator= (native_output &&other) noexcept
 
std::uint64_t size () const noexcept
 
bool finished () const noexcept
 
bool failed () const noexcept
 
std::optional< std::uint64_t > common_value_width () const noexcept
 
void require_active () const
 
void append (std::uint64_t retained, bit_view literal, bit_view value)
 
profile_array< P > finish ()
 

Private Attributes

bit_string data_
 
std::vector< std::uint64_t > offsets_
 
std::optional< std::uint64_t > common_
 
std::uint64_t count_ = 0
 
std::uint64_t previous_units_ = 0
 
bool finished_ = false
 

Member Typedef Documentation

◆ policy_type

template<class P >
using everett::profile_detail::native_output< P >::policy_type = P

Constructor & Destructor Documentation

◆ native_output() [1/3]

template<class P >
everett::profile_detail::native_output< P >::native_output ( std::optional< std::uint64_t >  common_value_width)
inlineexplicit

◆ native_output() [2/3]

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

◆ native_output() [3/3]

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

Member Function Documentation

◆ append()

template<class P >
void everett::profile_detail::native_output< P >::append ( std::uint64_t  retained,
bit_view  literal,
bit_view  value 
)
inline

◆ common_value_width()

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

◆ failed()

template<class P >
bool everett::profile_detail::native_output< P >::failed ( ) const
inlinenoexcept

◆ finish()

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

◆ finished()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ require_active()

template<class P >
void everett::profile_detail::native_output< P >::require_active ( ) const
inline

◆ size()

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

Member Data Documentation

◆ common_

template<class P >
std::optional<std::uint64_t> everett::profile_detail::native_output< P >::common_
private

◆ count_

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

◆ data_

template<class P >
bit_string everett::profile_detail::native_output< P >::data_
private

◆ finished_

template<class P >
bool everett::profile_detail::native_output< P >::finished_ = false
private

◆ offsets_

template<class P >
std::vector<std::uint64_t> everett::profile_detail::native_output< P >::offsets_
private

◆ previous_units_

template<class P >
std::uint64_t everett::profile_detail::native_output< P >::previous_units_ = 0
private

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