units_decibel_scale(3)

units::decibel_scale< T >(3) Unit Conversion and Dimensional Analysis Library units::decibel_scale< T >(3)

NAME

units::decibel_scale< T > - unit_t scale for representing decibel values.

SYNOPSIS

#include <units.h>

Public Member Functions


constexpr decibel_scale (const decibel_scale &)=default
decibel_scale & operator= (const decibel_scale &)=default
constexpr decibel_scale (const T value) noexcept
template<class... Args> constexpr decibel_scale (const T value, std::true_type, Args &&...) noexcept
constexpr T operator() () const noexcept

Public Attributes


T m_value
linearized value

Detailed Description

template<typename T>

struct units::decibel_scale< T >"unit_t scale for representing decibel values.

internally stores linearized values. operator() returns the value in dB.

Template Parameters

T underlying storage type

See also

unit_t

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Mar 29 2023 Version 2.3.0