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.
Classes | Namespaces | Typedefs | Functions
magnetic_field.h File Reference
#include "area.h"
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "detail/unit_symbol.h"
#include "magnetic_flux.h"
Include dependency graph for magnetic_field.h:

Go to the source code of this file.

Classes

struct  SI::unit_symbol< 'B', std::ratio< 1 > >
 
struct  SI::unit_symbol< 'B', _ratio >
 

Namespaces

 SI
 
 SI::detail
 Namespace containing implementation details for SI.
 
 SI::literals
 

Typedefs

template<typename _type , class _ratio = std::ratio<1>>
using SI::magnetic_field_t = detail::unit_t< 'B', std::ratio< 1 >, _type, _ratio >
 
template<typename _type >
using SI::atto_tesla_t = magnetic_field_t< _type, std::atto >
 specific units More...
 
template<typename _type >
using SI::femto_tesla_t = magnetic_field_t< _type, std::femto >
 
template<typename _type >
using SI::pico_tesla_t = magnetic_field_t< _type, std::pico >
 
template<typename _type >
using SI::nano_tesla_t = magnetic_field_t< _type, std::nano >
 
template<typename _type >
using SI::micro_tesla_t = magnetic_field_t< _type, std::micro >
 
template<typename _type >
using SI::milli_tesla_t = magnetic_field_t< _type, std::milli >
 
template<typename _type >
using SI::tesla_t = magnetic_field_t< _type, std::ratio< 1 > >
 
template<typename _type >
using SI::kilo_tesla_t = magnetic_field_t< _type, std::kilo >
 
template<typename _type >
using SI::mega_tesla_t = magnetic_field_t< _type, std::mega >
 
template<typename _type >
using SI::giga_tesla_t = magnetic_field_t< _type, std::giga >
 
template<typename _type >
using SI::tera_tesla_t = magnetic_field_t< _type, std::tera >
 
template<typename _type >
using SI::peta_tesla_t = magnetic_field_t< _type, std::peta >
 
template<typename _type >
using SI::exa_tesla_t = magnetic_field_t< _type, std::exa >
 

Functions

template<char... _digits>
constexpr atto_tesla_t< int64_t > SI::literals::operator""_aT ()
 
template<char... _digits>
constexpr femto_tesla_t< int64_t > SI::literals::operator""_fT ()
 
template<char... _digits>
constexpr pico_tesla_t< int64_t > SI::literals::operator""_pT ()
 
template<char... _digits>
constexpr nano_tesla_t< int64_t > SI::literals::operator""_nT ()
 
template<char... _digits>
constexpr micro_tesla_t< int64_t > SI::literals::operator""_uT ()
 
template<char... _digits>
constexpr milli_tesla_t< int64_t > SI::literals::operator""_mT ()
 
template<char... _digits>
constexpr tesla_t< int64_t > SI::literals::operator""_T ()
 
template<char... _digits>
constexpr kilo_tesla_t< int64_t > SI::literals::operator""_kT ()
 
template<char... _digits>
constexpr mega_tesla_t< int64_t > SI::literals::operator""_MT ()
 
template<char... _digits>
constexpr giga_tesla_t< int64_t > SI::literals::operator""_GT ()
 
template<char... _digits>
constexpr tera_tesla_t< int64_t > SI::literals::operator""_TT ()
 
template<char... _digits>
constexpr peta_tesla_t< int64_t > SI::literals::operator""_PT ()
 
template<char... _digits>
constexpr exa_tesla_t< int64_t > SI::literals::operator""_ET ()
 
constexpr atto_tesla_t< long double > SI::literals::operator""_aT (long double value)
 
constexpr femto_tesla_t< long double > SI::literals::operator""_fT (long double value)
 
constexpr pico_tesla_t< long double > SI::literals::operator""_pT (long double value)
 
constexpr nano_tesla_t< long double > SI::literals::operator""_nT (long double value)
 
constexpr micro_tesla_t< long double > SI::literals::operator""_uT (long double value)
 
constexpr milli_tesla_t< long double > SI::literals::operator""_mT (long double value)
 
constexpr tesla_t< long double > SI::literals::operator""_T (long double value)
 
constexpr kilo_tesla_t< long double > SI::literals::operator""_kT (long double value)
 
constexpr mega_tesla_t< long double > SI::literals::operator""_MT (long double value)
 
constexpr giga_tesla_t< long double > SI::literals::operator""_GT (long double value)
 
constexpr tera_tesla_t< long double > SI::literals::operator""_TT (long double value)
 
constexpr peta_tesla_t< long double > SI::literals::operator""_PT (long double value)
 
constexpr exa_tesla_t< long double > SI::literals::operator""_ET (long double value)