QuantLib_UnitOfMeasureConversionManager man page

UnitOfMeasureConversionManager — repository of conversion factors between units of measure

Synopsis

#include <ql/experimental/commodities/unitofmeasureconversionmanager.hpp>

Inherits Singleton< UnitOfMeasureConversionManager >.

Public Member Functions

UnitOfMeasureConversion lookup (const CommodityType &commodityType, const UnitOfMeasure &, const UnitOfMeasure &, UnitOfMeasureConversion::Type type=UnitOfMeasureConversion::Derived) const

void add (const UnitOfMeasureConversion &)

void clear ()

Friends

class Singleton< UnitOfMeasureConversionManager >

Additional Inherited Members

Detailed Description

repository of conversion factors between units of measure

Tests

lookup of direct unit of measure conversion is tested.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

Singleton_UnitOfMeasureConversionManager(3) is an alias of QuantLib_UnitOfMeasureConversionManager(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib