units_length(3)

units::length(3) Unit Conversion and Dimensional Analysis Library units::length(3)

NAME

units::length - namespace for unit types and containers representing length values

SYNOPSIS

Typedefs

Units (full names plural)



typedef unit< std::ratio< 1 >, units::category::length_unit > meters


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.

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Mar 29 2023 Version 2.3.0