Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
Typedefs
units::category Namespace Reference

namespace representing the implemented base and derived unit types. More...

Typedefs

typedef base_unit scalar_unit
 Represents a quantity with no dimension.
 
typedef base_unit dimensionless_unit
 Represents a quantity with no dimension.
 
typedef base_unit< detail::meter_ratio< 1 > > length_unit
 Represents an SI base unit of length.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 1 > > mass_unit
 Represents an SI base unit of mass.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > time_unit
 Represents an SI base unit of time.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > angle_unit
 Represents an SI base unit of angle.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > current_unit
 Represents an SI base unit of current.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > temperature_unit
 Represents an SI base unit of temperature.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > substance_unit
 Represents an SI base unit of amount of substance.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > luminous_intensity_unit
 Represents an SI base unit of luminous intensity.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > > solid_angle_unit
 Represents an SI derived unit of solid angle.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 > > frequency_unit
 Represents an SI derived unit of frequency.
 
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 0 >, std::ratio<-1 > > velocity_unit
 Represents an SI derived unit of velocity.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 >, std::ratio< 1 > > angular_velocity_unit
 Represents an SI derived unit of angular velocity.
 
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 0 >, std::ratio<-2 > > acceleration_unit
 Represents an SI derived unit of acceleration.
 
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 1 >, std::ratio<-2 > > force_unit
 Represents an SI derived unit of force.
 
typedef base_unit< detail::meter_ratio<-1 >, std::ratio< 1 >, std::ratio<-2 > > pressure_unit
 Represents an SI derived unit of pressure.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 1 > > charge_unit
 Represents an SI derived unit of charge.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 > > energy_unit
 Represents an SI derived unit of energy.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 > > power_unit
 Represents an SI derived unit of power.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 >, std::ratio< 0 >, std::ratio<-1 > > voltage_unit
 Represents an SI derived unit of voltage.
 
typedef base_unit< detail::meter_ratio<-2 >, std::ratio<-1 >, std::ratio< 4 >, std::ratio< 0 >, std::ratio< 2 > > capacitance_unit
 Represents an SI derived unit of capacitance.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 >, std::ratio< 0 >, std::ratio<-2 > > impedance_unit
 Represents an SI derived unit of impedance.
 
typedef base_unit< detail::meter_ratio<-2 >, std::ratio<-1 >, std::ratio< 3 >, std::ratio< 0 >, std::ratio< 2 > > conductance_unit
 Represents an SI derived unit of conductance.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-1 > > magnetic_flux_unit
 Represents an SI derived unit of magnetic flux.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-1 > > magnetic_field_strength_unit
 Represents an SI derived unit of magnetic field strength.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-2 > > inductance_unit
 Represents an SI derived unit of inductance.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > luminous_flux_unit
 Represents an SI derived unit of luminous flux.
 
typedef base_unit< detail::meter_ratio<-2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > illuminance_unit
 Represents an SI derived unit of illuminance.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 > > radioactivity_unit
 Represents an SI derived unit of radioactivity.
 
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 > > torque_unit
 Represents an SI derived unit of torque.
 
typedef base_unit< detail::meter_ratio< 2 > > area_unit
 Represents an SI derived unit of area.
 
typedef base_unit< detail::meter_ratio< 3 > > volume_unit
 Represents an SI derived unit of volume.
 
typedef base_unit< detail::meter_ratio<-3 >, std::ratio< 1 > > density_unit
 Represents an SI derived unit of density.
 
typedef base_unit concentration_unit
 Represents a unit of concentration.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > data_unit
 Represents a unit of data size.
 
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > data_transfer_rate_unit
 Represents a unit of data transfer rate.
 

Detailed Description

namespace representing the implemented base and derived unit types.

These will not generally be needed by library users.

See also
base_unit for the definition of the category parameters.