Back to Adaptive Vision Library website
You are here: Start » Function Reference » Array Basics » AvsFilter_TestArraySizeInRange
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Tests whether the number of elements in the input array falls into the specified range.
Syntax
void avs::AvsFilter_TestArraySizeInRange ( const atl::Array<Type>& inArray, const atl::Optional<int> inMinimumSize, const atl::Optional<int> inMaximumSize, bool& outIsInRange )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inArray | const Array<Type>& | Input array | |||
inMinimumSize | const Optional<int> | 0 - | NIL | Minimum number of elements | |
inMaximumSize | const Optional<int> | 0 - | NIL | Maximum number of elements | |
outIsInRange | bool& | Whether the size of the array is in range |
Errors
Error type | Description |
---|---|
DomainError | Negative inMinimumSize value. |