Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkUIDHelper.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 
18 #ifndef mitkUIDHelper_h
19 #define mitkUIDHelper_h
20 
21 #include <string>
22 
23 //MITK
26 
27 namespace mitk
28 {
29  class DataNode;
30  class BaseData;
31 
32  typedef std::string NodeUIDType;
33 
37 
39  bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::DataNode* node, const NodeUIDType& uid);
40 
44 
46  bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::BaseData* data, const NodeUIDType& uid);
47 }
48 
49 #endif
50 
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
NodeUIDType MITKMATCHPOINTREGISTRATION_EXPORT EnsureUID(mitk::DataNode *node)
#define MITKMATCHPOINTREGISTRATION_EXPORT
std::string NodeUIDType
Definition: mitkUIDHelper.h:30
bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::DataNode *node, const NodeUIDType &uid)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66