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.
|
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'M', std::ratio< 1 > > |
struct | SI::unit_symbol< 'M', std::milli > |
struct | SI::unit_symbol< 'M', std::kilo > |
struct | SI::unit_symbol< 'M', std::exa > |
struct | SI::unit_symbol< 'M', _ratio > |
Namespaces | |
SI | |
SI::literals | |
Typedefs | |
template<typename _type , typename _ratio > | |
using | SI::mass_t = detail::unit_t< 'M', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::femto_gram_t = mass_t< _type, std::atto > |
template<typename _type > | |
using | SI::pico_gram_t = mass_t< _type, std::femto > |
template<typename _type > | |
using | SI::nano_gram_t = mass_t< _type, std::pico > |
template<typename _type > | |
using | SI::micro_gram_t = mass_t< _type, std::nano > |
template<typename _type > | |
using | SI::milli_gram_t = mass_t< _type, std::micro > |
template<typename _type > | |
using | SI::gram_t = mass_t< _type, std::milli > |
template<typename _type > | |
using | SI::kilo_gram_t = mass_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::ton_t = mass_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_gram_t = ton_t< _type > |
template<typename _type > | |
using | SI::kilo_ton_t = mass_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_gram_t = kilo_ton_t< _type > |
template<typename _type > | |
using | SI::mega_ton_t = mass_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_gram_t = mega_ton_t< _type > |
template<typename _type > | |
using | SI::giga_ton_t = mass_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_gram_t = giga_ton_t< _type > |
template<typename _type > | |
using | SI::tera_ton_t = mass_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_gram_t = tera_ton_t< _type > |
template<typename _type > | |
using | SI::peta_ton_t = mass_t< _type, std::exa > |
template<typename _type > | |
using | SI::zetta_gram_t = peta_ton_t< _type > |
Functions | |
template<char... _digits> | |
constexpr femto_gram_t< int64_t > | SI::literals::operator""_fg () |
template<char... _digits> | |
constexpr pico_gram_t< int64_t > | SI::literals::operator""_pg () |
template<char... _digits> | |
constexpr nano_gram_t< int64_t > | SI::literals::operator""_ng () |
template<char... _digits> | |
constexpr micro_gram_t< int64_t > | SI::literals::operator""_ug () |
template<char... _digits> | |
constexpr milli_gram_t< int64_t > | SI::literals::operator""_mg () |
template<char... _digits> | |
constexpr gram_t< int64_t > | SI::literals::operator""_g () |
template<char... _digits> | |
constexpr kilo_gram_t< int64_t > | SI::literals::operator""_kg () |
template<char... _digits> | |
constexpr ton_t< int64_t > | SI::literals::operator""_t () |
template<char... _digits> | |
constexpr kilo_ton_t< int64_t > | SI::literals::operator""_kt () |
template<char... _digits> | |
constexpr mega_ton_t< int64_t > | SI::literals::operator""_Mt () |
template<char... _digits> | |
constexpr giga_ton_t< int64_t > | SI::literals::operator""_Gt () |
template<char... _digits> | |
constexpr tera_ton_t< int64_t > | SI::literals::operator""_Tt () |
template<char... _digits> | |
constexpr peta_ton_t< int64_t > | SI::literals::operator""_Pt () |
template<char... _digits> | |
constexpr mega_gram_t< int64_t > | SI::literals::operator""_Mg () |
template<char... _digits> | |
constexpr giga_gram_t< int64_t > | SI::literals::operator""_Gg () |
template<char... _digits> | |
constexpr tera_gram_t< int64_t > | SI::literals::operator""_Tg () |
template<char... _digits> | |
constexpr peta_gram_t< int64_t > | SI::literals::operator""_Pg () |
template<char... _digits> | |
constexpr exa_gram_t< int64_t > | SI::literals::operator""_Eg () |
template<char... _digits> | |
constexpr zetta_gram_t< int64_t > | SI::literals::operator""_Zg () |
constexpr femto_gram_t< long double > | SI::literals::operator""_fg (long double value) |
constexpr pico_gram_t< long double > | SI::literals::operator""_pg (long double value) |
constexpr nano_gram_t< long double > | SI::literals::operator""_ng (long double value) |
constexpr micro_gram_t< long double > | SI::literals::operator""_ug (long double value) |
constexpr milli_gram_t< long double > | SI::literals::operator""_mg (long double mg) |
constexpr gram_t< long double > | SI::literals::operator""_g (long double g) |
constexpr kilo_gram_t< long double > | SI::literals::operator""_kg (long double kg) |
constexpr ton_t< long double > | SI::literals::operator""_t (long double t) |
constexpr kilo_ton_t< long double > | SI::literals::operator""_kt (long double t) |
constexpr mega_ton_t< long double > | SI::literals::operator""_Mt (long double t) |
constexpr giga_ton_t< long double > | SI::literals::operator""_Gt (long double t) |
constexpr tera_ton_t< long double > | SI::literals::operator""_Tt (long double t) |
constexpr peta_ton_t< long double > | SI::literals::operator""_Pt (long double t) |
constexpr mega_gram_t< long double > | SI::literals::operator""_Mg (long double value) |
constexpr giga_gram_t< long double > | SI::literals::operator""_Gg (long double value) |
constexpr tera_gram_t< long double > | SI::literals::operator""_Tg (long double value) |
constexpr peta_gram_t< long double > | SI::literals::operator""_Pg (long double value) |
constexpr exa_gram_t< long double > | SI::literals::operator""_Eg (long double value) |
constexpr zetta_gram_t< long double > | SI::literals::operator""_Zg (long double value) |