Medical Imaging Interaction Toolkit  2024.06.00
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 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"
18 #include <org_blueberry_core_jobs_Export.h>
19 
20 namespace berry
21 {
22 
35 struct BERRY_JOBS QualifiedName
36 {
37 
39  /*package*/
40 
41  std::string qualifier;
42 
44  /*package*/
45  std::string localName;
46 
57  QualifiedName(std::string qualifier, std::string localName);
58 
71  bool operator==(const QualifiedName& qName) const;
72 
73  bool operator<(const QualifiedName& qName) const;
74 
80  std::string GetLocalName() const;
81 
88  std::string GetQualifier() const;
89 
90  /*
91  * Implements the method <code>Object.hashCode</code>.
92  *
93  * Returns the hash code for this qualified name.
94  */
95  std::size_t HashCode() const;
96 
101  std::string ToString();
102 
103 };
104 
105 }
106 
107 #endif // _BERRY_QUALIFIED_NAME_
berry::QualifiedName::localName
std::string localName
Definition: berryQualifiedName.h:45
mitk::modelFit::operator<
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two var lists and returns true if the first list's first item is lower than the second one's...
Definition: mitkModelFitStaticParameterMap.h:139
berry::QualifiedName::qualifier
std::string qualifier
Definition: berryQualifiedName.h:41
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::QualifiedName
Definition: berryQualifiedName.h:35
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24