Back to Adaptive Vision Library website

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

LastMarkedObject


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

Returns the last value passed with inCondition set to 'True'.

Syntax

void avl::LastMarkedObject
(
	const T& inObject,
	const T& inInitialObject,
	bool inCondition,
	bool inReset,
	T& outObject,
	int& outIndex
)

Parameters

Name Type Default Description
Input value
inObject const T& Object that may be chosen
Input value
inInitialObject const T& Object to be used before first marked object appears
Input value
inCondition bool Indicates whether the input object will be chosen
Input value
inReset bool False Reset accumulator state
Output value
outObject T& Object from the last iteration in which the condition was true
Output value
outIndex int& Index of iteration when the last marked object appeared