global repository for past index fixings More...
#include <ql/indexes/indexmanager.hpp>
Public Member Functions | |
bool | hasHistory (const std::string &name) const |
returns whether historical fixings were stored for the index | |
const TimeSeries< Real > & | getHistory (const std::string &name) const |
returns the (possibly empty) history of the index fixings | |
void | setHistory (const std::string &name, const TimeSeries< Real > &) |
stores the historical fixings of the index | |
ext::shared_ptr< Observable > | notifier (const std::string &name) const |
observer notifying of changes in the index fixings | |
std::vector< std::string > | histories () const |
returns all names of the indexes for which fixings were stored | |
void | clearHistory (const std::string &name) |
clears the historical fixings of the index | |
void | clearHistories () |
clears all stored fixings | |
Friends | |
class | Singleton< IndexManager > |
Additional Inherited Members | |
![]() | |
static IndexManager & | instance () |
access to the unique instance | |
global repository for past index fixings