units_power(3)

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

NAME

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

SYNOPSIS

Typedefs

Units (full names plural)



typedef unit< std::ratio< 1 >, units::category::power_unit > watts


Units (full names singular)



typedef watts watt


Units (abbreviated)



typedef watts W


Unit Containers



typedef unit_t< watt > watt_t
typedef unit_t< horsepower > horsepower_t


Functions


std::ostream & operator<< (std::ostream &os, const watt_t &obj)
std::string to_string (const watt_t &obj)
std::ostream & operator<< (std::ostream &os, const horsepower_t &obj)
std::string to_string (const horsepower_t &obj)
std::ostream & operator<< (std::ostream &os, const dBW_t &obj)
std::string to_string (const dBW_t &obj)
std::ostream & operator<< (std::ostream &os, const dBm_t &obj)
std::string to_string (const dBm_t &obj)

Detailed Description

namespace for unit types and containers representing power values

The SI unit for power is watts, and the corresponding base_unit category is power_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