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

Method Validate

PathCopyCopy/src/PluginPipeline.cpp:212–218  ·  view source on GitHub ↗

Validates the pipeline. A pipeline is valid if all its elements are considered valid. When the pipeline is invalid, an InvalidPipelineException is thrown. @param p_pPluginProvider Optional plugin provider that can be used during validation. @param p_rsSeenPluginIds Set that should be used to store seen plugin IDs. Any collision means a loop is detected and pipeline should be considered invalid.

Source from the content-addressed store, hash-verified

210 // pipeline should be considered invalid.
211 //
212 void Pipeline::Validate(const PluginProvider* const p_pPluginProvider,
213 GUIDS& p_rsSeenPluginIds) const
214 {
215 for (const auto& spElement : m_vspElements) {
216 spElement->Validate(p_pPluginProvider, p_rsSeenPluginIds);
217 }
218 }
219
220
221 //

Callers 1

GetPipelineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected