Apama Capital Markets Foundation 10.15.0.0
|
#include <QuantlibPlugin.hpp>
Public Member Functions | |
BondKey (const char *issueDate, const char *maturityDate, const char *settlementDate, const Rate rate, const Frequency frequency, bool takeCopies=true) | |
BondKey (const BondKey &that) | |
BondKey & | operator= (const BondKey &that) |
const char * | toString () |
const char * | getIssueDate () |
const char * | getMaturityDate () |
const char * | getSettlementDate () |
Rate | getRate () |
Frequency | getFrequency () |
Friends | |
bool | operator< (const BondKey &lhs, const BondKey &rhs) |
bool | operator== (const BondKey &lhs, const BondKey &rhs) |
int | compare (BondKey &lhs, BondKey &rhs) |
std::size_t | hash_value (const BondKey &x) |
The key used for bond lookups. This is slightly subtle: If takeCopies = false in the constructor then the object will just reference its string arguments, thus avoiding the need to do memory allocation. The downside of that is that those arguments must exist for the lifetime of the BondKey object. If you are unsure about that the just use takeCopies = true (the default).
BondKey::BondKey | ( | const char * | issueDate, |
const char * | maturityDate, | ||
const char * | settlementDate, | ||
const Rate | rate, | ||
const Frequency | frequency, | ||
bool | takeCopies = true |
||
) |
BondKey Constructor
|
inline |
get Frequency
|
inline |
get issue date
|
inline |
get Maturity date
|
inline |
get rate
|
inline |
get settlement date
const char * BondKey::toString | ( | ) |
to string method