Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Loop Utils » CountValueInLoop

CountValueInLoop


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl
Module: FoundationLite

Counts value occurrences in all loop iterations.

Syntax

void avl::CountValueInLoop
(
	const T& inInputValue,
	const T& inValue,
	bool inReset,
	int& outCount
)

Parameters

Name Type Default Description
Input value inInputValue const T& Value that will be counted if it is equal to inValue
Input value inValue const T& Value to count
Input value inReset bool False Reset accumulator state
Output value outCount int& Number of value occurrences