QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <equitycashflow.hpp>
Public Member Functions | |
EquityCashFlowPricer ()=default | |
Interface | |
virtual Real | price () const =0 |
virtual void | initialize (const EquityCashFlow &)=0 |
Public Member Functions inherited from Observer | |
Observer ()=default | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
virtual | ~Observer () |
std::pair< iterator, bool > | registerWith (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 () |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Observer interface | |
ext::shared_ptr< EquityIndex > | index_ |
Date | baseDate_ |
Date | fixingDate_ |
bool | growthOnlyPayoff_ |
void | update () override |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Definition at line 70 of file equitycashflow.hpp.
|
default |
|
pure virtual |
Implemented in EquityQuantoCashFlowPricer.
|
pure virtual |
Implemented in EquityQuantoCashFlowPricer.
|
overridevirtual |
This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.
Implements Observer.
Definition at line 81 of file equitycashflow.hpp.
|
protected |
Definition at line 84 of file equitycashflow.hpp.
|
protected |
Definition at line 85 of file equitycashflow.hpp.
|
protected |
Definition at line 85 of file equitycashflow.hpp.
|
protected |
Definition at line 86 of file equitycashflow.hpp.