Logo
Reference manual - version ored_version
Public Member Functions | List of all members
RangeBound Class Reference

Serializable obejct holding range bound data. More...

#include <ored/portfolio/rangebound.hpp>

+ Inheritance diagram for RangeBound:

Public Member Functions

 RangeBound ()
 Default constructor.
 
 RangeBound (const Real from, const Real to, const Real leverage, const Real strike, const Real strikeAdjustment)
 Constructor.
 
Inspectors
Real from () const
 
Real to () const
 
Real leverage () const
 
Real strike () const
 
Real strikeAdjustment () 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

virtual void fromXML (ore::data::XMLNode *node) override
 
virtual ore::data::XMLNodetoXML (ore::data::XMLDocument &doc) override
 

Detailed Description

Serializable obejct holding range bound data.