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_potential.h"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'C', std::ratio< 1 > > |
struct | SI::unit_symbol< 'C', _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_capacity_t = detail::unit_t< 'C', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_farad_t = electric_capacity_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_farad_t = electric_capacity_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_farad_t = electric_capacity_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_farad_t = electric_capacity_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_farad_t = electric_capacity_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_farad_t = electric_capacity_t< _type, std::milli > |
template<typename _type > | |
using | SI::farad_t = electric_capacity_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_farad_t = electric_capacity_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_farad_t = electric_capacity_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_farad_t = electric_capacity_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_farad_t = electric_capacity_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_farad_t = electric_capacity_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_farad_t = electric_capacity_t< _type, std::exa > |
Functions | |
template<char... _digits> | |
constexpr atto_farad_t< int64_t > | SI::literals::operator""_aF () |
template<char... _digits> | |
constexpr femto_farad_t< int64_t > | SI::literals::operator""_fF () |
template<char... _digits> | |
constexpr pico_farad_t< int64_t > | SI::literals::operator""_pF () |
template<char... _digits> | |
constexpr nano_farad_t< int64_t > | SI::literals::operator""_nF () |
template<char... _digits> | |
constexpr micro_farad_t< int64_t > | SI::literals::operator""_uF () |
template<char... _digits> | |
constexpr milli_farad_t< int64_t > | SI::literals::operator""_mF () |
template<char... _digits> | |
constexpr farad_t< int64_t > | SI::literals::operator""_F () |
template<char... _digits> | |
constexpr kilo_farad_t< int64_t > | SI::literals::operator""_kF () |
template<char... _digits> | |
constexpr mega_farad_t< int64_t > | SI::literals::operator""_MF () |
template<char... _digits> | |
constexpr giga_farad_t< int64_t > | SI::literals::operator""_GF () |
template<char... _digits> | |
constexpr tera_farad_t< int64_t > | SI::literals::operator""_TF () |
template<char... _digits> | |
constexpr peta_farad_t< int64_t > | SI::literals::operator""_PF () |
template<char... _digits> | |
constexpr exa_farad_t< int64_t > | SI::literals::operator""_EF () |
constexpr atto_farad_t< long double > | SI::literals::operator""_aF (long double value) |
constexpr femto_farad_t< long double > | SI::literals::operator""_fF (long double value) |
constexpr pico_farad_t< long double > | SI::literals::operator""_pF (long double value) |
constexpr nano_farad_t< long double > | SI::literals::operator""_nF (long double value) |
constexpr micro_farad_t< long double > | SI::literals::operator""_uF (long double value) |
constexpr milli_farad_t< long double > | SI::literals::operator""_mF (long double value) |
constexpr farad_t< long double > | SI::literals::operator""_F (long double value) |
constexpr kilo_farad_t< long double > | SI::literals::operator""_kF (long double value) |
constexpr mega_farad_t< long double > | SI::literals::operator""_MF (long double value) |
constexpr giga_farad_t< long double > | SI::literals::operator""_GF (long double value) |
constexpr tera_farad_t< long double > | SI::literals::operator""_TF (long double value) |
constexpr peta_farad_t< long double > | SI::literals::operator""_PF (long double value) |
constexpr exa_farad_t< long double > | SI::literals::operator""_EF (long double value) |