Back to FabImage 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: | fil |
Module: | FoundationLite |
Returns the last value passed with inCondition set to 'True'.
Syntax
void fil::LastMarkedObject ( const T& inObject, const T& inInitialObject, bool inCondition, bool inReset, T& outObject, int& outIndex )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inObject | const T& | Object that may be chosen | |
![]() |
inInitialObject | const T& | Object to be used before first marked object appears | |
![]() |
inCondition | bool | Indicates whether the input object will be chosen | |
![]() |
inReset | bool | False | Reset accumulator state |
![]() |
outObject | T& | Object from the last iteration in which the condition was true | |
![]() |
outIndex | int& | Index of iteration when the last marked object appeared |