STIR  6.2.0
Verbosity.h
Go to the documentation of this file.
1 //
2 //
15 /*
16  Copyright (C) 2014, University College London
17  This file is part of STIR.
18 
19  SPDX-License-Identifier: Apache-2.0
20 
21  See STIR/LICENSE.txt for details
22 */
23 
24 #ifndef __stir_Verbosity_H__
25 #define __stir_Verbosity_H__
26 #include "stir/common.h"
27 
28 START_NAMESPACE_STIR
29 
34 class Verbosity
35 {
36 public:
37  static int get();
38  static void set(int level);
39 
40 private:
41  Verbosity(); // Private so that it can not be called
42 
43  int _verbosity_level;
44  static Verbosity* _instance;
45 };
46 
47 END_NAMESPACE_STIR
48 #endif
This class enables the user to control the on-screen output.
Definition: Verbosity.h:34
basic configuration include file