SimpleQuote Class Reference

### A free/open-source library for quantitative finance

Public Member Functions
SimpleQuote Class Reference

market element returning a stored value More...

`#include <ql/quotes/simplequote.hpp>`

Inheritance diagram for SimpleQuote:
[legend]

List of all members.

## 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 ()

## Detailed Description

market element returning a stored value

Examples:
  BermudanSwaption.cpp, Bonds.cpp, CallableBonds.cpp, CDS.cpp, ConvertibleBonds.cpp, DiscreteHedging.cpp, EquityOption.cpp, FittedBondCurve.cpp, FRA.cpp, Replication.cpp, and swapvaluation.cpp.