DoDump

Function Usage

Obtains or filters the data of a specified plugin and save the data to a file.

Prototype

1
2
3
static std::string MxpiBufferDump::DoDump(MxTools::MxpiBuffer& mxpiBuffer,
        const std::vector<std::string>& filterKeys = std::vector<std::string>(),
        const std::vector<std::string>& requiredKeys = std::vector<std::string>());

Parameters

Parameter

Input/Output

Description

mxpiBuffer

Input

Plugin data.

The member data under this data structure is input by the upstream plugin. Do not manually set the memory data.

filterKeys

Input

Filters content corresponding to the keys in std::vector during the export.

This property is invalid when requiredKeys is set.

requiredKeys

Input

Obtains content corresponding to the keys in std::vector during the export.

Response Parameters

Data Structure

Description

std::string

Obtains/Filters the data of a specified plugin.