Boost logo

Boost Users :

Subject: [Boost-users] [Serialization]Serializing from base class pointers clips derived class
From: Daniel Roberts (impulsionaudio_at_[hidden])
Date: 2008-12-28 16:02:22


The serialization example, test_no_rtti.cpp, appears to only write the base
class XML element when saving from the base class pointer. Perhaps I am
misunderstanding the point of the extended_type_info classes but I thought
it was a way to serialize classes with a common base class without having to
know the type of the derived class. The example in test_no_rtti.cpp clips
the derived portion of the class when serializing from a base class pointer.
Please advise.
Thanks.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net