Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkMAPAlgorithmInfoObject.cpp
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 
14 
15 namespace mitk
16 {
17 
19  m_Info(nullptr)
20 {
21 
22 }
23 
24 MAPAlgorithmInfoObject::MAPAlgorithmInfoObject(::map::deployment::DLLInfo::ConstPointer info) :
25  m_Info(info)
26 {
27 
28 }
29 
30 const ::map::deployment::DLLInfo* MAPAlgorithmInfoObject::GetInfo() const
31 {
32  return m_Info;
33 }
34 
36 {
37  if (const MAPAlgorithmInfoObject* other = dynamic_cast<const MAPAlgorithmInfoObject*>(obj))
38  {
39  return m_Info == other->m_Info;
40  }
41 
42  return false;
43 }
44 
45 }
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry wrapper for a MatchPoint algorithm deployment info
DataCollection - Class to facilitate loading/accessing structured data.
static void info(const char *fmt,...)
Definition: svm.cpp:86
bool operator==(const berry::Object *obj) const override
const ::map::deployment::DLLInfo * GetInfo() const