Ets_Output_Value_Cache_Multi_Column_Index_Get()

Abstract

Gets the column index in the output table for a column number in a registered values multi-column list.

Syntax

Ets_Output_Value_Cache_Multi_Column_Index_Get (cache_ptr, col_num)
Argument Type Description
cache_ptr EtsT_Output_Value_Cache * Output cache of interest.
col_num int Column number in the multi-column lookup list of the desired value.

Return Type

int

Column index in the output table for accessing the desired value; -1 if unsuccessful (not a valid column).

ets_api_output.h

Details

For example, assume a registered value that has two multi-columns—Interface Name and Queue Name. The column index for Interface Name can be obtained with:

Ets_Output_Value_Cache_Multi_Column_Index_Get (cache_ptr, 0)

and the column index for Queue Name with:

Ets_Output_Value_Cache_Multi_Column_Index_Get (cache_ptr, 1)

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