Thread Previous • Date Previous • Date Next • Thread Next |
Vincent, you can have a look at InteractionContainer::preProcessAttributes and postProcessAttributes. It feeds interactions (stored in an implementation-defined way) in a vector, which is serializable, then at deserialization, loads them from the vector the the timplementetion-defined memory structures.Are you trying to serialize a C array? It's not supported. And won't ever be. You don't want to add support for it. Easiest if you switch to std::vector<> and it will work straight away. otherwise I don't see what is the problem. REGISTER_ATTRIBUTE works for every type, except C array and pointer counting.
You should be able to do the same with GroupRelationData. Transform vector<double**> to linear vector<double> and few other parameters that are serializable (for instance), do the same fror bool** act.
It shold work just fine. Vaclav
Thread Previous • Date Previous • Date Next • Thread Next |