Back to Adaptive Vision Library website

You are here: Start » Function Reference » Array Basics » SkipLongArray

SkipLongArray


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 is short enough, then it is copied to the output; otherwise Nil is returned.

Syntax

void avl::SkipLongArray
(
	const atl::Array<Type>& inArray,
	int inMaxSize,
	atl::Conditional<atl::Array<Type> >& outSmallEnoughArray,
	bool& outIsSmallEnough
)

Parameters

Name Type Range Default Description
inArray const Array<Type>& Array that may have too many elements
inMaxSize int 0 - 2 Maximum number of elements
outSmallEnoughArray Conditional<Array<Type> >& Array with at most inMaxSize elements, or Nil
outIsSmallEnough bool&