Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berryQualifiedName.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 
13 #ifndef _BERRY_QUALIFIED_NAME_
14 #define _BERRY_QUALIFIED_NAME_
15 
16 #include <string>
17 #include "berryObject.h"
19 
20 namespace berry
21 {
22 
37 {
38 
40  /*package*/
41 
42  std::string qualifier;
43 
45  /*package*/
46  std::string localName;
47 
58  QualifiedName(std::string qualifier, std::string localName);
59 
72  bool operator==(const QualifiedName& qName) const;
73 
74  bool operator<(const QualifiedName& qName) const;
75 
81  std::string GetLocalName() const;
82 
89  std::string GetQualifier() const;
90 
91  /*
92  * Implements the method <code>Object.hashCode</code>.
93  *
94  * Returns the hash code for this qualified name.
95  */
96  std::size_t HashCode() const;
97 
102  std::string ToString();
103 
104 };
105 
106 }
107 
108 #endif // _BERRY_QUALIFIED_NAME_
#define BERRY_JOBS
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two var lists and returns true if the first list&#39;s first item is lower than the second one&#39;s...
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)