Thread Previous • Date Previous • Date Next • Thread Next |
I have written the class CompoundEngine which contains a vector of engines vector<shared_ptr <Engine>> engines Serialization of a MetaBody which contains the CompoundEngine, occurs without any mistakes. However at deserialization I receive a error: > =====> > > Omega::instance().getSimulationFileName()=scene.xml > > Attribute is not defined : engines > > terminate called after throwing an instance of 'boost::bad_lexical_cast' > > what(): bad lexical cast: source type value could not be interpreted > > as target > > <===== I sent this message in yade-users@lists and to me have answered, that current serializers cannot serialize pointers. Then why works deserialization of a MetaBody which contains the same structure vector<shared_ptr <Engine>> engines? Somebody can help me to solve this problem? I apply all sources. Thanks.
Attachment:
gram-yade.tar.gz
Description: application/tgz
_______________________________________________ yade-dev mailing list yade-dev@xxxxxxxxxxxxxxxx https://lists.berlios.de/mailman/listinfo/yade-dev
Thread Previous • Date Previous • Date Next • Thread Next |