Decodes a series of elements that were encoded by the settings application in a string and produces a list of corresponding pipeline element objects. @param p_EncodedElements Elements encoded in a string. @return Vector of resulting elements.
| 74 | // @return Vector of resulting elements. |
| 75 | // |
| 76 | auto PipelineDecoder::DecodePipeline(const std::wstring& p_EncodedElements) -> PipelineElementSPV |
| 77 | { |
| 78 | EncodedElementsStream stream(p_EncodedElements); |
| 79 | const size_t numElements = stream.ReadElementCount(); |
| 80 | |
| 81 | PipelineElementSPV vspPipelineElements; |
| 82 | vspPipelineElements.reserve(numElements); |
| 83 | for (size_t i = 0; i < numElements; ++i) { |
| 84 | vspPipelineElements.emplace_back(DecodePipelineElement(stream)); |
| 85 | } |
| 86 | |
| 87 | return vspPipelineElements; |
| 88 | } |
| 89 | |
| 90 | // |
| 91 | // Decodes a pipeline element found in an encoded pipeline elements stream. |
nothing calls this directly
no test coverage detected