Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Conditional Processing » OptionalToConditional
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 |
Makes it possible to use conditional execution inside macrofilters with optional inputs.
Syntax
void fil::OptionalToConditional ( const typename ftl::ToOptionalType<const Type&>::Type& inOptionalValue, typename ftl::ToConditionalType<Type>::Type& outConditionalObject )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inOptionalValue | const typename ToOptionalType<const Type&>::Type& | NIL | To be connected from an optional input of a macrofilter |
![]() |
outConditionalObject | typename ToConditionalType<Type>::Type& | Generates conditional execution |