"Znlpi_infSrcModify" class

Description

Owner: Znlpi_infSrcModify

Parent classes:

Operations: Attributes:

"modify_new_task_list" operation

Description

public modify_new_task_list (
self in object ,
PARENTS in list )
This creates a task list out of inform Objects and some functions.

Step by step:

- Task list and line offset list are first emptied.

- Loop through all objects and add specific tasks

These are responsible to do it only if necessary

- e.g. for non-empty picture lists and blorb switched on

- then create one-time tasks like file inclusion

- finally set the time stamp

Parameters:

"_ensure_task_source_line" operation

Description

private _ensure_task_source_line (
_parent in ZClass ,
_source_id in string ,
_line in integer )
local subroutine to ensure that a dictionary entry for that line exists

Parameters:

"_inc_infSrcOffset" operation

Description

private _inc_infSrcOffset (
_parent in ZClass ,
_source in string ,
_line in integer ,
_offset in integer )
increments the offset list by _offset

Parameters:

"modify_inf_source" operation

Description

public modify_inf_source (
self in object ,
PARENTS in list ,
_source_id in string ,
_lines in list )
return list
Takes as input a list of lines from a particular source and applies the Znlpi_infSrcTask-list to it.

Step by step:

- first check if there are any tasks for that particular source

- loop through all lines

- if any task is to do:

- first task has to be handled different from others (see caveat)

Parameters: