MCPcopy Create free account
hub / github.com/commontk/CTK / findConnection

Method findConnection

Libs/Visualization/VTK/Core/ctkVTKObjectEventsObserver.cpp:147–158  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

145
146//-----------------------------------------------------------------------------
147ctkVTKConnection*
148ctkVTKObjectEventsObserverPrivate::findConnection(const QString& id)const
149{
150 foreach(ctkVTKConnection* connection, this->connections())
151 {
152 if (connection->id() == id)
153 {
154 return connection;
155 }
156 }
157 return 0;
158}
159
160//-----------------------------------------------------------------------------
161ctkVTKConnection*

Callers 2

blockConnectionMethod · 0.80
containsConnectionMethod · 0.80

Calls 10

connectionsMethod · 0.95
childrenMethod · 0.80
eraseMethod · 0.80
isEqualMethod · 0.80
foreachFunction · 0.70
idMethod · 0.45
findMethod · 0.45
keyMethod · 0.45
valueMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected