Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryObjectString.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYOBJECTSTRING_H_
18 #define BERRYOBJECTSTRING_H_
19 
20 #include "berryMacros.h"
21 #include "berryObject.h"
22 
23 #include <QString>
24 
26 
27 namespace berry {
28 
30 {
31 
32 public:
33 
35 
36  ObjectString();
37  ObjectString(const QString& s);
38 
39  ~ObjectString();
40 
41  bool operator==(const Object* other) const override;
42 
43  bool operator==(const QString& other) const;
44 
45  ObjectString& operator=(const QString& other);
46 
47  QString ToString() const override;
48 
49 };
50 
51 }
52 
53 #endif /*BERRYOBJECTSTRING_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define org_blueberry_core_runtime_EXPORT
#define berryObjectMacro(...)
Definition: berryMacros.h:37