DerivedMarketElement Class Template Reference

#include <marketelement.hpp>

Inheritance diagram for DerivedMarketElement:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class UnaryFunction>
class QuantLib::DerivedMarketElement< UnaryFunction >

market element whose value depends on another market element


Public Member Functions

 DerivedMarketElement (const RelinkableHandle< MarketElement > &element, const UnaryFunction &f)
Market element interface
double value () const
 returns the current value

Observer interface
void update ()


Member Function Documentation

void update  )  [virtual]
 

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.


The documentation for this class was generated from the following file:

QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen