Ema_Model_Attr_Print()
摘要
将单个模型属性的内容打印到标准输出设备。
语法
Ema_Model_Attr_Print (model_id, attr_name)
| 参数 | 类型 | 说明 |
|---|---|---|
model_id |
EmaT_Model_Id |
目标模型的数字模型 ID [该值是引用某个模型的数字标识符。使用 Ema_Model_Create()、Ema_Model_Copy() 或 Ema_Model_Read() 可获得模型 ID。] |
attr_name |
char* |
目标属性的名称 [所有模型属性的名称列于本章最后一节。] |
返回类型
void
无返回值。
头文件
ema.h
详情
该函数的示例输出如下:
--------------------------------------------------------
* Attr Index: 0
* Attr Name: view subnet
* Attr Type: set-required string
* Attr Defcon: no default contents
* Attr Contents: 3
--------------------------------------------------------