prg_mapping_iterator_key_get()

Abstract

Returns the key of the current value referenced by the iterator.

Syntax

prg_mapping_iterator_key_get (mapping_handle)
Argument Type Description
mapping_handle PrgT_Mapping_Handle mapping data structure returned by a prg_mapping_create() call

Return Type

void *

Key of the value currently referenced by the iterator (if prg_mapping_iterator_at_end() returns 0) or PRGC_NIL otherwise.

prg_mapping.h

Details

Iterators iterate through all the values in increasing key order. This returns the key of the current element (or PRGC_NIL if pass all elements)

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