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"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'H', std::ratio< 1 > > |
struct | SI::unit_symbol< 'H', _ratio > |
Namespaces | |
SI | |
SI::literals | |
Typedefs | |
template<typename _type , class _ratio = std::ratio<1>> | |
using | SI::equivalent_dose_t = detail::unit_t< 'H', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_sievert_t = equivalent_dose_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_sievert_t = equivalent_dose_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_sievert_t = equivalent_dose_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_sievert_t = equivalent_dose_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_sievert_t = equivalent_dose_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_sievert_t = equivalent_dose_t< _type, std::milli > |
template<typename _type > | |
using | SI::sievert_t = equivalent_dose_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_sievert_t = equivalent_dose_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_sievert_t = equivalent_dose_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_sievert_t = equivalent_dose_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_sievert_t = equivalent_dose_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_sievert_t = equivalent_dose_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_sievert_t = equivalent_dose_t< _type, std::exa > |
Functions | |
template<char... _digits> | |
constexpr atto_sievert_t< int64_t > | SI::literals::operator""_aSv () |
template<char... _digits> | |
constexpr femto_sievert_t< int64_t > | SI::literals::operator""_fSv () |
template<char... _digits> | |
constexpr pico_sievert_t< int64_t > | SI::literals::operator""_pSv () |
template<char... _digits> | |
constexpr nano_sievert_t< int64_t > | SI::literals::operator""_nSv () |
template<char... _digits> | |
constexpr micro_sievert_t< int64_t > | SI::literals::operator""_uSv () |
template<char... _digits> | |
constexpr milli_sievert_t< int64_t > | SI::literals::operator""_mSv () |
template<char... _digits> | |
constexpr sievert_t< int64_t > | SI::literals::operator""_Sv () |
template<char... _digits> | |
constexpr kilo_sievert_t< int64_t > | SI::literals::operator""_kSv () |
template<char... _digits> | |
constexpr mega_sievert_t< int64_t > | SI::literals::operator""_MSv () |
template<char... _digits> | |
constexpr giga_sievert_t< int64_t > | SI::literals::operator""_GSv () |
template<char... _digits> | |
constexpr tera_sievert_t< int64_t > | SI::literals::operator""_TSv () |
template<char... _digits> | |
constexpr peta_sievert_t< int64_t > | SI::literals::operator""_PSv () |
template<char... _digits> | |
constexpr exa_sievert_t< int64_t > | SI::literals::operator""_ESv () |
constexpr atto_sievert_t< long double > | SI::literals::operator""_aSv (long double value) |
constexpr femto_sievert_t< long double > | SI::literals::operator""_fSv (long double value) |
constexpr pico_sievert_t< long double > | SI::literals::operator""_pSv (long double value) |
constexpr nano_sievert_t< long double > | SI::literals::operator""_nSv (long double value) |
constexpr micro_sievert_t< long double > | SI::literals::operator""_uSv (long double value) |
constexpr milli_sievert_t< long double > | SI::literals::operator""_mSv (long double value) |
constexpr sievert_t< long double > | SI::literals::operator""_Sv (long double value) |
constexpr kilo_sievert_t< long double > | SI::literals::operator""_kSv (long double value) |
constexpr mega_sievert_t< long double > | SI::literals::operator""_MSv (long double value) |
constexpr giga_sievert_t< long double > | SI::literals::operator""_GSv (long double value) |
constexpr tera_sievert_t< long double > | SI::literals::operator""_TSv (long double value) |
constexpr peta_sievert_t< long double > | SI::literals::operator""_PSv (long double value) |
constexpr exa_sievert_t< long double > | SI::literals::operator""_ESv (long double value) |