Fully annotated reference manual - version 1.8.12
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
y
Functions
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
v
w
y
Variables
Typedefs
b
c
d
f
i
m
p
q
r
s
t
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
a
b
c
e
f
h
i
j
k
m
n
o
r
s
u
Related Functions
Files
File List
File Members
All
a
b
c
e
f
o
r
s
t
v
Functions
a
b
c
f
o
r
s
t
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
orea
app
cleanupsingletons.hpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2017 Quaternion Risk Management Ltd
3
All rights reserved.
4
5
This file is part of ORE, a free-software/open-source library
6
for transparent pricing and risk analysis - http://opensourcerisk.org
7
8
ORE is free software: you can redistribute it and/or modify it
9
under the terms of the Modified BSD License. You should have received a
10
copy of the license along with this program.
11
The license is also available online at <http://opensourcerisk.org>
12
13
This program is distributed on the basis that it will form a useful
14
contribution to risk analytics and model standardisation, but WITHOUT
15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
17
*/
18
19
#pragma once
20
21
#include <ql/settings.hpp>
22
#include <
qle/utilities/savedobservablesettings.hpp
>
23
24
namespace
ore::analytics
{
25
26
class
CleanUpThreadLocalSingletons
{
27
public
:
28
QuantLib::SavedSettings
savedSettings
;
29
QuantExt::SavedObservableSettings
savedObservableSettings
;
30
~CleanUpThreadLocalSingletons
();
31
};
32
33
class
CleanUpThreadGlobalSingletons
{
34
public
:
35
~CleanUpThreadGlobalSingletons
();
36
};
37
38
class
CleanUpLogSingleton
{
39
public
:
40
CleanUpLogSingleton
(
const
bool
removeLoggers =
false
,
const
bool
clearIndependentLoggers =
true
);
41
~CleanUpLogSingleton
();
42
43
private
:
44
bool
removeLoggers_
,
clearIndependentLoggers_
;
45
};
46
47
}
// namespace ore::analytics
QuantExt::SavedObservableSettings
ore::analytics::CleanUpLogSingleton
Definition:
cleanupsingletons.hpp:38
ore::analytics::CleanUpLogSingleton::removeLoggers_
bool removeLoggers_
Definition:
cleanupsingletons.hpp:44
ore::analytics::CleanUpLogSingleton::~CleanUpLogSingleton
~CleanUpLogSingleton()
Definition:
cleanupsingletons.cpp:55
ore::analytics::CleanUpLogSingleton::clearIndependentLoggers_
bool clearIndependentLoggers_
Definition:
cleanupsingletons.hpp:44
ore::analytics::CleanUpThreadGlobalSingletons
Definition:
cleanupsingletons.hpp:33
ore::analytics::CleanUpThreadGlobalSingletons::~CleanUpThreadGlobalSingletons
~CleanUpThreadGlobalSingletons()
Definition:
cleanupsingletons.cpp:44
ore::analytics::CleanUpThreadLocalSingletons
Definition:
cleanupsingletons.hpp:26
ore::analytics::CleanUpThreadLocalSingletons::savedSettings
QuantLib::SavedSettings savedSettings
Definition:
cleanupsingletons.hpp:28
ore::analytics::CleanUpThreadLocalSingletons::~CleanUpThreadLocalSingletons
~CleanUpThreadLocalSingletons()
Definition:
cleanupsingletons.cpp:35
ore::analytics::CleanUpThreadLocalSingletons::savedObservableSettings
QuantExt::SavedObservableSettings savedObservableSettings
Definition:
cleanupsingletons.hpp:29
ore::analytics
savedobservablesettings.hpp
Generated by
Doxygen
1.9.5