Hcon_Library_Nth_Level_DCR_File_Load()

Abstract

Populates one level of a device library by loading the Device Containment Relationship (DCR) file for that level.

Syntax

Hcon_Library_Nth_Level_DCR_File_Load (library, file_name, level)
Argument Type Description
library HconT_Library * the device library into which to load devices
file_name char * full path of the DCR file
level int level number of the devices in the DCR hierarchy

Return Type

void

no return value

hcon.h

Details

By reading in a DCR file, defines what devices are available for a device library at one specific level. It also defines what kind and how many of lower-level devices these devices may contain.

This function must be called successively with the level arguments in ascending order, starting with 1.

The loading is additive, not overriding. This means that if you call this function twice with the same level number but two different DCR files, devices from the second DCR file will be added to the library, which will still contain the devices loaded from the first DCR file.

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