Ets_Output_Value_Cache_Row_Lookup()

Abstract

Looks up the row for an object in the table associated with a given output value.

Syntax

Ets_Output_Value_Cache_Row_Lookup (cache_ptr, obj_name, row_idx_ptr)
Argument Type Description
cache_ptr EtsT_Output_Value_Cache * Output cache containing the registered value of interest.
obj_name const char * Hierarchical name. Owned by caller.
row_idx_ptr long * If input as a value >= 0, the output row will be the next matching row after this row.
On return, this is set to the requested output row number (if successful) or -1 (if unsuccessful).

Return Type

EtsT_Compcode

EtsC_Compcode_Success if found and output in row_idx_ptr; EtsC_Compcode_Failure if not in the cache.

ets_api_output.h

Details

The value is known only if it has been previously cached using Ets_Output_Value_Cache_Row_Entry_Add(). The intent is to avoid expensive iterations over a table seeking a specific row.

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