#include <QuantityConverter.hpp>
| Public Member Functions | |
| boost::optional< Quantity > | convert (const Quantity &q, UnitSystem sys) const | 
| boost::optional< Quantity > | convert (const Quantity &original, const Unit &targetUnits) const | 
| Related Functions | |
| (Note that these are not member functions.) | |
| boost::optional< double > | convert (double original, const std::string &originalUnits, const std::string &finalUnits) | 
| Non-member function to simplify interface for users.  More... | |
| boost::optional< Quantity > | convert (const Quantity &original, UnitSystem sys) | 
| Non-member function to simplify interface for users.  More... | |
| boost::optional< Quantity > | convert (const Quantity &original, const Unit &targetUnits) | 
| Non-member function to simplify interface for users.  More... | |
| typedef openstudio::Singleton < QuantityConverterSingleton > | QuantityConverter | 
Singleton for converting quantities to different unit systems or to targeted units .
| boost::optional<Quantity> openstudio::QuantityConverterSingleton::convert | ( | const Quantity & | q, | 
| UnitSystem | sys | ||
| ) | const | 
| boost::optional<Quantity> openstudio::QuantityConverterSingleton::convert | ( | const Quantity & | original, | 
| const Unit & | targetUnits | ||
| ) | const | 
| 
 | related | 
Non-member function to simplify interface for users.
| 
 | related | 
Non-member function to simplify interface for users.
Non-member function to simplify interface for users.
| 
 | related |