Serializing the objects of a class
-
Hi, I have written a serializable class.How to serialize the object of this class or where should (in which clas) the Serialize function declared in the serializable class be called over the object Thanks in advance
Taruni
Maybe this series of article[^] will help.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
Hi, I have written a serializable class.How to serialize the object of this class or where should (in which clas) the Serialize function declared in the serializable class be called over the object Thanks in advance
Taruni
Unless you have not written a serializable class, then you should not bother about where to serialize your serializable-class subclasses instances unless serialization is meant to depend on some stuffs.A test rule is to wonder if it's OK to call serialization code from within the serializable-class subclass destructor.
"The Awaited Saviour", Mohammed Baqir Al Sadr