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
berryCommandTracing.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
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
#include "
berryLog.h
"
18
19
#include "
berryCommandTracing.h
"
20
21
#include <iostream>
22
23
namespace
berry
{
24
25
const
QString
CommandTracing::SEPARATOR
=
" >>> "
;
26
27
void
CommandTracing::PrintTrace
(
const
QString& component,
28
const
QString& message)
29
{
30
QString buffer(component);
31
if
((!component.isEmpty()) && (!message.isEmpty()))
32
{
33
buffer +=
SEPARATOR
;
34
}
35
if
(!message.isEmpty())
36
{
37
buffer += message;
38
}
39
BERRY_INFO
<< buffer;
40
}
41
42
CommandTracing::CommandTracing()
43
{
44
// Do nothing.
45
}
46
47
}
berry
Definition:
QmitkPropertyItemModel.h:27
berryLog.h
berry::CommandTracing::PrintTrace
static void PrintTrace(const QString &component, const QString &message)
Definition:
berryCommandTracing.cpp:27
berry::CommandTracing::SEPARATOR
static const QString SEPARATOR
Definition:
berryCommandTracing.h:43
BERRY_INFO
#define BERRY_INFO
Definition:
berryLog.h:24
berryCommandTracing.h
git
MITK
Plugins
org.blueberry.core.commands
src
util
berryCommandTracing.cpp
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1