Back to FabImage 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:fil

Replaces all elements in an array with specified value.

Syntax

void fil::ReplaceInArray
(
	const ftl::Array<Type>& inArray,
	const Type& inOldValue,
	const Type& inNewValue,
	ftl::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>&