SI
2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
|
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "detail/unit_symbol.h"
#include "electric_charge.h"
#include "electric_current.h"
#include "energy.h"
#include "power.h"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'U', std::ratio< 1 > > |
struct | SI::unit_symbol< 'U', _ratio > |
Namespaces | |
SI | |
SI::detail | |
Namespace containing implementation details for SI. | |
SI::literals | |
Typedefs | |
template<typename _type , class _ratio = std::ratio<1>> | |
using | SI::electric_potential_t = detail::unit_t< 'U', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_volt_t = electric_potential_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_volt_t = electric_potential_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_volt_t = electric_potential_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_volt_t = electric_potential_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_volt_t = electric_potential_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_volt_t = electric_potential_t< _type, std::milli > |
template<typename _type > | |
using | SI::volt_t = electric_potential_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_volt_t = electric_potential_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_volt_t = electric_potential_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_volt_t = electric_potential_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_volt_t = electric_potential_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_volt_t = electric_potential_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_volt_t = electric_potential_t< _type, std::exa > |
Functions | |
template<char... _digits> | |
constexpr atto_volt_t< int64_t > | SI::literals::operator""_aV () |
template<char... _digits> | |
constexpr femto_volt_t< int64_t > | SI::literals::operator""_fV () |
template<char... _digits> | |
constexpr pico_volt_t< int64_t > | SI::literals::operator""_pV () |
template<char... _digits> | |
constexpr nano_volt_t< int64_t > | SI::literals::operator""_nV () |
template<char... _digits> | |
constexpr micro_volt_t< int64_t > | SI::literals::operator""_uV () |
template<char... _digits> | |
constexpr milli_volt_t< int64_t > | SI::literals::operator""_mV () |
template<char... _digits> | |
constexpr volt_t< int64_t > | SI::literals::operator""_V () |
template<char... _digits> | |
constexpr kilo_volt_t< int64_t > | SI::literals::operator""_kV () |
template<char... _digits> | |
constexpr mega_volt_t< int64_t > | SI::literals::operator""_MV () |
template<char... _digits> | |
constexpr giga_volt_t< int64_t > | SI::literals::operator""_GV () |
template<char... _digits> | |
constexpr tera_volt_t< int64_t > | SI::literals::operator""_TV () |
template<char... _digits> | |
constexpr peta_volt_t< int64_t > | SI::literals::operator""_PV () |
template<char... _digits> | |
constexpr exa_volt_t< int64_t > | SI::literals::operator""_EV () |
constexpr atto_volt_t< long double > | SI::literals::operator""_aV (long double value) |
constexpr femto_volt_t< long double > | SI::literals::operator""_fV (long double value) |
constexpr pico_volt_t< long double > | SI::literals::operator""_pV (long double value) |
constexpr nano_volt_t< long double > | SI::literals::operator""_nV (long double value) |
constexpr micro_volt_t< long double > | SI::literals::operator""_uV (long double value) |
constexpr milli_volt_t< long double > | SI::literals::operator""_mV (long double value) |
constexpr volt_t< long double > | SI::literals::operator""_V (long double value) |
constexpr kilo_volt_t< long double > | SI::literals::operator""_kV (long double value) |
constexpr mega_volt_t< long double > | SI::literals::operator""_MV (long double value) |
constexpr giga_volt_t< long double > | SI::literals::operator""_GV (long double value) |
constexpr tera_volt_t< long double > | SI::literals::operator""_TV (long double value) |
constexpr peta_volt_t< long double > | SI::literals::operator""_PV (long double value) |
constexpr exa_volt_t< long double > | SI::literals::operator""_EV (long double value) |