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 "electric_current.h"
#include "electric_potential.h"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'G', std::ratio< 1 > > |
struct | SI::unit_symbol< 'G', _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_conductance_t = detail::unit_t< 'G', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_siemens_t = electric_conductance_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_siemens_t = electric_conductance_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_siemens_t = electric_conductance_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_siemens_t = electric_conductance_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_siemens_t = electric_conductance_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_siemens_t = electric_conductance_t< _type, std::milli > |
template<typename _type > | |
using | SI::siemens_t = electric_conductance_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_siemens_t = electric_conductance_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_siemens_t = electric_conductance_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_siemens_t = electric_conductance_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_siemens_t = electric_conductance_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_siemens_t = electric_conductance_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_siemens_t = electric_conductance_t< _type, std::exa > |
Functions | |
SI::detail::BUILD_UNIT_FROM_DIVISION (electric_conductance_t, electric_current_t, electric_potential_t) template< typename _type | |
template<char... _digits> | |
constexpr atto_siemens_t< int64_t > | SI::literals::operator""_aS () |
template<char... _digits> | |
constexpr femto_siemens_t< int64_t > | SI::literals::operator""_fS () |
template<char... _digits> | |
constexpr pico_siemens_t< int64_t > | SI::literals::operator""_pS () |
template<char... _digits> | |
constexpr nano_siemens_t< int64_t > | SI::literals::operator""_nS () |
template<char... _digits> | |
constexpr micro_siemens_t< int64_t > | SI::literals::operator""_uS () |
template<char... _digits> | |
constexpr milli_siemens_t< int64_t > | SI::literals::operator""_mS () |
template<char... _digits> | |
constexpr siemens_t< int64_t > | SI::literals::operator""_S () |
template<char... _digits> | |
constexpr kilo_siemens_t< int64_t > | SI::literals::operator""_kS () |
template<char... _digits> | |
constexpr mega_siemens_t< int64_t > | SI::literals::operator""_MS () |
template<char... _digits> | |
constexpr giga_siemens_t< int64_t > | SI::literals::operator""_GS () |
template<char... _digits> | |
constexpr tera_siemens_t< int64_t > | SI::literals::operator""_TS () |
template<char... _digits> | |
constexpr peta_siemens_t< int64_t > | SI::literals::operator""_PS () |
template<char... _digits> | |
constexpr exa_siemens_t< int64_t > | SI::literals::operator""_ES () |
constexpr atto_siemens_t< long double > | SI::literals::operator""_aS (long double value) |
constexpr femto_siemens_t< long double > | SI::literals::operator""_fS (long double value) |
constexpr pico_siemens_t< long double > | SI::literals::operator""_pS (long double value) |
constexpr nano_siemens_t< long double > | SI::literals::operator""_nS (long double value) |
constexpr micro_siemens_t< long double > | SI::literals::operator""_uS (long double value) |
constexpr milli_siemens_t< long double > | SI::literals::operator""_mS (long double value) |
constexpr siemens_t< long double > | SI::literals::operator""_S (long double value) |
constexpr kilo_siemens_t< long double > | SI::literals::operator""_kS (long double value) |
constexpr mega_siemens_t< long double > | SI::literals::operator""_MS (long double value) |
constexpr giga_siemens_t< long double > | SI::literals::operator""_GS (long double value) |
constexpr tera_siemens_t< long double > | SI::literals::operator""_TS (long double value) |
constexpr peta_siemens_t< long double > | SI::literals::operator""_PS (long double value) |
constexpr exa_siemens_t< long double > | SI::literals::operator""_ES (long double value) |