![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
Declaration of class sOutputManager. More...
#include "gVariables.hh"
Go to the source code of this file.
Classes | |
class | sOutputManager |
Singleton class that manages output writing on disk (images, sinograms, etc). It also manages logging and printing on screen. More... | |
Defines | |
#define | OS_SEP "/" |
#define | QUOTES(value) #value |
#define | TOSTRING(macro) QUOTES(macro) |
#define | Cout(MESSAGE) |
#define | Cerr(MESSAGE) |
Functions | |
void | Exit (int code) |
Declaration of class sOutputManager.
Definition in file sOutputManager.hh.
#define Cerr | ( | MESSAGE | ) |
do \ { \ std::cerr << MESSAGE; \ sOutputManager* instance = sOutputManager::GetInstance(); \ if (instance!=NULL) \ { \ ofstream& logMac = instance->GetLogFile(); \ if (logMac) logMac << MESSAGE; \ } \ } while(0)
Definition at line 79 of file sOutputManager.hh.
#define Cout | ( | MESSAGE | ) |
do \ { \ std::cout << MESSAGE; \ sOutputManager* instance = sOutputManager::GetInstance(); \ if (instance!=NULL) \ { \ ofstream& logMac = instance->GetLogFile(); \ if (logMac) logMac << MESSAGE; \ } \ } while(0)
Definition at line 67 of file sOutputManager.hh.
#define OS_SEP "/" |
Definition at line 16 of file sOutputManager.hh.
#define QUOTES | ( | value | ) | #value |
Definition at line 20 of file sOutputManager.hh.
Definition at line 21 of file sOutputManager.hh.
void Exit | ( | int | code | ) |