|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <discretizedcallablefixedratebond.hpp>
Inheritance diagram for DiscretizedCallableFixedRateBond:
Collaboration diagram for DiscretizedCallableFixedRateBond:Public Member Functions | |
| DiscretizedCallableFixedRateBond (const CallableBond::arguments &, const Handle< YieldTermStructure > &termStructure) | |
| void | reset (Size size) override |
| std::vector< Time > | mandatoryTimes () const override |
Public Member Functions inherited from DiscretizedAsset | |
| DiscretizedAsset () | |
| virtual | ~DiscretizedAsset ()=default |
| Time | time () const |
| Time & | time () |
| const Array & | values () const |
| Array & | values () |
| const ext::shared_ptr< Lattice > & | method () const |
| void | initialize (const ext::shared_ptr< Lattice > &, Time t) |
| void | rollback (Time to) |
| void | partialRollback (Time to) |
| Real | presentValue () |
| void | preAdjustValues () |
| void | postAdjustValues () |
| void | adjustValues () |
Protected Member Functions | |
| void | preAdjustValuesImpl () override |
| void | postAdjustValuesImpl () override |
Protected Member Functions inherited from DiscretizedAsset | |
| bool | isOnTime (Time t) const |
Private Member Functions | |
| void | applyCallability (Size i) |
| void | addCoupon (Size i) |
Private Attributes | |
| CallableBond::arguments | arguments_ |
| Time | redemptionTime_ |
| std::vector< Time > | couponTimes_ |
| std::vector< CouponAdjustment > | couponAdjustments_ |
| std::vector< Time > | callabilityTimes_ |
| std::vector< Real > | adjustedCallabilityPrices_ |
Additional Inherited Members | |
Protected Types inherited from DiscretizedAsset | |
| enum class | CouponAdjustment { pre , post } |
Protected Attributes inherited from DiscretizedAsset | |
| Time | time_ |
| Time | latestPreAdjustment_ |
| Time | latestPostAdjustment_ |
| Array | values_ |
Definition at line 33 of file discretizedcallablefixedratebond.hpp.
| DiscretizedCallableFixedRateBond | ( | const CallableBond::arguments & | args, |
| const Handle< YieldTermStructure > & | termStructure | ||
| ) |
Definition at line 35 of file discretizedcallablefixedratebond.cpp.
Here is the call graph for this function:
|
overridevirtual |
This method should initialize the asset values to an Array of the given size and with values depending on the particular asset.
Implements DiscretizedAsset.
Definition at line 103 of file discretizedcallablefixedratebond.cpp.
Here is the call graph for this function:
|
overridevirtual |
This method returns the times at which the numerical method should stop while rolling back the asset. Typical examples include payment times, exercise times and such.
Implements DiscretizedAsset.
Definition at line 109 of file discretizedcallablefixedratebond.cpp.
Here is the caller graph for this function:
|
overrideprotectedvirtual |
This method performs the actual pre-adjustment
Reimplemented from DiscretizedAsset.
Definition at line 137 of file discretizedcallablefixedratebond.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
This method performs the actual post-adjustment
Reimplemented from DiscretizedAsset.
Definition at line 149 of file discretizedcallablefixedratebond.cpp.
Here is the call graph for this function:
|
private |
Definition at line 168 of file discretizedcallablefixedratebond.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 187 of file discretizedcallablefixedratebond.cpp.
Here is the caller graph for this function:
|
private |
Definition at line 45 of file discretizedcallablefixedratebond.hpp.
|
private |
Definition at line 46 of file discretizedcallablefixedratebond.hpp.
|
private |
Definition at line 47 of file discretizedcallablefixedratebond.hpp.
|
private |
Definition at line 48 of file discretizedcallablefixedratebond.hpp.
|
private |
Definition at line 49 of file discretizedcallablefixedratebond.hpp.
|
private |
Definition at line 50 of file discretizedcallablefixedratebond.hpp.