Logo
Reference manual - version qle_version
Public Member Functions | Friends | List of all members
DividendManager Class Reference

global repository for past dividends More...

#include <qle/indexes/dividendmanager.hpp>

+ Inheritance diagram for DividendManager:

Public Member Functions

bool hasHistory (const std::string &name) const
 returns whether historical fixings were stored for the index
 
const std::set< Dividend > & getHistory (const std::string &name)
 returns the (possibly empty) history of the index fixings
 
void setHistory (const std::string &name, const std::set< Dividend > &)
 stores the historical fixings of the index
 
boost::shared_ptr< QuantLib::Observable > notifier (const std::string &name)
 observer notifying of changes in the index fixings
 

Friends

class QuantLib::Singleton< DividendManager >
 

Detailed Description

global repository for past dividends

Note
index names are case insensitive