QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
Public Member Functions | List of all members
CustomRegion Class Reference

Custom geographical/economic region. More...

#include <ql/indexes/region.hpp>

+ Inheritance diagram for CustomRegion:

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 ()
 
- Protected Attributes inherited from Region
ext::shared_ptr< Data > data_
 

Detailed Description

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.