Unit Conversion and Dimensional Analysis Library 2.3.0
A compile-time c++14 unit conversion library
Loading...
Searching...
No Matches
units::length Namespace Reference

namespace for unit types and containers representing length values More...

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::length_unitmeters
Units (full names singular)
typedef meters meter
Units (abbreviated)
typedef meters m
Unit Containers
typedef unit_t< meter > meter_t
typedef unit_t< foot > foot_t
typedef unit_t< inch > inch_t
typedef unit_t< mil > mil_t
typedef unit_t< mile > mile_t
typedef unit_t< nauticalMile > nauticalMile_t
typedef unit_t< astronicalUnit > astronicalUnit_t
typedef unit_t< lightyear > lightyear_t
typedef unit_t< parsec > parsec_t
typedef unit_t< angstrom > angstrom_t
typedef unit_t< cubit > cubit_t
typedef unit_t< fathom > fathom_t
typedef unit_t< chain > chain_t
typedef unit_t< furlong > furlong_t
typedef unit_t< hand > hand_t
typedef unit_t< league > league_t
typedef unit_t< nauticalLeague > nauticalLeague_t
typedef unit_t< yard > yard_t

Functions

std::ostream & operator<< (std::ostream &os, const meter_t &obj)
std::string to_string (const meter_t &obj)
std::ostream & operator<< (std::ostream &os, const foot_t &obj)
std::string to_string (const foot_t &obj)
std::ostream & operator<< (std::ostream &os, const inch_t &obj)
std::string to_string (const inch_t &obj)
std::ostream & operator<< (std::ostream &os, const mil_t &obj)
std::string to_string (const mil_t &obj)
std::ostream & operator<< (std::ostream &os, const mile_t &obj)
std::string to_string (const mile_t &obj)
std::ostream & operator<< (std::ostream &os, const nauticalMile_t &obj)
std::string to_string (const nauticalMile_t &obj)
std::ostream & operator<< (std::ostream &os, const astronicalUnit_t &obj)
std::string to_string (const astronicalUnit_t &obj)
std::ostream & operator<< (std::ostream &os, const lightyear_t &obj)
std::string to_string (const lightyear_t &obj)
std::ostream & operator<< (std::ostream &os, const parsec_t &obj)
std::string to_string (const parsec_t &obj)
std::ostream & operator<< (std::ostream &os, const angstrom_t &obj)
std::string to_string (const angstrom_t &obj)
std::ostream & operator<< (std::ostream &os, const cubit_t &obj)
std::string to_string (const cubit_t &obj)
std::ostream & operator<< (std::ostream &os, const fathom_t &obj)
std::string to_string (const fathom_t &obj)
std::ostream & operator<< (std::ostream &os, const chain_t &obj)
std::string to_string (const chain_t &obj)
std::ostream & operator<< (std::ostream &os, const furlong_t &obj)
std::string to_string (const furlong_t &obj)
std::ostream & operator<< (std::ostream &os, const hand_t &obj)
std::string to_string (const hand_t &obj)
std::ostream & operator<< (std::ostream &os, const league_t &obj)
std::string to_string (const league_t &obj)
std::ostream & operator<< (std::ostream &os, const nauticalLeague_t &obj)
std::string to_string (const nauticalLeague_t &obj)
std::ostream & operator<< (std::ostream &os, const yard_t &obj)
std::string to_string (const yard_t &obj)

Detailed Description

namespace for unit types and containers representing length values

The SI unit for length is meters, and the corresponding base_unit category is length_unit.

See also
See unit_t for more information on unit type containers.