|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Bond price information. More...
#include <bond.hpp>
Collaboration diagram for Bond::Price:Public Types | |
| enum | Type { Dirty , Clean } |
Public Member Functions | |
| Price () | |
| Price (Real amount, Type type) | |
| Real | amount () const |
| Type | type () const |
| bool | isValid () const |
Private Attributes | |
| Real | amount_ |
| Type | type_ |
Bond price information.
| Real amount | ( | ) | const |
| Type type | ( | ) | const |
| bool isValid | ( | ) | const |