OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Attributes | List of all members
openstudio::baseUnitConversionFactor Struct Reference

#include <QuantityConverter.hpp>

Public Attributes

double factor
 
double offset
 
std::string originalUnit
 
UnitSystem system
 
std::string targetUnit
 

Detailed Description

A struct to store all the information necessary to convert from one base unit to another.

All conversions will be handled by going through SI, so these ConversionFactors will be stored in either the toSI or fromSI maps.

Member Data Documentation

double openstudio::baseUnitConversionFactor::factor
double openstudio::baseUnitConversionFactor::offset
std::string openstudio::baseUnitConversionFactor::originalUnit
UnitSystem openstudio::baseUnitConversionFactor::system
std::string openstudio::baseUnitConversionFactor::targetUnit