Medical Imaging Interaction Toolkit  2023.04.00
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 mitkFileWriterWithInformation_h
14 #define mitkFileWriterWithInformation_h
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
mitk::FileWriterWithInformation::CanWriteBaseDataType
virtual bool CanWriteBaseDataType(BaseData::Pointer data)=0
mitk::FileWriterWithInformation::GetDefaultFilename
virtual const char * GetDefaultFilename()=0
mitk::FileWriterWithInformation::GetDefaultExtension
virtual const char * GetDefaultExtension()=0
itk::SmartPointer< Self >
mitk::FileWriter
Interface class of writers that write data to files.
Definition: mitkFileWriter.h:26
mitk::FileWriterWithInformation::GetFileDialogPattern
virtual const char * GetFileDialogPattern()=0
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::FileWriterWithInformation::DoWrite
virtual void DoWrite(BaseData::Pointer data)=0
mitkFileWriter.h
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::FileWriterWithInformation
Interface for FileWriters with extra information. Should be merged into FileWriter.
Definition: mitkFileWriterWithInformation.h:27