Back to Aurora Vision Library Lite website
You are here: Start » All Functions » 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.
Header: | STD.h |
---|---|
Namespace: | avl |
Counts in how many iterations the input condition was met.
Applications: Typically used to check how many PASS or FAIL cases there were in a cycle.
Syntax
void avl::CountConditions ( avl::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 |