Singleton_Settings (3) - Linux Manuals
Singleton_Settings: global repository for run-time library settings
NAME
QuantLib::Settings - global repository for run-time library settings
SYNOPSIS
#include <ql/settings.hpp>
Inherits Singleton< Settings >.
Public Member Functions
DateProxy & evaluationDate ()
the date at which pricing is to be performed.
const DateProxy & evaluationDate () const
bool & enforcesTodaysHistoricFixings ()
bool enforcesTodaysHistoricFixings () const
Friends
class Singleton< Settings >
std::ostream & operator<< (std::ostream &, const DateProxy &)
Detailed Description
global repository for run-time library settings
Member Function Documentation
DateProxy& evaluationDate ()
the date at which pricing is to be performed.
Client code can inspect the evaluation date, as in:
Date d = Settings::instance().evaluationDate();
Warning
Generated automatically by Doxygen for QuantLib from the source code.
Settings::instance().evaluationDate() = d;
registerWith(Settings::instance().evaluationDate());
Author