SimpleQuote Class Reference

market element returning a stored value More...

#include <ql/quotes/simplequote.hpp>

Inheritance diagram for SimpleQuote:

Public Member Functions

 SimpleQuote (Real value=Null< Real >())
 
Quote interface
Real value () const
 returns the current value
 
bool isValid () const
 returns true if the Quote holds a valid value
 
Modifiers
Real setValue (Real value=Null< Real >())
 returns the difference between the new value and the old value
 
void reset ()
 
- Public Member Functions inherited from Observable
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
void notifyObservers ()
 

Detailed Description