Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkIDataNodeReader.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 #ifndef MITKIDATANODEREADER_H
18 #define MITKIDATANODEREADER_H
19 
20 #include <mitkDataNode.h>
21 #include <mitkServiceInterface.h>
22 
23 namespace mitk
24 {
25  class DataStorage;
26 
36  {
37  virtual ~IDataNodeReader() {}
51  virtual int Read(const std::string &fileName, mitk::DataStorage &storage) = 0;
52  };
53 }
54 
55 MITK_DECLARE_SERVICE_INTERFACE(mitk::IDataNodeReader, "org.mitk.IDataNodeReader")
56 
57 #endif // MITKIDATANODEREADER_H
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
virtual int Read(const std::string &fileName, mitk::DataStorage &storage)=0
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")