Medical Imaging Interaction Toolkit  2018.4.99-eed36131
Medical Imaging Interaction Toolkit
mitkNavigationDataSetWriterXML.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 MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
14 #define MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
15 
16 #include <MitkIGTIOExports.h>
17 
18 #include <mitkNavigationDataSet.h>
19 #include <mitkAbstractFileWriter.h>
20 
21 namespace mitk {
23  {
24  public:
25 
27  ~NavigationDataSetWriterXML() override;
28 
29 
31  void Write() override;
32 
33  protected:
34 
36 
37  mitk::NavigationDataSetWriterXML* Clone() const override;
38 
39  virtual void StreamHeader (std::ostream* stream, mitk::NavigationDataSet::ConstPointer data);
40  virtual void StreamData (std::ostream* stream, mitk::NavigationDataSet::ConstPointer data);
41  virtual void StreamFooter (std::ostream* stream);
42  };
43 }
44 
45 #endif // MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
void Write() override=0
Write the base data to the specified location or output stream.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKIGTIO_EXPORT
Base class for writing mitk::BaseData objects to files or streams.