Back to Adaptive Vision Library website

You are here: Start » Function Reference » Array Composition » ReplaceInArray

ReplaceInArray


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

Replaces all elements in an array with specified value.

Syntax

void avl::ReplaceInArray
(
	const atl::Array<Type>& inArray,
	const Type& inOldValue,
	const Type& inNewValue,
	atl::Array<Type>& outArray
)

Parameters

Name Type Default Description
inArray const Array<Type>&
inOldValue const Type& Value to be replaced
inNewValue const Type& Value to be set
outArray Array<Type>&