BitStream
bitstream::serialize_traits< bounded_range > Struct Reference

A trait used to quantize and serialize a float to be within a given range and precision. More...

#include <quantization_traits.h>

Static Public Member Functions

template<typename Stream >
static utility::is_writing_t< Stream > serialize (Stream &stream, in< bounded_range > range, in< float > value) noexcept
 
template<typename Stream >
static utility::is_reading_t< Stream > serialize (Stream &stream, in< bounded_range > range, out< float > value) noexcept
 

Detailed Description

A trait used to quantize and serialize a float to be within a given range and precision.

Member Function Documentation

◆ serialize() [1/2]

template<typename Stream >
static utility::is_writing_t<Stream> bitstream::serialize_traits< bounded_range >::serialize ( Stream &  stream,
in< bounded_range range,
in< float >  value 
)
inlinestaticnoexcept

◆ serialize() [2/2]

template<typename Stream >
static utility::is_reading_t<Stream> bitstream::serialize_traits< bounded_range >::serialize ( Stream &  stream,
in< bounded_range range,
out< float >  value 
)
inlinestaticnoexcept

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