NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkIGIBufferedSaveableDataSourceI.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 #ifndef niftkIGIBufferedSaveableDataSourceI_h
15 #define niftkIGIBufferedSaveableDataSourceI_h
16 
17 #include "niftkIGIDataSourcesExports.h"
18 #include <niftkIGIDataType.h>
19 
20 namespace niftk
21 {
22 
28 class NIFTKIGIDATASOURCES_EXPORT IGIBufferedSaveableDataSourceI
29 {
30 public:
31 
32  virtual void SaveItem(niftk::IGIDataType::Pointer item) = 0;
33 
34 protected:
35 
36  IGIBufferedSaveableDataSourceI(); // Purposefully hidden.
37  virtual ~IGIBufferedSaveableDataSourceI(); // Purposefully hidden.
38 
39  IGIBufferedSaveableDataSourceI(const IGIBufferedSaveableDataSourceI&); // Purposefully not implemented.
40  IGIBufferedSaveableDataSourceI& operator=(const IGIBufferedSaveableDataSourceI&); // Purposefully not implemented.
41 
42 };
43 
44 } // end namespace
45 
46 #endif
Definition: niftkExceptionObject.h:21
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGIBufferedSaveableDataSourceI.h:28