beautypg.com

Complete() – Teledyne LeCroy FireInspector - File Based Decoding User Manual

Page 58

background image

52

CATC S

CRIPTING

L

ANGUAGE

1.0

C

HAPTER

13

Reference Manual

Decoder Primitives

The output of the example is:

Complete()

Complete()

Return value

An integer that should be passed back to the application unchanged.

Comments

This should be called when it has been decided that an input context has been
accepted into a transaction, and that the transaction is complete. The return value
of this function should be passed back to the application from the

ProcessData

function. This function could be used to associate the input context with the output
context.

Example

if ( done )
return Complete();

Figure 13-4: Example output for

BeginCellBlock

with red group

collapsed

Figure 13-5: Example output for

BeginCellBlock

with red group

expanded and blue group collapsed

Figure 13-6: Example output for

BeginCellBlock

with red group expanded

and blue group expanded

Parameter

Meaning

Default Value

Comments