SIRF
3.8.0
sources
SIRF
src
Registration
mReg
printer.h
1
/*
2
SyneRBI Synergistic Image Reconstruction Framework (SIRF)
3
Copyright 2015 - 2017 Rutherford Appleton Laboratory STFC
4
Copyright 2017 - 2019 University College London
5
6
This is software developed for the Collaborative Computational
7
Project in Synergistic Reconstruction for Biomedical Imaging (formerly CCP PETMR)
8
(http://www.ccpsynerbi.ac.uk/).
9
Licensed under the Apache License, Version 2.0 (the "License");
10
you may not use this file except in compliance with the License.
11
You may obtain a copy of the License at
12
http://www.apache.org/licenses/LICENSE-2.0
13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS,
15
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
See the License for the specific language governing permissions and
17
limitations under the License.
18
*/
19
20
#ifndef MEX_PRINTER
21
#define MEX_PRINTER
22
23
#include <mex.h>
24
25
#include "stir/TextWriter.h"
26
27
class
mexTextPrinter
:
public
aTextWriter {
28
public
:
29
virtual
void
write(
const
char
* text)
const
{
30
//mexPrintf("mexPrintf is called...\n");
31
mexPrintf(text);
32
}
33
};
34
35
#endif
mexTextPrinter
Definition:
printer.h:27
Generated by
1.9.1