This PR reviews the internal model, in preparation for comming changes to support MNX. This PR mainly, modifies the implementation of AttObj objects to avoid using variant types, and do some refactoring.
Changes
Implementation of AttrObj changed to avoid using variant types and to minimize memory usage.
Created class AttrList for managing a simple list of AttrObj objects.
Some refactoring in internal model objects:
Removed ImoTextInfo objects that were used as member variables in other ImoObj objects, and replaced by TypeTextInfo struct.
Default copy and move constructors forced to be deleted for most ImoObj objects. Not possible to remove yet from all ImoObj objects due to Dto and Info objects that need to be reviewed.
Other changes
Memory leaks checked with Valgrind and fixed (I do this from time to time).
Added class AnalysisResult to MNX analyser, to better manage results and avoid memory leaks.
This PR reviews the internal model, in preparation for comming changes to support MNX. This PR mainly, modifies the implementation of AttObj objects to avoid using variant types, and do some refactoring.
Changes
Other changes
AnalysisResult
to MNX analyser, to better manage results and avoid memory leaks.