Back to Adaptive Vision Library website
You are here: Start » Function Reference » Loop Utils » Count
Count
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 avl::Count ( avl::CountValueInLoopState& ioState, const bool& inPredicate, int& outCount )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
| ioState | CountValueInLoopState& | Object used to maintain state of the function. | ||
![]() |
inPredicate | const bool& | Result is incremented when predicate is True | |
![]() |
outCount | int& | Number of value occurrences |


