Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::IPersistable
Definition: mitkIPersistable.h:21
MITKPERSISTENCE_EXPORT
#define MITKPERSISTENCE_EXPORT
Definition: MitkPersistenceExports.h:15