Back to Aurora Vision Library Lite website
You are here: Start » 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 |
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 | |
---|---|---|---|---|
inObject1 | const Type& | First object | ||
inObject2 | const Type& | Second object | ||
inSwap | bool | Determines whether the objects are swapped | ||
outObject1 | Type& | First output object | ||
outObject2 | Type& | Second output object |