#include <qle/instruments/nullinstrument.hpp>
Public Member Functions | |
NullInstrument () | |
Instrument interface | |
bool | isExpired () const override |
Always returns true. More... | |
void | performCalculations () const override |
Populate results. More... | |
A null instrument that always returns an NPV of 0
Definition at line 33 of file nullinstrument.hpp.
NullInstrument | ( | ) |
Definition at line 35 of file nullinstrument.hpp.
|
override |
|
override |
Populate results.
Definition at line 50 of file nullinstrument.hpp.