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.
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.
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
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp