MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / GetPlugin

Method GetPlugin

PathCopyCopy/src/AllPluginsProvider.cpp:46–50  ·  view source on GitHub ↗

Looks for a specific plugin by ID. @param p_PluginId ID of plugin to look for. @return Plugin with the given ID, or nullptr if no such plugin was found.

Source from the content-addressed store, hash-verified

44 // @return Plugin with the given ID, or nullptr if no such plugin was found.
45 //
46 PluginSP AllPluginsProvider::GetPlugin(const GUID& p_PluginId) const
47 {
48 const auto it = m_sspAllPlugins.find(p_PluginId);
49 return it != m_sspAllPlugins.end() ? *it : nullptr;
50 }
51
52} // namespace PCC

Callers 3

ValidateMethod · 0.80
ModifyPathMethod · 0.80
ShouldBeEnabledForMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected