#include <ored/configuration/commoditycurveconfig.hpp>
Classes | |
class | OffPeakDaily |
Class to store quotes used in building daily off-peak power quotes. More... | |
Public Types | |
enum class | Type { Future , AveragingFuture , AveragingSpot , AveragingOffPeakPower , OffPeakPowerDaily } |
Type of price segment being represented, i.e. type of instrument in the price segment. | |
Public Member Functions | |
Constructors | |
PriceSegment () | |
Default constructor. | |
PriceSegment (const std::string &type, const std::string &conventionsId, const std::vector< std::string > "es, const boost::optional< unsigned short > &priority=boost::none, const boost::optional< OffPeakDaily > &offPeakDaily=boost::none, const std::string &peakPriceCurveId="", const std::string &peakPriceCalendar="") | |
Detailed constructor. | |
Inspectors | |
Type | type () const |
const std::string & | conventionsId () const |
const std::vector< std::string > & | quotes () const |
const boost::optional< unsigned short > & | priority () const |
const boost::optional< OffPeakDaily > & | offPeakDaily () const |
const std::string & | peakPriceCurveId () const |
const std::string & | peakPriceCalendar () const |
bool | empty () const |
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. | |
Serialisation | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) override |
Class for holding information on a set of instruments used in bootstrapping a piecewise price curve.