electro 0.3.0
Type-safe electrical units library modeled after std::chrono
Loading...
Searching...
No Matches
electro::volt_reference Struct Reference

Reference of 1 V, for dBV. More...

#include <electro/decibel.hpp>

Public Types

using unit = volt_unit
 
using precision = std::ratio< 1 >
 

Static Public Attributes

static constexpr int factor = 20
 
static constexpr const charsymbol = "dBV"
 

Detailed Description

Reference of 1 V, for dBV.

Definition at line 120 of file decibel.hpp.

Member Typedef Documentation

◆ precision

Definition at line 122 of file decibel.hpp.

◆ unit

Member Data Documentation

◆ factor

constexpr int electro::volt_reference::factor = 20
staticconstexpr

Definition at line 123 of file decibel.hpp.

◆ symbol

constexpr const char* electro::volt_reference::symbol = "dBV"
staticconstexpr

Definition at line 124 of file decibel.hpp.


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