Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkModelFitUIDHelper.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 mitkModelFitUIDHelper_h
15 #define mitkModelFitUIDHelper_h
16 
17 #include <string>
18 
19 //MITK
20 #include <mitkDataNode.h>
21 
22 #include "MitkModelFitExports.h"
23 
24 namespace mitk
25 {
26  class BaseData;
27  class DataStorage;
28 
29  typedef std::string NodeUIDType;
30 
32  DataNode::Pointer MITKMODELFIT_EXPORT GetNodeByModelFitUID(const mitk::DataStorage* storage, const NodeUIDType& uid);
33 
42 
47  bool MITKMODELFIT_EXPORT CheckModelFitUID(const mitk::BaseData* data, const NodeUIDType& uid);
49  bool MITKMODELFIT_EXPORT CheckModelFitUID(const mitk::DataNode* node, const NodeUIDType& uid);
50 
51 
52 }
53 
54 #endif
55 
Data management class that handles &#39;was created by&#39; relations.
bool MITKMODELFIT_EXPORT CheckModelFitUID(const mitk::BaseData *data, const NodeUIDType &uid)
Base of all data objects.
Definition: mitkBaseData.h:37
DataNode::Pointer MITKMODELFIT_EXPORT GetNodeByModelFitUID(const mitk::DataStorage *storage, const NodeUIDType &uid)
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
itk::SmartPointer< Self > Pointer
Definition: mitkDataNode.h:71
NodeUIDType MITKMODELFIT_EXPORT EnsureModelFitUID(mitk::BaseData *data)
std::string NodeUIDType
Definition: mitkUIDHelper.h:26
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57