QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CustomRegion Class Reference

Custom geographical/economic region. More...

#include <region.hpp>

+ Inheritance diagram for CustomRegion:
+ Collaboration 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 ()=default
 
- Protected Attributes inherited from Region
ext::shared_ptr< Datadata_
 

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.

Definition at line 67 of file region.hpp.

Constructor & Destructor Documentation

◆ CustomRegion()

CustomRegion ( const std::string &  name,
const std::string &  code 
)

Definition at line 25 of file region.cpp.

+ Here is the call graph for this function: