-
Notifications
You must be signed in to change notification settings - Fork 192
/
_region.pxd
41 lines (30 loc) · 1 KB
/
_region.pxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
Copyright (C) 2016, Enthought Inc
Copyright (C) 2016, Patrick Henaff
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the license for more details.
"""
include '../types.pxi'
from libcpp cimport bool
from libcpp.string cimport string
cdef extern from 'ql/indexes/region.hpp' namespace 'QuantLib':
cdef cppclass Region nogil:
Region()
Region(Region&)
string name()
string code()
cdef cppclass CustomRegion(Region):
CustomRegion()
CustomRegion(string& name,
string& code) except +
cdef cppclass AustraliaRegion(Region):
AustraliaRegion()
cdef cppclass EURegion(Region):
EuRegion()
cdef cppclass FranceRegion(Region):
FranceRegion()
cdef cppclass UKRegion(Region):
UKRegion()
cdef cppclass USRegion(Region):
USRegion()