Break dependency between Metadata and ObjectList
What changes will be made and why they would make a better Orfeo ToolBox?
Currently Metadata
depends on ObjectList
, only because an otb::ObjectList
is used to store and return a list of functions in a the optical metadata class.
This prevents us from using extern template to optimize use of ObjectList: we would require to add a dependency between ObjectList
and ImageBase
, which introduces a circular dependency.
The only issue with swapping ObjectList
with std::vector
is that it modifies the public API of metadata classes.