Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkExampleDataStructureReaderService.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 __mitkExampleDataStructureReaderService_h
18 #define __mitkExampleDataStructureReaderService_h
19 
20 #include "mitkCommon.h"
22 #include <mitkAbstractFileReader.h>
23 #include <mitkBaseData.h>
24 #include <mitkMimeType.h>
25 
26 namespace mitk
27 {
32  {
33  public:
35 
39 
41  virtual std::vector<itk::SmartPointer<BaseData>> Read() override;
42 
43  private:
44  ExampleDataStructureReaderService *Clone() const override;
45 
47  };
48 
49 } // namespace MITK
50 
51 #endif // __mitkExampleDataStructureReaderService_h
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
The reader service for the MITK example data type.
Base class for creating mitk::BaseData objects from files or streams.