Ema_Model_Read()

Abstract

Reads in the specified Riverbed model file, creating a new model that can be manipulated within EMA.

Syntax

Ema_Model_Read (model_type, model_name)
Argument Type Description
model_type EmaT_Model_Type model type code
model_name char* base name of model file to be read [This name references an Riverbed model file that will be read in from a model directory; the path to the file and the file type suffix should not be included in this argument, since they will be automatically appended to generate the full file path.]

Return Type

EmaT_Model_Id

numeric model ID of the new model

[The special value represented by the symbolic constant EMAC_NULL_MOD_ID will be returned if the read operation fails.]

ema.h

Details

This function implements the read operator for models. If the specified model file is not found, an error will occur within the function and will be handled according to the current EMA error mode.

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