24#ifndef quantlib_exchange_contract_hpp
25#define quantlib_exchange_contract_hpp
41 const std::string&
code()
const;
54 Date underlyingStartDate,
55 Date underlyingEndDate)
56 : code_(
std::move(code)), expirationDate_(expirationDate),
57 underlyingStartDate_(underlyingStartDate), underlyingEndDate_(underlyingEndDate) {}
const Date & underlyingStartDate() const
const std::string & code() const
ExchangeContract()=default
Date underlyingStartDate_
const Date & expirationDate() const
const Date & underlyingEndDate() const
date- and time-related classes, typedefs and enumerations
std::map< Date, ExchangeContract > ExchangeContracts