QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <exchangecontract.hpp>
Public Member Functions | |
ExchangeContract ()=default | |
ExchangeContract (std::string code, Date expirationDate, Date underlyingStartDate, Date underlyingEndDate) | |
const std::string & | code () const |
const Date & | expirationDate () const |
const Date & | underlyingStartDate () const |
const Date & | underlyingEndDate () const |
Protected Attributes | |
std::string | code_ |
Date | expirationDate_ |
Date | underlyingStartDate_ |
Date | underlyingEndDate_ |
Definition at line 33 of file exchangecontract.hpp.
|
default |
ExchangeContract | ( | std::string | code, |
Date | expirationDate, | ||
Date | underlyingStartDate, | ||
Date | underlyingEndDate | ||
) |
Definition at line 52 of file exchangecontract.hpp.
const std::string & code | ( | ) | const |
Definition at line 59 of file exchangecontract.hpp.
const Date & expirationDate | ( | ) | const |
Definition at line 63 of file exchangecontract.hpp.
const Date & underlyingStartDate | ( | ) | const |
Definition at line 67 of file exchangecontract.hpp.
const Date & underlyingEndDate | ( | ) | const |
Definition at line 71 of file exchangecontract.hpp.
|
protected |
Definition at line 46 of file exchangecontract.hpp.
|
protected |
Definition at line 47 of file exchangecontract.hpp.
|
protected |
Definition at line 48 of file exchangecontract.hpp.
|
protected |
Definition at line 49 of file exchangecontract.hpp.