Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkGroupTagProperty.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,
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 #include "mitkGroupTagProperty.h"
18 
20 {
21 }
22 
24 {
25 }
26 
27 bool mitk::GroupTagProperty::IsEqual(const BaseProperty & /*property*/) const
28 {
29  // if other property is also a GroupTagProperty, then it is equal to us, because tags have no value themselves
30  return true;
31 }
32 
33 bool mitk::GroupTagProperty::Assign(const BaseProperty & /*property*/)
34 {
35  return true;
36 }
37 
38 itk::LightObject::Pointer mitk::GroupTagProperty::InternalClone() const
39 {
40  itk::LightObject::Pointer result(new Self(*this));
41  result->UnRegister();
42  return result;
43 }
itk::SmartPointer< Self > Pointer
Property class that has no value.
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.