Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BondRepo::arguments Class Reference

#include <qle/instruments/bondrepo.hpp>

+ Inheritance diagram for BondRepo::arguments:
+ Collaboration diagram for BondRepo::arguments:

Public Member Functions

void validate () const override
 

Public Attributes

Leg cashLeg
 
bool cashLegPays
 
QuantLib::ext::shared_ptr< Bond > security
 
Real securityMultiplier
 

Detailed Description

Definition at line 36 of file bondrepo.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
override

Definition at line 23 of file bondrepo.cpp.

23 {
24 QL_REQUIRE(!cashLeg.empty(), "BondRepo::validate(): cashLeg is empty");
25 QL_REQUIRE(security, "BondRepo::validate(): security is null");
26}
QuantLib::ext::shared_ptr< Bond > security
Definition: bondrepo.hpp:40

Member Data Documentation

◆ cashLeg

Leg cashLeg

Definition at line 38 of file bondrepo.hpp.

◆ cashLegPays

bool cashLegPays

Definition at line 39 of file bondrepo.hpp.

◆ security

QuantLib::ext::shared_ptr<Bond> security

Definition at line 40 of file bondrepo.hpp.

◆ securityMultiplier

Real securityMultiplier

Definition at line 41 of file bondrepo.hpp.