下载
中文
注册

IsDescVaild

函数功能

保护成员函数,由process()调用,用于校验descriptor元素名称是否有效。该方法为内部调用方法,请用户不要使用。

函数原型

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

参数说明

参数名

输入/输出

说明

desc

输入

待检查元素名称的Descriptor指针。

elementName

输入

元素名称。

返回参数说明

数据结构

说明

APP_ERROR

程序执行返回的错误码,请参考APP_ERROR说明