|
roo_quantity
API Documentation for roo_quantity
|
#include <cmath>#include "roo_flags.h"#include "roo_logging.h"Go to the source code of this file.
Data Structures | |
| class | roo_quantity::Work |
| Representation of work, internally stored as floating-point Joules. More... | |
Namespaces | |
| namespace | roo_quantity |
| For convenience conversion from roo_time::Duration. | |
Functions | |
| Work | roo_quantity::WorkInJoules (float work) |
| Returns a work object equivalent to the specified work expressed in Joules. | |
| Work | roo_quantity::UnknownWork () |
| Returns a work object representing an unknown work. | |
| Work | roo_quantity::WorkInGigaJoules (float work) |
| Returns a work object equivalent to the specified work expressed in gigaJoules. | |
| Work | roo_quantity::WorkInMegaJoules (float work) |
| Returns a work object equivalent to the specified work expressed in megaJoules. | |
| Work | roo_quantity::WorkInKiloJoules (float work) |
| Returns a work object equivalent to the specified work expressed in kiloJoules. | |
| Work | roo_quantity::WorkInMilliJoules (float work) |
| Returns a work object equivalent to the specified work expressed in milliJoules. | |
| Work | roo_quantity::WorkInMicroJoules (float work) |
| Returns a work object equivalent to the specified work expressed in microJoules. | |
| Work | roo_quantity::operator+ (Work a, Work b) |
| Work | roo_quantity::operator- (Work a, Work b) |
| Work | roo_quantity::operator- (Work a) |
| Work | roo_quantity::operator* (Work a, float b) |
| Work | roo_quantity::operator* (float a, Work b) |
| Work | roo_quantity::operator/ (Work a, float b) |
| float | roo_quantity::operator/ (Work a, Work b) |
| roo_logging::Stream & | roo_quantity::operator<< (roo_logging::Stream &os, const Work &val) |