ClassModLevel - Class modification level
The class modification level is set in order to determine compile and header generation requests. Moreover, class modification levels may cause resetting the ready and checked state for a structure definition.
Enumarators overview
- CML_Function
(3) - Non virtual function created or deleted
- CML_Intern
(5) - Add or delete virtual function
- CML_Local
(2) - Local modification
- CML_Review
(1) - Minor structure changes
- CML_Structure
(4) - Structure of class has changed
- CML_undefined
(0) - No modification or modification level undefined
Enumerator details
-
CML_Review - Minor structure changes
Minor structure changes (as creating new index for local collection) will not affect generated resources (header files, class code). They will neither affect persistent instances stored in database. Those changes, however, require checking the structure, again.
Code: 1
to list -
CML_Local - Local modification
Local modifications are modifications of the function body. Local modifications require recompiling the class, only.
Code: 2
to list -
CML_Function - Non virtual function created or deleted
Creating or deleting a non virtual function requires generating the header file and recompiling the class. The modification level is also set, when changing the parameter list of a non virtual function.
Code: 3
to list -
CML_Structure - Structure of class has changed
Changing the structure of a class requires generating the header file and recompiling the class and all classes referring to this class on member level. Classes, which need recompilation, are marked by compile request.
Code: 4
to list -
CML_Intern - Add or delete virtual function
Adding, deleting or changing the virtual state of a function or changing the functions parameter list leads to compile requests of a number of related classes. The modification level is also set, when changing the parameter list of a virtual function. When generating an include file for a class marked with this modification level, the system automatically determines all related classes to be compiled.
Classes inheriting from this class need not to generate the header file but all related classes must be marked by compile request.
Code: 5
to list