addPricingError (3) - Linux Man Pages

addPricingError: Commodity base class.

NAME

QuantLib::Commodity - Commodity base class.

SYNOPSIS


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

Inherits QuantLib::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_

Detailed Description

Commodity base class.

Author

Generated automatically by Doxygen for QuantLib from the source code.