Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Conditional Processing » ConditionalToOptional
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 conditionally preprocess data that will be used on an optional input.
Syntax
void fil::ConditionalToOptional ( const typename ftl::ToConditionalType<const Type&>::Type& inConditionalObject, typename ftl::ToOptionalType<Type>::Type& outOptionalValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inConditionalObject | const typename ToConditionalType<const Type&>::Type& | Conditional object to be used on an optional input | |
![]() |
outOptionalValue | typename ToOptionalType<Type>::Type& | A value that can be directly used on an optional input |