QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
RendistatoEquivalentSwapLengthQuote Class Reference

RendistatoCalculator equivalent swap lenth Quote adapter. More...

#include <ql/instruments/bonds/btp.hpp>

+ Inheritance diagram for RendistatoEquivalentSwapLengthQuote:
+ Collaboration diagram for RendistatoEquivalentSwapLengthQuote:

Public Member Functions

 RendistatoEquivalentSwapLengthQuote (ext::shared_ptr< RendistatoCalculator > r)
 
Real value () const override
 returns the current value More...
 
bool isValid () const override
 returns true if the Quote holds a valid value More...
 
- Public Member Functions inherited from Quote
 ~Quote () override=default
 
virtual Real value () const =0
 returns the current value More...
 
virtual bool isValid () const =0
 returns true if the Quote holds a valid value More...
 
- Public Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
 Observable (Observable &&)=delete
 
Observableoperator= (Observable &&)=delete
 
virtual ~Observable ()=default
 
void notifyObservers ()
 

Private Attributes

ext::shared_ptr< RendistatoCalculatorr_
 

Detailed Description

RendistatoCalculator equivalent swap lenth Quote adapter.

Definition at line 170 of file btp.hpp.

Constructor & Destructor Documentation

◆ RendistatoEquivalentSwapLengthQuote()

Definition at line 224 of file btp.cpp.

Member Function Documentation

◆ value()

Real value ( ) const
overridevirtual

returns the current value

Implements Quote.

Definition at line 283 of file btp.hpp.

+ Here is the caller graph for this function:

◆ isValid()

bool isValid ( ) const
overridevirtual

returns true if the Quote holds a valid value

Implements Quote.

Definition at line 228 of file btp.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ r_

ext::shared_ptr<RendistatoCalculator> r_
private

Definition at line 177 of file btp.hpp.