QuantLib_Commodity

Langue: en

Autres versions - même langue

Version: 379651 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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.