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 "acceleration.h"
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "mass.h"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'F', std::ratio< 1 > > |
struct | SI::unit_symbol< 'F', _ratio > |
Namespaces | |
SI | |
SI::detail | |
Namespace containing implementation details for SI. | |
SI::literals | |
Typedefs | |
template<typename _type , class _ratio = std::ratio<1>> | |
using | SI::force_t = detail::unit_t< 'F', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_newton_t = force_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_newton_t = force_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_newton_t = force_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_newton_t = force_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_newton_t = force_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_newton_t = force_t< _type, std::milli > |
template<typename _type > | |
using | SI::newton_t = force_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_newton_t = force_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_newton_t = force_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_newton_t = force_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_newton_t = force_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_newton_t = force_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_newton_t = force_t< _type, std::exa > |
Functions | |
template<char... _digits> | |
constexpr atto_newton_t< int64_t > | SI::literals::operator""_aN () |
template<char... _digits> | |
constexpr femto_newton_t< int64_t > | SI::literals::operator""_fN () |
template<char... _digits> | |
constexpr pico_newton_t< int64_t > | SI::literals::operator""_pN () |
template<char... _digits> | |
constexpr nano_newton_t< int64_t > | SI::literals::operator""_nN () |
template<char... _digits> | |
constexpr micro_newton_t< int64_t > | SI::literals::operator""_uN () |
template<char... _digits> | |
constexpr milli_newton_t< int64_t > | SI::literals::operator""_mN () |
template<char... _digits> | |
constexpr newton_t< int64_t > | SI::literals::operator""_N () |
template<char... _digits> | |
constexpr kilo_newton_t< int64_t > | SI::literals::operator""_kN () |
template<char... _digits> | |
constexpr mega_newton_t< int64_t > | SI::literals::operator""_MN () |
template<char... _digits> | |
constexpr giga_newton_t< int64_t > | SI::literals::operator""_GN () |
template<char... _digits> | |
constexpr tera_newton_t< int64_t > | SI::literals::operator""_TN () |
template<char... _digits> | |
constexpr peta_newton_t< int64_t > | SI::literals::operator""_PN () |
template<char... _digits> | |
constexpr exa_newton_t< int64_t > | SI::literals::operator""_EN () |
constexpr atto_newton_t< long double > | SI::literals::operator""_aN (long double value) |
constexpr femto_newton_t< long double > | SI::literals::operator""_fN (long double value) |
constexpr pico_newton_t< long double > | SI::literals::operator""_pN (long double value) |
constexpr nano_newton_t< long double > | SI::literals::operator""_nN (long double value) |
constexpr micro_newton_t< long double > | SI::literals::operator""_uN (long double value) |
constexpr milli_newton_t< long double > | SI::literals::operator""_mN (long double value) |
constexpr newton_t< long double > | SI::literals::operator""_N (long double value) |
constexpr kilo_newton_t< long double > | SI::literals::operator""_kN (long double value) |
constexpr mega_newton_t< long double > | SI::literals::operator""_MN (long double value) |
constexpr giga_newton_t< long double > | SI::literals::operator""_GN (long double value) |
constexpr tera_newton_t< long double > | SI::literals::operator""_TN (long double value) |
constexpr peta_newton_t< long double > | SI::literals::operator""_PN (long double value) |
constexpr exa_newton_t< long double > | SI::literals::operator""_EN (long double value) |