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

Claim on the notional of a reference security, including accrual. More...

#include <claim.hpp>

+ Inheritance diagram for FaceValueAccrualClaim:
+ Collaboration diagram for FaceValueAccrualClaim:

Public Member Functions

 FaceValueAccrualClaim (const ext::shared_ptr< Bond > &referenceSecurity)
 
Real amount (const Date &d, Real notional, Real recoveryRate) const override
 
- Public Member Functions inherited from Claim
 ~Claim () override=default
 
virtual Real amount (const Date &defaultDate, Real notional, Real recoveryRate) const =0
 
void update () override
 
- Public Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
 Observable (Observable &&)=delete
 
Observableoperator= (Observable &&)=delete
 
virtual ~Observable ()=default
 
void notifyObservers ()
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
 Observer (const Observer &)
 
Observeroperator= (const Observer &)
 
virtual ~Observer ()
 
std::pair< iterator, boolregisterWith (const ext::shared_ptr< Observable > &)
 
void registerWithObservables (const ext::shared_ptr< Observer > &)
 
Size unregisterWith (const ext::shared_ptr< Observable > &)
 
void unregisterWithAll ()
 
virtual void update ()=0
 
virtual void deepUpdate ()
 

Private Attributes

ext::shared_ptr< BondreferenceSecurity_
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 

Detailed Description

Claim on the notional of a reference security, including accrual.

Definition at line 49 of file claim.hpp.

Constructor & Destructor Documentation

◆ FaceValueAccrualClaim()

FaceValueAccrualClaim ( const ext::shared_ptr< Bond > &  referenceSecurity)

Definition at line 32 of file claim.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ amount()

Real amount ( const Date d,
Real  notional,
Real  recoveryRate 
) const
overridevirtual

Implements Claim.

Definition at line 38 of file claim.cpp.

Member Data Documentation

◆ referenceSecurity_

ext::shared_ptr<Bond> referenceSecurity_
private

Definition at line 56 of file claim.hpp.