Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef mitkUIDHelper_h
15 #define mitkUIDHelper_h
16 
17 #include <string>
18 
19 //MITK
22 
23 namespace mitk
24 {
25  class DataNode;
26  class BaseData;
27 
28  typedef std::string NodeUIDType;
29 
33 
35  bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::DataNode* node, const NodeUIDType& uid);
36 
40 
42  bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::BaseData* data, const NodeUIDType& uid);
43 }
44 
45 #endif
46 
Base of all data objects.
Definition: mitkBaseData.h:42
DataCollection - Class to facilitate loading/accessing structured data.
NodeUIDType MITKMATCHPOINTREGISTRATION_EXPORT EnsureUID(mitk::DataNode *node)
#define MITKMATCHPOINTREGISTRATION_EXPORT
std::string NodeUIDType
Definition: mitkUIDHelper.h:26
bool MITKMATCHPOINTREGISTRATION_EXPORT CheckUID(const mitk::DataNode *node, const NodeUIDType &uid)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57