enforcesTodaysHistoricFixings (3) Linux Manual Page
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 settingsMember 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();
Settings::instance().evaluationDate() = d;
registerWith(Settings::instance().evaluationDate());
Warning
- a notification is not sent when the evaluation date changes for natural causes—i.e., a date was not explicitly set (which results in today’s date being used for pricing) and the current date changes as the clock strikes midnight.
