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

Method Find

Modules/CppMicroServices/test/usModuleHooksTest.cpp:50–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48public:
49
50 void Find(const ModuleContext* /*context*/, ShrinkableVector<Module*>& modules) override
51 {
52 for (ShrinkableVector<Module*>::iterator i = modules.begin();
53 i != modules.end();)
54 {
55 if ((*i)->GetName() == "TestModuleA")
56 {
57 i = modules.erase(i);
58 }
59 else
60 {
61 ++i;
62 }
63 }
64 }
65};
66
67class TestModuleEventHook : public ModuleEventHook

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
GetNameMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected