#include <ored/scripting/scriptedinstrument.hpp>
Definition at line 31 of file scriptedinstrument.hpp.
◆ results
using results = QuantLib::Instrument::results |
◆ engine
◆ ScriptedInstrument()
◆ isExpired()
◆ setupArguments()
◆ lastCalculationWasValid()
bool lastCalculationWasValid |
( |
| ) |
const |
Definition at line 30 of file scriptedinstrument.cpp.
30 {
31 if (auto res = QuantLib::ext::dynamic_pointer_cast<ore::data::ScriptedInstrumentPricingEngine>(engine_)) {
32 return res->lastCalculationWasValid();
33 } else if (auto res = QuantLib::ext::dynamic_pointer_cast<ore::data::ScriptedInstrumentPricingEngineCG>(engine_)) {
34 return res->lastCalculationWasValid();
35 } else {
36 QL_FAIL(
37 "internal error: could not cast to ScriptedInstrumentPricingEngine or ScriptedInstrumentPricingEngineCG");
38 }
39}
◆ pricingEngine()
QuantLib::ext::shared_ptr< PricingEngine > pricingEngine |
( |
| ) |
const |
◆ lastRelevantDate_
const QuantLib::Date lastRelevantDate_ |
|
private |