Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mbilogBackendCout.h
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef _mbilogBackendCout_H
18
#define _mbilogBackendCout_H
19
20
#include <iostream>
21
22
#include "
mbilogExports.h
"
23
#include "
mbilogLogMessage.h
"
24
#include "
mbilogLoggingTypes.h
"
25
#include "
mbilogTextBackendBase.h
"
26
27
namespace
mbilog
28
{
34
class
MBILOG_EXPORT
BackendCout
:
public
TextBackendBase
35
{
36
public
:
37
BackendCout
();
38
virtual
~
BackendCout
();
39
46
virtual
void
ProcessMessage(
const
mbilog::LogMessage
&l)
override
;
47
52
void
SetFull(
bool
full);
53
54
virtual
OutputType GetOutputType()
const override
;
55
56
private
:
60
bool
m_useFullOutput;
61
};
62
}
63
64
#endif
mbilogTextBackendBase.h
MBILOG_EXPORT
#define MBILOG_EXPORT
Definition:
mbilogExports.h:15
mbilog::BackendCout
Default backend of the mbi logging mechanism. This backend is used if no other backend is registered...
Definition:
mbilogBackendCout.h:34
mbilogExports.h
mbilog::LogMessage
An object of this class represents a single logging message (logging event) of the mbi logging mechan...
Definition:
mbilogLogMessage.h:39
mbilog::TextBackendBase
This class is an abstract superclass for logging text backends. It adds string formatting methods to ...
Definition:
mbilogTextBackendBase.h:32
mbilogLoggingTypes.h
mbilog
Definition:
mbilog.cpp:25
mbilogLogMessage.h
git
MITK
Utilities
mbilog
mbilogBackendCout.h
Generated on Fri Feb 3 2017 20:51:52 for Medical Imaging Interaction Toolkit by
1.8.9.1