IsDescVaild

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

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

Parameter Description

Parameter

Input/Output

Description

desc

Input

Descriptor pointer whose element name is to be checked

elementName

Input

Element name

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.