Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Conditional Processing » 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: | fil |
Module: | FoundationLite |
Swaps two objects depending on the specified condition.
Syntax
void fil::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 |