CODE TREE OBJECT

CODE TREE OBJECT

The CODE TREE is a set of parent2children relations between CODE OBJECTS of same or different CODE_TYPE

The code tree is composed of elements with the following properties

 

   
PARENTCODE_TYPE

This values are updated by the user will use the functions:

code_insert_insert ()

code_tree_delete ()

CODE
CHILDRENCODE_TYPE
CODE
NODE

This value is only of performance optimisation and is re-calculated:

  • each time code_insert_insert () is called
  • each time code_tree_delete ()
  • calling code_tree_check ()

 

The CODE field in the CHILDREN property may be followed by an asterisk ( * ) as a wild card symbol. This means "the children of this CODE should be considered children of the parent CODE".

Examples

OBJECT-OBJECT TREE

OBJECT-SETTING TREE