24 QL_REQUIRE(!
cashLeg.empty(),
"BondRepo::validate(): cashLeg is empty");
25 QL_REQUIRE(
security,
"BondRepo::validate(): security is null");
43 if (!c->hasOccurred())
50 QL_REQUIRE(
arguments != 0,
"BondRepo::setupArguments(): wrong argument type");
QuantLib::ext::shared_ptr< Bond > security
void validate() const override
void fetchResults(const QuantLib::PricingEngine::results *) const override
const Real securityMultiplier_
bool isExpired() const override
QuantLib::ext::shared_ptr< Bond > security() const
void deepUpdate() override
const QuantLib::ext::shared_ptr< Bond > security_
BondRepo(const Leg &cashLeg, const bool cashLegPays, const QuantLib::ext::shared_ptr< Bond > &security, const Real securityMultiplier)
const Leg & cashLeg() const
Inspectors.
void setupExpired() const override
Real securityMultiplier() const
void setupArguments(QuantLib::PricingEngine::arguments *) const override