Back to Aurora Vision Library Lite website
You are here: Start » All Functions » Array Basics » SkipArrayWithNils
SkipArrayWithNils
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 |
If the input array contains no Nil values, then it is copied to the output; otherwise Nil is returned.
Applications: Changes an array with conditional elements into a conditional array. Can be useful if some processing should be performed only when all expected objects are correctly detected.
Syntax
void avl::SkipArrayWithNils ( const atl::Array< typename atl::ToConditionalType<Type>::Type >& inArray, atl::Conditional< atl::Array<Type> >& outArray, bool& outIsWithoutNils )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inArray | const Array< typename ToConditionalType<Type>::Type >& | Array that may contain Nil values or not | ||
outArray | Conditional< Array<Type> >& | Array or Nil | ||
outIsWithoutNils | bool& |