Ema_Object_Print()

摘要

将指定对象的内容打印到标准输出设备。输出以该对象属性列表的形式呈现。

语法

Ema_Object_Print (model_id, object_id)
参数 类型 说明
model_id EmaT_Model_Id 目标模型的数字模型 ID
[该值是引用模型的数字标识符。可使用 Ema_Model_Create()、Ema_Model_Copy() 或 Ema_Model_Read() 获取模型 ID。]
object_id EmaT_Object_Id 目标对象的数字对象 ID
[该值是引用对象的数字标识符。对象 ID 可由 Ema_Object_Create()、Ema_Object_Copy()、Ema_Object_Move()、Ema_Object_Move_Recursively() 或 Ema_Object_Nth() 获得。]

返回类型

void

无返回值。

头文件

ema.h

详情

本函数的示例输出如下:

----------------------------------------------------------
* Object ID:											#0
* Object Type:											queue
* Object Index:											0
	--------------------------------------------------------
	* Attr Index:                   0
	* Attr Name:                    name
	* Attr Type:                    set-required string
	* Attr Defcon:                  no default contents
	* Attr Contents                 "mac"
	--------------------------------------------------------
	* Attr Index:                   1
	* Attr Name:                    subqueue count
	* Attr Type:                    integer
	* Attr Defcon:                  1
	* Attr Contents                 2
	--------------------------------------------------------

<…>

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com