Back to FabImage Library Lite website
You are here: Start » Loop Utils » CountConditions

CountConditions
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Counts number of positive predicates in loop.
Syntax
void fil::CountConditions ( fil::CountConditionInLoopState& ioState, const bool& inCondition, const bool& inReset, int& outTrueCount, int& outFalseCount )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioState | CountConditionInLoopState& | Object used to maintain state of the function. | ||
![]() |
inCondition | const bool& | Inspected condition | |
![]() |
inReset | const bool& | False | Reset counters and stop counting |
![]() |
outTrueCount | int& | Number of positive inspections | |
![]() |
outFalseCount | int& | Number of negative inspections |