|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <tracing.hpp>
Inheritance diagram for Tracing:
Collaboration diagram for Tracing:Public Member Functions | |
| void | enable () |
| void | disable () |
| void | setStream (std::ostream &stream) |
| bool | enabled () const |
| std::ostream & | stream () |
| Integer | depth () const |
| void | down () |
| void | up () |
Public Member Functions inherited from Singleton< Tracing > | |
| Singleton (const Singleton &)=delete | |
| Singleton (Singleton &&)=delete | |
| Singleton & | operator= (const Singleton &)=delete |
| Singleton & | operator= (Singleton &&)=delete |
| ~Singleton ()=default | |
Private Member Functions | |
| Tracing () | |
Private Attributes | |
| std::ostream * | out_ |
| bool | enabled_ = false |
| Integer | depth_ = 0 |
Friends | |
| class | QuantLib::Singleton< Tracing > |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< Tracing > | |
| static Tracing & | instance () |
| access to the unique instance More... | |
Protected Member Functions inherited from Singleton< Tracing > | |
| Singleton ()=default | |
Definition at line 35 of file tracing.hpp.
|
private |
Definition at line 25 of file tracing.cpp.
| void enable | ( | ) |
Definition at line 40 of file tracing.hpp.
| void disable | ( | ) |
Definition at line 47 of file tracing.hpp.
| void setStream | ( | std::ostream & | stream | ) |
| bool enabled | ( | ) | const |
Definition at line 49 of file tracing.hpp.
| std::ostream & stream | ( | ) |
| Integer depth | ( | ) | const |
Definition at line 51 of file tracing.hpp.
| void down | ( | ) |
Definition at line 52 of file tracing.hpp.
| void up | ( | ) |
Definition at line 53 of file tracing.hpp.
|
friend |
Definition at line 1 of file tracing.hpp.
|
private |
Definition at line 55 of file tracing.hpp.
|
private |
Definition at line 56 of file tracing.hpp.
|
private |
Definition at line 57 of file tracing.hpp.