Class RangeAccumulateBindingProcessor

Class Hierarchy

Runs a binary operation for each value in a range in sequence.

RangeAccumulateBindingProcessor is used to run an accumulating operation for every element of the range in sequence, and writing the result into a register.

RangeAccumulateBindingProcessor runs the operation initially on the first two elements, and after that on the result adding from the right. If the range has only one element, RangeAccumulateBindingProcessor returns it as is.

For example, a range operation of \e + ran on a range of length 5 results in this sequence:

result = ((((range[0] + range[1]) + range[2]) + range[3]) + range[4])

RangeAccumulateBindingProcessor must target another accessible range and write to a register.

Since Kanzi 3.9.0

Inherits properties and message types from RangeAccumulateBindingProcessorMetadata.

Synopsis

Methods
create()

Creates a range accumulate binding processor

RangeAccumulateBindingProcessor.RangeAccumulateBindingProcessor:create(name)

Creates a range accumulate binding processor.

Parameters
name (string)

Processor name.

Return Values
(RangeAccumulateBindingProcessor)

Range accumulate binding processor.