roo_quantity
API Documentation for roo_quantity
Loading...
Searching...
No Matches
volume.h File Reference
#include <cmath>
#include "roo_flags.h"
#include "roo_logging.h"
#include "roo_quantity/area.h"
#include "roo_quantity/length.h"
Include dependency graph for volume.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_quantity::Volume
 Representation of volume, internally stored as floating-point cubic meters. More...
 

Namespaces

namespace  roo_quantity
 For convenience conversion from roo_time::Duration.
 

Functions

Volume roo_quantity::VolumeInCubicMeters (float volume)
 Returns a volume object equivalent to the specified volume expressed in cubic meters.
 
Volume roo_quantity::UnknownVolume ()
 Returns a volume object representing an unknown volume.
 
Volume roo_quantity::VolumeInCubicKilometers (float volume)
 Returns a volume object equivalent to the specified volume expressed in cubic kilometers.
 
Volume roo_quantity::VolumeInLiters (float volume)
 Returns a volume object equivalent to the specified volume expressed in liters.
 
Volume roo_quantity::VolumeInCubicDecimeters (float volume)
 Returns a volume object equivalent to the specified volume expressed in liters.
 
Volume roo_quantity::VolumeInMilliliters (float volume)
 Returns a volume object equivalent to the specified volume expressed in milliliters.
 
Volume roo_quantity::VolumeInCubicCentimeters (float volume)
 Returns a volume object equivalent to the specified volume expressed in milliliters.
 
Volume roo_quantity::VolumeInCubicMillimeters (float volume)
 Returns a volume object equivalent to the specified volume expressed in cubic millimeters.
 
Volume roo_quantity::VolumeInCubicMicrometers (float volume)
 Returns a volume object equivalent to the specified volume expressed in cubic micrometers.
 
Volume roo_quantity::VolumeInCubicInches (float volume)
 Returns a volume object equivalent to the specified volume expressed in cubic inches.
 
Volume roo_quantity::operator+ (Volume a, Volume b)
 
Volume roo_quantity::operator- (Volume a, Volume b)
 
Volume roo_quantity::operator- (Volume a)
 
Volume roo_quantity::operator* (Volume a, float b)
 
Volume roo_quantity::operator* (float a, Volume b)
 
Volume roo_quantity::operator/ (Volume a, float b)
 
float roo_quantity::operator/ (Volume a, Volume b)
 
Volume roo_quantity::operator* (Length a, Area b)
 
Volume roo_quantity::operator* (Area a, Length b)
 
Area roo_quantity::operator/ (Volume a, Length b)
 
Length roo_quantity::operator/ (Volume a, Area b)
 
roo_logging::Stream & roo_quantity::operator<< (roo_logging::Stream &os, const Volume &val)