Back to Adaptive Vision Library website

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

ExactlyNElements_OrNil_Deprecated


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 exactly requested number of elements, it is copied to the output; otherwise, Nil is returned.

Syntax

void avl::ExactlyNElements_OrNil_Deprecated
(
	const atl::Array<Type>& inArray,
	const int inN,
	atl::Conditional<atl::Array<Type> >& outArray
)

Parameters

Name Type Range Default Description
inArray const Array<Type>& Array that may contain N elements or not
inN const int 0 - 1 Requested number of elements
outArray Conditional<Array<Type> >& Array or Nil