CompositeMarketElement Class Template Reference

#include <marketelement.hpp>

Inheritance diagram for CompositeMarketElement:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class BinaryFunction>
class QuantLib::CompositeMarketElement< BinaryFunction >

market element whose value depends on two other market element


Public Member Functions

 CompositeMarketElement (const RelinkableHandle< MarketElement > &element1, const RelinkableHandle< MarketElement > &element2, const BinaryFunction &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