更新时间:2021-03-18 GMT+08:00
分享

GetAttr

函数原型

graphStatus GetAttr(const string& name, AttrValue& value) const;

功能说明

获取属性值。

参数说明

参数名

输入/输出

类型

描述

name

输入

const string&

属性名称

value

输出

AttrValue&

属性值

返回值

参数名

类型

描述(参数说明、取值范围等)

-

graphStatus

成功返回GRAPH_SUCCESS, 否则,返回GRAPH_FAILED

异常处理

无。

约束说明

无。

分享:

    相关文档

    相关产品