Oma_Ov_Reader_Iterator_Forward()

Abstract

Advances an iterator to the next matching vector.

Syntax

Oma_Ov_Reader_Iterator_Forward (iterator)
Argument Type Description
iterator OmaT_Ov_Reader_Iterator * Iterator of interest.

Return Type

int

PRGC_TRUE if another matching vector exists; PRGC_FALSE otherwise.

oma_ov.h

Details

This function reads the next vector that matches the search criteria specified when the iterator was created. If there are no more matching vectors, it returns PRGC_FALSE. Otherwise, PRGC_TRUE is returned. This lets you easily iterate over the vectors in a file with code similar to the following:

while (Oma_Ov_Reader_Iterator_Forward (iterator) == PRGC_TRUE)
	{
	...
	}

This function should be called at least once before calling Oma_Ov_Reader_Iterator_Vector_Get() to retrieve the actual vector.

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