Back to Aurora Vision Library Lite website

You are here: Start » All Functions » 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 matching elements in an array with a new 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
Input value inArray const Array<Type>&
Input value inOldValue const Type& Value to be replaced
Input value inNewValue const Type& Value to be set
Output value outArray Array<Type>&