Validates this pipeline element. In order to be valid, the plugin to apply must exist. @param p_pPluginProvider Plugin provider used to fetch plugins. @param p_rsSeenPluginIds Set used to store seen plugin IDs. Any collision means a loop is detected and pipeline element is invalid.
| 398 | // pipeline element is invalid. |
| 399 | // |
| 400 | void ApplyPluginPipelineElement::Validate(const PluginProvider* const p_pPluginProvider, |
| 401 | GUIDS& p_rsSeenPluginIds) const |
| 402 | { |
| 403 | PipelineElement::Validate(p_pPluginProvider, p_rsSeenPluginIds); |
| 404 | |
| 405 | if (p_pPluginProvider == nullptr) { |
| 406 | throw InvalidPipelineException(); |
| 407 | } |
| 408 | if (p_pPluginProvider->GetPlugin(m_PluginId) == nullptr) { |
| 409 | throw InvalidPipelineException(ATL::CStringA(MAKEINTRESOURCEA(IDS_INVALIDPIPELINE_BASE_COMMAND_NOT_FOUND))); |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | // |
| 414 | // Modifies the given path by fetching a reference to the plugin we need |
nothing calls this directly
no test coverage detected