Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Array Composition » AvsFilter_AppendToArray

AvsFilter_AppendToArray


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: avs

Inserts a new element at the end of an array.

Syntax

void avs::AvsFilter_AppendToArray
(
	atl::Array<Type>& ioArray,
	const Type& inValue
)

Parameters

Name Type Default Description
Input will be modified ioArray Array<Type>&
Input value inValue const Type& Value to be appended

Description

The operation inserts the inValue element at the end of the inArray.

Hints

  • Do NOT use this filter to add multiple objects in a loop.

Examples

inArray = {6,7,3,4,10}
inValue = 4
outArray = {6,7,3,4,10,4}

See Also