OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
units
unit
si
electrical_conductance.hpp
Go to the documentation of this file.
1
9
#ifndef EAGINE_UNITS_UNIT_SI_ELECTRICAL_CONDUCTANCE_HPP
10
#define EAGINE_UNITS_UNIT_SI_ELECTRICAL_CONDUCTANCE_HPP
11
12
#include "../../dim/electrical_conductance.hpp"
13
#include "
common.hpp
"
14
#include "
electric_current.hpp
"
15
#include "
electric_tension.hpp
"
16
17
namespace
eagine::units {
18
19
// siemens
20
using
siemens = unit<electrical_conductance, si>;
21
22
template
<>
23
struct
name_of<siemens> {
24
static
constexpr
const
char
mp_str[] =
"siemens"
;
25
};
26
27
template
<>
28
struct
symbol_of<siemens> {
29
static
constexpr
const
char
mp_str[] =
"S"
;
30
};
31
32
// derived
33
using
millisiemens = make_scaled_unit_t<scales::milli, siemens>;
34
// TODO
35
36
}
// namespace eagine::units
37
38
#endif // EAGINE_UNITS_UNIT_SI_ELECTRICAL_CONDUCTANCE_HPP
electric_current.hpp
electric_tension.hpp
common.hpp
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).