Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

QuantLib::SimpleQuote Class Reference

#include <simplequote.hpp>

Inheritance diagram for QuantLib::SimpleQuote:

QuantLib::Quote QuantLib::Observable

List of all members.


Detailed Description

market element returning a stored value

Definition at line 33 of file simplequote.hpp.


Public Member Functions

void notifyObservers ()
 SimpleQuote (Real value=Null< Real >())
Quote interface
bool isValid () const
 returns true if the Quote holds a valid value
Real value () const
 returns the current value
Modifiers
void reset ()
Real setValue (Real value=Null< Real >())
 returns the difference between the new value and the old value

Private Attributes

Real value_

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

Generated by  Doxygen 1.6.0   Back to index