Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PaymentLagPeriod Struct Reference

#include <ored/portfolio/types.hpp>

+ Inheritance diagram for PaymentLagPeriod:
+ Collaboration diagram for PaymentLagPeriod:

Public Member Functions

QuantLib::Period operator() (const QuantLib::Natural &n) const
 
QuantLib::Period operator() (const QuantLib::Period &p) const
 

Detailed Description

Definition at line 34 of file types.hpp.

Member Function Documentation

◆ operator()() [1/2]

QuantLib::Period operator() ( const QuantLib::Natural &  n) const

Definition at line 36 of file types.hpp.

36{ return Period(n, Days); }

◆ operator()() [2/2]

QuantLib::Period operator() ( const QuantLib::Period &  p) const

Definition at line 37 of file types.hpp.

37{ return p; }