Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerTextsReader.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4  Queen's University, Kingston, ON, Canada. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Kyle Sunderland, PerkLab, Queen's University
16  and was supported through CANARIE's Research Software Program, and Cancer
17  Care Ontario.
18 
19 ==============================================================================*/
20 
21 #ifndef __qSlicerTextsReader_h
22 #define __qSlicerTextsReader_h
23 
24 // Slicer includes
25 #include "qSlicerFileReader.h"
26 class qSlicerTextsReaderPrivate;
27 
28 //-----------------------------------------------------------------------------
30 {
31  Q_OBJECT
32 public:
34  qSlicerTextsReader(QObject* parent = nullptr);
35  ~qSlicerTextsReader() override;
36 
37  QString description() const override;
38  IOFileType fileType() const override;
39  QStringList extensions() const override;
40 
41  bool load(const IOProperties& properties) override;
42 
43 protected:
44  QScopedPointer< qSlicerTextsReaderPrivate > d_ptr;
45 
46 private:
47  Q_DECLARE_PRIVATE(qSlicerTextsReader);
48  Q_DISABLE_COPY(qSlicerTextsReader);
49 };
50 
51 #endif
QScopedPointer< qSlicerTextsReaderPrivate > d_ptr
QString description() const override
Unique name of the reader/writer.
QStringList extensions() const override
qSlicerFileReader Superclass
IOFileType fileType() const override
Multiple readers can share the same file type.
bool load(const IOProperties &properties) override
Properties availables : fileMode, multipleFiles, fileType.
QString IOFileType
Definition: qSlicerIO.h:52
~qSlicerTextsReader() override
qSlicerTextsReader(QObject *parent=nullptr)