QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
#include <ql/experimental/commodities/commoditytype.hpp>
Public Member Functions | |
NullCommodityType () | |
Public Member Functions inherited from CommodityType | |
CommodityType ()=default | |
default constructor More... | |
CommodityType (const std::string &code, const std::string &name) | |
const std::string & | code () const |
commodity code, e.g, "HO" More... | |
const std::string & | name () const |
name, e.g, "Heating Oil" More... | |
bool | empty () const |
is this a usable instance? More... | |
Additional Inherited Members | |
Protected Attributes inherited from CommodityType | |
ext::shared_ptr< Data > | data_ |
Static Protected Attributes inherited from CommodityType | |
static std::map< std::string, ext::shared_ptr< Data > > | commodityTypes_ |
Related Functions inherited from CommodityType | |
bool | operator== (const CommodityType &, const CommodityType &) |
bool | operator!= (const CommodityType &, const CommodityType &) |
std::ostream & | operator<< (std::ostream &, const CommodityType &) |
Definition at line 88 of file commoditytype.hpp.
Definition at line 90 of file commoditytype.hpp.