Ema_Object_Print()

Abstract

Prints the contents of the specified object onto the standard output device. The output is formatted into a list of the object's attributes.

Syntax

Ema_Object_Print (model_id, object_id)
Argument Type Description
model_id EmaT_Model_Id numeric model ID of the model-of-interest
[This value is a numeric identifier that references a model. Use the functions Ema_Model_Create(), Ema_Model_Copy(), or Ema_Model_Read() to obtain a model ID.]
object_id EmaT_Object_Id numeric object ID of the object-of-interest
[This value is a numeric identifier that references an object. An object ID can be obtained from the functions Ema_Object_Create(), Ema_Object_Copy(), Ema_Object_Move(), Ema_Object_Move_Recursively(), or Ema_Object_Nth().]

Return Type

void

No return value.

ema.h

Details

Example output from this function appears below:

----------------------------------------------------------
* 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