QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Custom geographical/economic region. More...
#include <region.hpp>
Public Member Functions | |
CustomRegion (const std::string &name, const std::string &code) | |
Public Member Functions inherited from Region | |
const std::string & | name () const |
const std::string & | code () const |
Additional Inherited Members | |
Protected Member Functions inherited from Region | |
Region ()=default | |
Protected Attributes inherited from Region | |
ext::shared_ptr< Data > | data_ |
Related Functions inherited from Region | |
bool | operator== (const Region &, const Region &) |
bool | operator!= (const Region &, const Region &) |
Custom geographical/economic region.
This class allows one to create an instance of a particular region without having to define and compile a corresponding class.
Definition at line 67 of file region.hpp.
CustomRegion | ( | const std::string & | name, |
const std::string & | code | ||
) |