Support for multi-index containers?
-
Software libraries which support the management of multiple indexes within the same data structure are available.
- Databases manage primary keys (for example).
- Boost
Will the Qt class library improve the collaboration with such programming interfaces?
-
Unlikely, as you already discovered there are already very mature implementations like the on in boost but feel free to propose it opening a ticket or you could also implement it yourself and commit it for review
-
@elfring said in Support for multi-index containers?:
Can another programming view help around data model indexes?
On very specific cases, the KDE API implemented KHash2Map<T,U> for bi-associative containers inside
KDescendantsProxyModel
but it's a very specific need, I wouldn't expect this to be needed by 99% of model implementations -
@elfring said in Support for multi-index containers?:
Would you like to distinguish any more between the usage of one- and two-dimensional structures for data models?
Nope, the 2 dimensional structure is strictly more general of the 1D version so anything that goes for the first works in the second case.
beginRant();
You have been discussing a lot of theoretical problems relating to models across different threads. In all of them the feeling has been that you are uselessly overcomplicating things.
I feel it would be useful for you and easier for us to walk you through a concrete example of what you are trying to achieve rather than discuss endlessly on theoretical concepts.endRant();