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