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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::charge_unitcoulombs
 
Units (full names singular)
typedef coulombs coulomb
 
Units (abbreviated)
typedef coulombs C
 
Unit Containers
typedef unit_t< coulombcoulomb_t
 
typedef unit_t< ampere_hour > ampere_hour_t
 

Functions

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

Detailed Description

namespace for unit types and containers representing charge values

The SI unit for charge is coulombs, and the corresponding base_unit category is charge_unit.

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