Ets_Pj_Scenario_Index_Get()

**注意:**需要 OPNET Development Kit

摘要

获取指定项目中某个命名场景的索引。

语法

Ets_Pj_Scenario_Index_Get (pj_hndl, scenario_name)
参数 类型 说明
pj_hndl EtsT_Model_Handle 目标项目。
scenario_name const char * 目标场景。

返回类型

int

场景索引;若未找到该场景则返回 -1。

头文件

ets_api_pj.h

详情

场景索引从 0 开始计数。

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