Class to store conventions for creating an off peak power index. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
OffPeakPowerIndexData () | |
Constructor. | |
OffPeakPowerIndexData (const std::string &offPeakIndex, const std::string &peakIndex, const std::string &offPeakHours, const std::string &peakCalendar) | |
Detailed constructor. | |
const std::string & | offPeakIndex () const |
const std::string & | peakIndex () const |
QuantLib::Real | offPeakHours () const |
const QuantLib::Calendar & | peakCalendar () const |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) override |
void | build () |
Public Member Functions inherited from XMLSerializable | |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) |
void | fromXMLString (const std::string &xml) |
Parse from XML string. | |
std::string | toXMLString () |
Parse from XML string. | |
Class to store conventions for creating an off peak power index.