easiest way is to use std. c++ ways like vectors, maps, such kind of stuff : )
If you need it as a "Creo like" way I don't know ^.^ I was never in need of that.
But I think you can use an xanysequence. As alternative you can use xlongsequence and fill it with pointers to the objects you have allocated. So I'm not so sure about the size, if it didn't fit for pointers you could use xrealsequence, cause xreal is defined as a "real C++" double, that should be 8Byte --> 64 Bit and so same size as your pointer.