Back to Adaptive Vision Library website

You are here: Start » Function Reference » 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.

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 ConditionalArray<Type> >& Array or Nil
outIsWithoutNils bool&