Medical Imaging Interaction Toolkit  2018.4.99-07c45cb1
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 (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 FILEWRITERWITHINFORMATION_H_INCLUDED
14 #define FILEWRITERWITHINFORMATION_H_INCLUDED
15 
16 #include "mitkBaseData.h"
17 #include "mitkFileWriter.h"
18 
19 namespace mitk
20 {
28  {
29  public:
31 
32  virtual const char *GetDefaultFilename() = 0;
33  virtual const char *GetFileDialogPattern() = 0;
34  virtual const char *GetDefaultExtension() = 0;
35  virtual bool CanWriteBaseDataType(BaseData::Pointer data) = 0;
36  virtual void DoWrite(BaseData::Pointer data) = 0;
37  };
38 }
39 #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:40
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