WPILibC++ 2023.4.3-108-ge5452e3
density.h File Reference
#include "units/base.h"
#include "units/mass.h"
#include "units/volume.h"

Go to the source code of this file.

Namespaces

namespace  units
 Unit Conversion Library namespace.
 
namespace  units::density
 namespace for unit types and containers representing density values
 

Functions

 units::UNIT_ADD (density, kilograms_per_cubic_meter, kilograms_per_cubic_meter, kg_per_cu_m, unit< std::ratio< 1 >, units::category::density_unit >) UNIT_ADD(density
 
compound_unit< mass::grams, inverse< volume::milliliter > > units::UNIT_ADD (density, kilograms_per_liter, kilograms_per_liter, kg_per_L, unit< std::ratio< 1 >, compound_unit< mass::grams, inverse< volume::milliliter > > >) UNIT_ADD(density
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > units::UNIT_ADD (density, ounces_per_cubic_inch, ounces_per_cubic_inch, oz_per_cu_in, compound_unit< mass::ounces, inverse< volume::cubic_inch > >) UNIT_ADD(density
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > units::UNIT_ADD (density, pounds_per_cubic_foot, pounds_per_cubic_foot, lb_per_cu_ft, compound_unit< mass::pounds, inverse< volume::cubic_foot > >) UNIT_ADD(density
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > compound_unit< mass::pounds, inverse< volume::cubic_inch > > units::UNIT_ADD (density, pounds_per_gallon, pounds_per_gallon, lb_per_gal, compound_unit< mass::pounds, inverse< volume::gallon > >) UNIT_ADD(density
 

Variables

 units::grams_per_milliliter
 
 units::g_per_mL
 
compound_unit< mass::grams, inverse< volume::milliliter > > units::ounces_per_cubic_foot
 
compound_unit< mass::grams, inverse< volume::milliliter > > units::oz_per_cu_ft
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > units::ounces_per_gallon
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > units::oz_per_gal
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > units::pounds_per_cubic_inch
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > units::lb_per_cu_in
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > compound_unit< mass::pounds, inverse< volume::cubic_inch > > units::slugs_per_cubic_foot
 
compound_unit< mass::grams, inverse< volume::milliliter > > compound_unit< mass::ounces, inverse< volume::cubic_foot > > compound_unit< mass::ounces, inverse< volume::gallon > > compound_unit< mass::pounds, inverse< volume::cubic_inch > > units::slug_per_cu_ft