Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryQualifiedName.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 _BERRY_QUALIFIED_NAME_
18 #define _BERRY_QUALIFIED_NAME_
19 
20 #include <string>
21 #include "berryObject.h"
22 #include <org_blueberry_core_jobs_Export.h>
23 
24 namespace berry
25 {
26 
40 struct BERRY_JOBS QualifiedName
41 {
42 
44  /*package*/
45 
46  std::string qualifier;
47 
49  /*package*/
50  std::string localName;
51 
62  QualifiedName(std::string qualifier, std::string localName);
63 
76  bool operator==(const QualifiedName& qName) const;
77 
78  bool operator<(const QualifiedName& qName) const;
79 
85  std::string GetLocalName() const;
86 
93  std::string GetQualifier() const;
94 
95  /*
96  * Implements the method <code>Object.hashCode</code>.
97  *
98  * Returns the hash code for this qualified name.
99  */
100  std::size_t HashCode() const;
101 
106  std::string ToString();
107 
108 };
109 
110 }
111 
112 #endif // _BERRY_QUALIFIED_NAME_
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)