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

Method Add

Plugins/org.blueberry.core.runtime/src/berryMultiStatus.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void MultiStatus::Add(IStatus::Pointer status)
64{
65 poco_assert(status);
66 children.push_back(status);
67 Severity newSev = status->GetSeverity();
68 if (newSev > this->GetSeverity())
69 {
70 this->SetSeverity(newSev);
71 }
72}
73
74void MultiStatus::AddAll(IStatus::Pointer status)
75{

Callers 2

AddAllMethod · 0.95
MergeMethod · 0.95

Calls 2

GetSeverityMethod · 0.80
SetSeverityMethod · 0.80

Tested by

no test coverage detected