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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::data_unitbytes
 
Units (full names singular)
typedef bytes byte
 
Units (abbreviated)
typedef bytes B
 
Unit Containers
typedef unit_t< bytebyte_t
 
typedef unit_t< exabyte > exabyte_t
 
typedef unit_t< bit > bit_t
 
typedef unit_t< exabit > exabit_t
 

Functions

std::ostream & operator<< (std::ostream &os, const byte_t &obj)
 
std::string to_string (const byte_t &obj)
 
std::ostream & operator<< (std::ostream &os, const exabyte_t &obj)
 
std::string to_string (const exabyte_t &obj)
 
std::ostream & operator<< (std::ostream &os, const bit_t &obj)
 
std::string to_string (const bit_t &obj)
 
std::ostream & operator<< (std::ostream &os, const exabit_t &obj)
 
std::string to_string (const exabit_t &obj)
 

Detailed Description

namespace for unit types and containers representing data values

The base unit for data is bytes, and the corresponding base_unit category is data_unit.

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