No more AIS_SequenceOfInteractive in 7.8.0

Hello,
while upgrading from 7.5.0 to 7.8.0 we no longer find the collection AIS_SequenceOfInteractive available.

While it could easily be restored, I'm asking the reason of such a deletion!

It has be found to be not efficient or something else?
Do you have any suggestion for its replacement?

Thanks a lot,
Federico Pelloni

gkv311 n's picture

Semantic of NCollection_Sequence with an interface for accessing elements in list-alike structure by index is misleading and dangerous. Hense, it's usage is discouraged in OCCT and within applications. NCollection_List or std::vector are better suits.

Of course you may still define sequence on your own, if you prefer using it for some reason (like preserving legacy code as is).

Federico Pelloni's picture

Ok, thanks for your answer!

Regards,
Federico Pelloni