NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
niftk-nightly
MITK
Modules
CoreIO
Internal
niftkSerializerMacros.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
NifTK: A software platform for medical image computing.
4
5
Copyright (c) University College London (UCL). All rights reserved.
6
7
This software is distributed WITHOUT ANY WARRANTY; without even
8
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
PURPOSE.
10
11
See LICENSE.txt in the top level directory for details.
12
13
=============================================================================*/
14
15
#ifndef niftkSerializerMacros_h
16
#define niftkSerializerMacros_h
17
18
// Note:
19
// MITK_REGISTER_SERIALIZER assumes that the type is in the 'mitk' namespace.
20
// To overcome this assumption, we create an 'alias' to our class with
21
// the desired name.
22
23
#define NIFTK_REGISTER_SERIALIZER(SERIALIZER_CLASS_NAME)\
24
namespace mitk\
25
{\
26
class SERIALIZER_CLASS_NAME : public niftk::SERIALIZER_CLASS_NAME\
27
{\
28
};\
29
\
30
MITK_REGISTER_SERIALIZER(SERIALIZER_CLASS_NAME);\
31
}\
32
33
#endif
Generated on Thu Aug 4 2016 06:02:51 for NifTK by
1.8.8