Unified interface for attributes
In this MR, I propose a more unified attributes handling.
Refactor
- Use the term "attribute" instead of "parameter"
- Uniformized function naming ("hasAttr" and "getAttr" + "addAttr"/"setAttr"/"delAttr" for DynamicAttributes)
- Parametrizable -> StaticAttributes
- CParameter -> DynamicAttributes
- Adding abstract class
Attributes
to uniformize Dynamic & StaticAttributes
Also
- Includes fix for bug #8 (closed) (as it may get lost in MR !9 (merged))
- Distinguish between "addAttr" (asserts if already exists) and "setAttr" (do not care if already exists)
- "Universal" Python binding for DynamicAttributes
- Added AIDGE_THROW_OR_ABORT macro
Edited by Olivier BICHLER