13.4. merge start
Aus Hugo Doku
@#merge_start<![flag, ]coding_id, [uuid, ][merge_strategy ] !>
Description:
While outputting the coding it is merged with the default coding on this location. To mark the end of the merged coding block use merge_end
Parameter:
| Name | Type | Meaning |
|---|---|---|
| flag | boolean | Flag, if set to true, the function is called, otherwise not. (Default-Value: true) |
| coding_id | String | The name of the coding, which is placed on this point.
The coding is saved in the repose path with the given name attaced to the filename. As long as you do not rename your file you can access to the coding even if you delete temporarily the coding instruction in your frame and rewrite it later. |
| uuid | String | Uses the given UUID (Universally Unfied IDentifier) for identifing the coding passage instead of a name (coding_id).
The advantage is, that you do not loose the coding even if you rename your file. The disadvantag is, that it normally isn't as much readable than coding_id is. Because the UUID is normally generated by an automatism within the .model file. One automatism, you can use, is at the .filter file the uuid parameter. Another possiblity, which is often used, is that an editor for your .model files fullfills UUID at the model elements. |
| merge_strategy | IMergeStrategy | An object, which implements a merge_strategy, which should be used when merging. |
