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

Method AddState

Plugins/org.blueberry.core.commands/src/berryCommand.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void Command::AddState(const QString& id, const State::Pointer& state)
64{
65 NamedHandleObjectWithState::AddState(id, state);
66 state->SetId(id);
67 if (IObjectWithState::Pointer stateHandler = handler.Cast<IObjectWithState>())
68 {
69 stateHandler->AddState(id, state);
70 }
71}
72
73bool Command::operator<(const Object* object) const
74{

Callers 2

foreachFunction · 0.45
SetHandlerMethod · 0.45

Calls 1

SetIdMethod · 0.45

Tested by

no test coverage detected