Ets_Obj_Attr_Default_Symbol_Get()

Abstract

Obtains the symbol (if any) corresponding to the default value of an attribute.

Syntax

Ets_Obj_Attr_Default_Symbol_Get (attr_desc_model_hndl, symbol_buf_ptr)
Argument Type Description
attr_desc_model_hndl EtsT_Model_Handle Handle to the attribute description for the attribute of interest.
symbol_buf_ptr char * Area to be filled with the symbol name. This area must be at least one character larger than the size of the symbol name.

Return Type

EtsT_Compcode

EtsC_Compcode_Success if a symbol name can be obtained; EtsC_Compcode_Failure otherwise.

ets_api_extd_attr.h

Details

If the default value is symbolic, it is looked-up and copied into symbol_buf_ptr. If the value is non-symbolic, a blank buffer is returned and a recoverable error is generated.

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