Rechercher une page de manuel
QuantLib_SimpleQuote
Langue: en
Version: 374852 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
QuantLib::SimpleQuote -market element returning a stored value
SYNOPSIS
#include <ql/quotes/simplequote.hpp>
Inherits QuantLib::Quote.
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.
Author
Generated automatically by Doxygen for QuantLib from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre