MCPcopy Create free account
hub / github.com/MITK/MITK / AddProperty

Method AddProperty

Modules/Core/src/Rendering/mitkAnnotation.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void mitk::Annotation::AddProperty(const std::string &propertyKey,
73 const BaseProperty::Pointer &propertyValue,
74 bool overwrite)
75{
76 if ((overwrite) || (GetProperty(propertyKey) == nullptr))
77 {
78 SetProperty(propertyKey, propertyValue);
79 }
80}
81
82void mitk::Annotation::ConcatenatePropertyList(PropertyList *pList, bool replace)
83{

Callers 9

SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45
SetDefaultPropertiesMethod · 0.45

Calls 1

GetPropertyFunction · 0.50

Tested by

no test coverage detected