Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFileWriterWithInformation.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 FILEWRITERWITHINFORMATION_H_INCLUDED
18 #define FILEWRITERWITHINFORMATION_H_INCLUDED
19 
20 #include "mitkBaseData.h"
21 #include "mitkFileWriter.h"
22 
23 namespace mitk
24 {
32  {
33  public:
35 
36  virtual const char *GetDefaultFilename() = 0;
37  virtual const char *GetFileDialogPattern() = 0;
38  virtual const char *GetDefaultExtension() = 0;
39  virtual bool CanWriteBaseDataType(BaseData::Pointer data) = 0;
40  virtual void DoWrite(BaseData::Pointer data) = 0;
41  };
42 }
43 #endif
virtual void DoWrite(BaseData::Pointer data)=0
DataCollection - Class to facilitate loading/accessing structured data.
Interface for FileWriters with extra information. Should be merged into FileWriter.
virtual const char * GetFileDialogPattern()=0
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
virtual const char * GetDefaultFilename()=0
Interface class of writers that write data to files.
virtual bool CanWriteBaseDataType(BaseData::Pointer data)=0
virtual const char * GetDefaultExtension()=0