26#ifndef quantlib_settings_hpp
27#define quantlib_settings_hpp
45 operator Date()
const;
134 inline Settings::DateProxy::operator
Date()
const {
135 if (value() ==
Date())
static Date todaysDate()
today's date.
observable and assignable proxy to concrete value
ObservableValue< T > & operator=(T &&)
const Date & value() const
explicit inspector
bool enforcesTodaysHistoricFixings_
ext::optional< bool > includeTodaysCashFlows_
bool includeReferenceDateEvents_
DateProxy & operator=(const Date &)
global repository for run-time library settings
void resetEvaluationDate()
bool & includeReferenceDateEvents()
bool enforcesTodaysHistoricFixings_
DateProxy & evaluationDate()
the date at which pricing is to be performed.
ext::optional< bool > & includeTodaysCashFlows()
void anchorEvaluationDate()
ext::optional< bool > includeTodaysCashFlows_
bool includeReferenceDateEvents_
DateProxy evaluationDate_
friend std::ostream & operator<<(std::ostream &, const DateProxy &)
bool & enforcesTodaysHistoricFixings()
Basic support for the singleton pattern.
date- and time-related classes, typedefs and enumerations
observable and assignable proxy to concrete value
Maps optional to either the boost or std implementation.
basic support for the singleton pattern