IsDescValid

Function Usage

A protected member function that is invoked by process() to check whether the element name of the descriptor is valid. It is invoked for internal use only. Do not use it.

Prototype

1
APP_ERROR MxpiModelPostProcessorBase::IsDescValid(const google::protobuf::Descriptor* desc, std::string elementName);

Parameters

Parameter

Input/Output

Description

desc

Input

Descriptor pointer whose element name is to be checked

elementName

Input

Element name

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.