Ema_Object_Attr_Group_Get()

Abstract

Obtains the value of the group attributes of the specified object.

Syntax

Ema_Object_Attr_Group_Get (model_id, object_id, attr_name, group_name)
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. A model ID can be obtained from several EMA functions.]
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 several EMA functions.]
attr_name const char* pointer to the attribute name
group_name char* pointer to the group name

Return Type

VosT_Fun_Status

The status of the operation (VOSC_SUCCESS or VOSC_FAILURE)

ema.h

Details

This function implements the attr_group_get operator for objects. The attribute group get operator (short form: attr_group_get) reads the attribute group name of an model object instance. The attribute group name is used by the object attribute dialog box to organize a large collection of attributes into smaller, manageable sets of attributes called groups. All attributes with the same group name are considered to be part of the same group. The attribute group name is only used by the object attribute dialog box and does not affect any type of analysis. The contents of the attribute are unaffected by this operator; it is a non-destructive read operation that is used by an EMA application to inquire about the current state of an model object.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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