BoB robotics
The Brains on Board robotics library
units::density Namespace Reference

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::density_unitkilograms_per_cubic_meter
 
Units (abbreviated)
typedef kilograms_per_cubic_meter kg_per_cu_m
 
Unit Containers
typedef unit_t< kilograms_per_cubic_meterkilograms_per_cubic_meter_t
 
typedef unit_t< grams_per_milliliter > grams_per_milliliter_t
 
typedef unit_t< kilograms_per_liter > kilograms_per_liter_t
 
typedef unit_t< ounces_per_cubic_foot > ounces_per_cubic_foot_t
 
typedef unit_t< ounces_per_cubic_inch > ounces_per_cubic_inch_t
 
typedef unit_t< ounces_per_gallon > ounces_per_gallon_t
 
typedef unit_t< pounds_per_cubic_foot > pounds_per_cubic_foot_t
 
typedef unit_t< pounds_per_cubic_inch > pounds_per_cubic_inch_t
 
typedef unit_t< pounds_per_gallon > pounds_per_gallon_t
 
typedef unit_t< slugs_per_cubic_foot > slugs_per_cubic_foot_t
 

Functions

std::ostream & operator<< (std::ostream &os, const kilograms_per_cubic_meter_t &obj)
 
std::string to_string (const kilograms_per_cubic_meter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const grams_per_milliliter_t &obj)
 
std::string to_string (const grams_per_milliliter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const kilograms_per_liter_t &obj)
 
std::string to_string (const kilograms_per_liter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_cubic_foot_t &obj)
 
std::string to_string (const ounces_per_cubic_foot_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_cubic_inch_t &obj)
 
std::string to_string (const ounces_per_cubic_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_gallon_t &obj)
 
std::string to_string (const ounces_per_gallon_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_cubic_foot_t &obj)
 
std::string to_string (const pounds_per_cubic_foot_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_cubic_inch_t &obj)
 
std::string to_string (const pounds_per_cubic_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_gallon_t &obj)
 
std::string to_string (const pounds_per_gallon_t &obj)
 
std::ostream & operator<< (std::ostream &os, const slugs_per_cubic_foot_t &obj)
 
std::string to_string (const slugs_per_cubic_foot_t &obj)
 

Detailed Description

namespace for unit types and containers representing density values

The SI unit for density is kilograms_per_cubic_meter, and the corresponding base_unit category is density_unit.

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