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