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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::substance_unitmoles
 
Units (full names singular)
typedef moles mole
 
Units (abbreviated)
typedef moles mol
 
Unit Containers
typedef unit_t< molemole_t
 

Functions

std::ostream & operator<< (std::ostream &os, const mole_t &obj)
 
std::string to_string (const mole_t &obj)
 

Detailed Description

namespace for unit types and containers representing substance values

The SI unit for substance is moles, and the corresponding base_unit category is substance_unit.

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