QuantLib_Commodity man page

Commodity — Commodity base class.  


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

Inherits Instrument.

Inherited by EnergyCommodity.

Public Member Functions

Commodity (const boost::shared_ptr< SecondaryCosts > &secondaryCosts)
const boost::shared_ptr< SecondaryCosts > & secondaryCosts () const
const SecondaryCostAmounts & secondaryCostAmounts () const
const PricingErrors & pricingErrors () const
void addPricingError (PricingError::Level errorLevel, const std::string &error, const std::string &detail='') const

Protected Attributes

boost::shared_ptr< SecondaryCosts > secondaryCosts_
PricingErrors pricingErrors_
SecondaryCostAmounts secondaryCostAmounts_

Additional Inherited Members

Detailed Description

Commodity base class.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man pages addPricingError(3), Commodity(3), pricingErrors(3), pricingErrors_(3), secondaryCostAmounts(3), secondaryCostAmounts_(3), secondaryCosts(3) and secondaryCosts_(3) are aliases of QuantLib_Commodity(3).

Mon Apr 30 2018 Version 1.12.1 QuantLib