Ets_Nt_Import_Object_Network_Attribute_Add()

Note: Requires OPNET Development Kit

Abstract

Adds an attribute to a network as a whole.

Syntax

Ets_Nt_Import_Object_Network_Attribute_Add (imp_obj_ptr, name, value)
Argument Type Description
imp_obj_ptr EtsT_Nt_Import_Object* Object of interest.
name const char* Name of the attribute to add.
value const char* Value of the attribute to add.

Return Type

void

No return value.

ets_nt_obj_import.h

Details

This function adds a characteristic to the top subnet of the model containing imp_obj_ptr. The characteristic is treated as a network-wide attribute. The characteristic is not added if the top subnet already contains a characteristic with the same name and value.

This function can be used to set attributes such as the span of a network.

This function generates a recoverable error if imp_obj_ptr is NIL, if name is unspecified (NIL pointer or empty string), or if value is NIL.

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