Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Conditional Processing » SwapObjects

SwapObjects


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
Module: FoundationLite

Swaps two objects depending on the specified condition.

Syntax

void avl::SwapObjects
(
	const Type& inObject1,
	const Type& inObject2,
	bool inSwap,
	Type& outObject1,
	Type& outObject2
)

Parameters

Name Type Default Description
Input value inObject1 const Type& First object
Input value inObject2 const Type& Second object
Input value inSwap bool Determines whether the objects are swapped
Output value outObject1 Type& First output object
Output value outObject2 Type& Second output object