Back to Adaptive Vision Library website
You are here: Start » Function Reference » Array Basics » SkipEmptyArray
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
If the input array is not empty, then it is copied to the output; otherwise Nil is returned.
Syntax
void avl::SkipEmptyArray ( const atl::Array<Type>& inArray, atl::Conditional<atl::Array<Type> >& outNotEmptyArray, bool& outIsNotEmpty )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inArray | const Array<Type>& | Array that may be empty or not | ||
outNotEmptyArray | Conditional<Array<Type> >& | Not empty array or Nil | ||
outIsNotEmpty | bool& |
Remarks
This filter can replace the following formula: