Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
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 (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 #ifndef __mitkExampleDataStructureReaderService_h
14 #define __mitkExampleDataStructureReaderService_h
15 
16 #include "mitkCommon.h"
18 #include <mitkAbstractFileReader.h>
19 #include <mitkBaseData.h>
20 #include <mitkMimeType.h>
21 
22 namespace mitk
23 {
28  {
29  public:
31 
35 
37  std::vector<itk::SmartPointer<BaseData>> Read() override;
38 
39  private:
40  ExampleDataStructureReaderService *Clone() const override;
41 
43  };
44 
45 } // namespace MITK
46 
47 #endif // __mitkExampleDataStructureReaderService_h
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.
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.