#include <ored/utilities/indexnametranslator.hpp>
Public Member Functions | |
std::string | oreName (const std::string &qlName) const |
throws if qlName is not known | |
std::string | qlName (const std::string &oreName) const |
throws if oreName is not known | |
void | add (const std::string &qlName, const std::string &oreName) |
adds a pair to the mapping | |
void | clear () |
clears the mapping | |
Allows translating from QuantLib::Index::name() to the ORE name that parses to that index and vice versa.