MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkNavigationDataReaderXML.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13
14#ifndef mitkNavigationDataReaderXML_h
15#define mitkNavigationDataReaderXML_h
16
17#include <MitkIGTIOExports.h>
18
19#include <mitkAbstractFileReader.h>
21// includes for exceptions
22#include <mitkIGTException.h>
23#include <mitkIGTIOException.h>
24
25namespace mitk {
26
27 class MITKIGTIO_EXPORT NavigationDataReaderXML : public AbstractFileReader
28 {
29 public:
31 ~NavigationDataReaderXML() override;
32
33 using AbstractFileReader::Read;
34
35 protected:
36 std::vector<itk::SmartPointer<BaseData>> DoRead() override;
37
39 mitk::NavigationDataReaderXML* Clone() const override;
40
41 std::string m_FileName;
42
43 private:
44 NavigationDataSet::Pointer Read(std::istream& stream);
45 NavigationDataSet::Pointer Read(const std::string& fileName);
46 };
47
48} // namespace mitk
49
50#endif
IGT Exceptions.