Medical Imaging Interaction Toolkit  2018.4.99-c4b6bb11
Medical Imaging Interaction Toolkit
mitkIPersistable.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 #ifndef mitkIPersistable_h
13 #define mitkIPersistable_h
14 #include <string>
15 
16 namespace mitk
17 {
22  {
23  public:
24  virtual bool Save(const std::string &fileName = "") = 0;
25  virtual bool Load(const std::string &fileName = "") = 0;
26  virtual void SetId(const std::string &id) = 0;
27  virtual std::string GetId() const = 0;
28  };
29 }
30 
31 #endif
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKPERSISTENCE_EXPORT