QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <commodityunitcost.hpp>
Public Member Functions | |
CommodityUnitCost ()=default | |
CommodityUnitCost (Money amount, UnitOfMeasure unitOfMeasure) | |
const Money & | amount () const |
const UnitOfMeasure & | unitOfMeasure () const |
Private Attributes | |
Money | amount_ |
UnitOfMeasure | unitOfMeasure_ |
Definition at line 33 of file commodityunitcost.hpp.
|
default |
CommodityUnitCost | ( | Money | amount, |
UnitOfMeasure | unitOfMeasure | ||
) |
Definition at line 36 of file commodityunitcost.hpp.
const Money & amount | ( | ) | const |
const UnitOfMeasure & unitOfMeasure | ( | ) | const |
|
private |
Definition at line 43 of file commodityunitcost.hpp.
|
private |
Definition at line 44 of file commodityunitcost.hpp.