QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EnergyCommodity::results Class Reference

#include <energycommodity.hpp>

+ Inheritance diagram for EnergyCommodity::results:
+ Collaboration diagram for EnergyCommodity::results:

Public Member Functions

void reset () override
 
- Public Member Functions inherited from Instrument::results
void reset () override
 
- Public Member Functions inherited from PricingEngine::results
virtual ~results ()=default
 
virtual void reset ()=0
 

Public Attributes

Real NPV
 
Currency currency
 
UnitOfMeasure unitOfMeasure
 
- Public Attributes inherited from Instrument::results
Real value
 
Real errorEstimate
 
Date valuationDate
 
std::map< std::string, ext::any > additionalResults
 

Detailed Description

Definition at line 124 of file energycommodity.hpp.

Member Function Documentation

◆ reset()

void reset ( )
overridevirtual

Implements PricingEngine::results.

Definition at line 129 of file energycommodity.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ NPV

Real NPV

Definition at line 126 of file energycommodity.hpp.

◆ currency

Currency currency

Definition at line 127 of file energycommodity.hpp.

◆ unitOfMeasure

UnitOfMeasure unitOfMeasure

Definition at line 128 of file energycommodity.hpp.