QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <tracing.hpp>
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 37 of file tracing.hpp.
|
private |
Definition at line 29 of file tracing.cpp.
void enable | ( | ) |
Definition at line 42 of file tracing.hpp.
void disable | ( | ) |
Definition at line 49 of file tracing.hpp.
void setStream | ( | std::ostream & | stream | ) |
bool enabled | ( | ) | const |
Definition at line 51 of file tracing.hpp.
std::ostream & stream | ( | ) |
Integer depth | ( | ) | const |
Definition at line 53 of file tracing.hpp.
void down | ( | ) |
Definition at line 54 of file tracing.hpp.
void up | ( | ) |
Definition at line 55 of file tracing.hpp.
|
friend |
Definition at line 1 of file tracing.hpp.
|
private |
Definition at line 57 of file tracing.hpp.
|
private |
Definition at line 58 of file tracing.hpp.
|
private |
Definition at line 59 of file tracing.hpp.