Back to Adaptive Vision Library website
You are here: Start » Function Reference » Loop Generators » EnumerateIntegerPairs
EnumerateIntegerPairs
Produces a total number of 'inCount1 * inCount2' of pairs of integer numbers.
Syntax
bool avl::EnumerateIntegerPairs ( Enumerate2DState& ioState, int inStart1, atl::Optional<int> inCount1, int inStep1, int inStart2, int inCount2, int inStep2, int& outValue1, int& outValue2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Enumerate2DState& | Object used to maintain state of the function. | |||
inStart1 | int | First element of first range | |||
inCount1 | Optional<int> | 0 - | NIL | Length of first range | |
inStep1 | int | Difference between consecutive elements of first range | |||
inStart2 | int | First element of second range | |||
inCount2 | int | 0 - | Length of second range | ||
inStep2 | int | Difference between consecutive elements of second range | |||
outValue1 | int& | Elements of first range in 'AAABBBCCC' order | |||
outValue2 | int& | Elements of second range in 'ABCABCABC' order |