MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
current.hpp
Go to the documentation of this file.
1/*
2
3Copyright 2025 Matthew Tolman
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16
17*/
18
19#ifndef MTCORE_UNITS_CURRENT_CURRENT_HPP
20#define MTCORE_UNITS_CURRENT_CURRENT_HPP
21
22#include "mtcore/units/base.hpp"
23
24namespace mtcore::units {
25 namespace current {
43
44 constexpr auto attoamp = attoampere;
45 constexpr auto femtoamp = femtoampere;
46 constexpr auto picoamp = picoampere;
47 constexpr auto nanoamp = nanoampere;
48 constexpr auto microamp = microampere;
49 constexpr auto milliamp = milliampere;
50 constexpr auto centiamp = centiampere;
51 constexpr auto deciamp = deciampere;
52 constexpr auto amp = ampere;
53 constexpr auto decaamp = decaampere;
54 constexpr auto hectoamp = hectoampere;
55 constexpr auto kiloamp = kiloampere;
56 constexpr auto megaamp = megaampere;
57 constexpr auto gigaamp = gigaampere;
58 constexpr auto teraamp = teraampere;
59 constexpr auto petaamp = petaampere;
60 constexpr auto exaamp = exaampere;
61 } // namespace current
62
63 MTCORE_DEF_UNIT_NAME_SI(current, ampere, amp, A)
64} // namespace mtcore::units
65
66#endif // MTCORE_UNITS_CURRENT_CURRENT_HPP
constexpr auto deciamp
Definition current.hpp:51
constexpr auto picoamp
Definition current.hpp:46
constexpr auto nanoamp
Definition current.hpp:47
constexpr auto attoamp
Definition current.hpp:44
constexpr auto decaamp
Definition current.hpp:53
constexpr auto gigaampere
Definition current.hpp:39
constexpr auto petaampere
Definition current.hpp:41
constexpr auto amp
Definition current.hpp:52
constexpr auto megaamp
Definition current.hpp:56
constexpr auto gigaamp
Definition current.hpp:57
constexpr auto decaampere
Definition current.hpp:35
constexpr auto centiamp
Definition current.hpp:50
constexpr auto exaampere
Definition current.hpp:42
constexpr auto femtoampere
Definition current.hpp:27
constexpr auto picoampere
Definition current.hpp:28
constexpr auto microampere
Definition current.hpp:30
constexpr auto deciampere
Definition current.hpp:33
constexpr auto petaamp
Definition current.hpp:59
constexpr auto kiloamp
Definition current.hpp:55
constexpr auto hectoampere
Definition current.hpp:36
constexpr auto kiloampere
Definition current.hpp:37
constexpr auto megaampere
Definition current.hpp:38
constexpr auto nanoampere
Definition current.hpp:29
constexpr auto teraampere
Definition current.hpp:40
constexpr auto milliamp
Definition current.hpp:49
constexpr auto teraamp
Definition current.hpp:58
constexpr auto microamp
Definition current.hpp:48
constexpr auto milliampere
Definition current.hpp:31
constexpr auto centiampere
Definition current.hpp:32
constexpr auto exaamp
Definition current.hpp:60
constexpr auto femtoamp
Definition current.hpp:45
constexpr auto hectoamp
Definition current.hpp:54
constexpr auto ampere
Definition current.hpp:34
constexpr auto attoampere
Definition current.hpp:26
Base namespace for units.
Definition angle.hpp:24
List of units.
#define MTCORE_DEF_UNIT_NAME_SI(NS, UNIT, US_NAME, ABBREV)