25#include <ql/cashflow.hpp>
26#include <ql/currency.hpp>
27#include <ql/exercise.hpp>
28#include <ql/instrument.hpp>
29#include <ql/instruments/swaption.hpp>
30#include <ql/pricingengine.hpp>
31#include <ql/settings.hpp>
44 const QuantLib::ext::shared_ptr<Exercise>&
exercise = QuantLib::ext::shared_ptr<Exercise>(),
48 const std::vector<Leg>&
legs()
const {
return legs_; }
58 void fetchResults(
const PricingEngine::results*)
const override;
67 const QuantLib::ext::shared_ptr<Exercise>
exercise_;
89 void reset()
override;
std::vector< bool > payer
QuantLib::ext::shared_ptr< Exercise > exercise
std::vector< Currency > currency
Settlement::Method settlementMethod
Settlement::Type settlementType
void validate() const override
const Settlement::Method settlementMethod_
const std::vector< Leg > & legs() const
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
const QuantLib::ext::shared_ptr< Exercise > exercise_
void deepUpdate() override
const Settlement::Type settlementType() const
const Date & maturityDate() const
const Settlement::Method settlementMethod() const
const Settlement::Type settlementType_
const std::vector< bool > payer_
const std::vector< Leg > legs_
void fetchResults(const PricingEngine::results *) const override
const QuantLib::ext::shared_ptr< Exercise > exercise() const
Real underlyingNpv() const
const std::vector< Currency > & currency() const
const std::vector< Currency > currency_
const std::vector< bool > & payer() const