Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
18 #define MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
19 
20 #include <mitkNavigationDataSet.h>
21 #include <mitkAbstractFileWriter.h>
22 
23 namespace mitk {
25  {
26  public:
27 
30 
31 
33  virtual void Write() override;
34 
35  protected:
36 
38 
39  virtual mitk::NavigationDataSetWriterXML* Clone() const override;
40 
41  virtual void StreamHeader (std::ostream* stream, mitk::NavigationDataSet::ConstPointer data);
42  virtual void StreamData (std::ostream* stream, mitk::NavigationDataSet::ConstPointer data);
43  virtual void StreamFooter (std::ostream* stream);
44  };
45 }
46 
47 #endif // MITKNavigationDataSetWriterXML_H_HEADER_INCLUDED_
DataCollection - Class to facilitate loading/accessing structured data.
virtual void StreamData(std::ostream *stream, mitk::NavigationDataSet::ConstPointer data)
virtual mitk::NavigationDataSetWriterXML * Clone() const override
virtual void Write() override=0
Write the base data to the specified location or output stream.
virtual void Write() override
Write the base data to the specified location or output stream.
virtual void StreamFooter(std::ostream *stream)
Base class for writing mitk::BaseData objects to files or streams.
virtual void StreamHeader(std::ostream *stream, mitk::NavigationDataSet::ConstPointer data)