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.
1 | APP_ERROR MxpiModelPostProcessorBase::IsDescValid(const google::protobuf::Descriptor* desc, std::string elementName); |
Parameter |
Input/Output |
Description |
|---|---|---|
desc |
Input |
Descriptor pointer whose element name is to be checked |
elementName |
Input |
Element name |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |