hello.
I wish use the serializing framework of qt.
I have two question:
1)how i can serialize and deserialize pointers
2)is possible to serialize a custom class?what function i must implement for serialize it's base data classes?
thanks.
hello.
I wish use the serializing framework of qt.
I have two question:
1)how i can serialize and deserialize pointers
2)is possible to serialize a custom class?what function i must implement for serialize it's base data classes?
thanks.
It doesn't make any sense to serialize pointers. You need to serialize objects behind the pointers.
Yes. Reimplement redirection operators as described in QDataStream docs.2)is possible to serialize a custom class?
I have no idea what you mean by "base data classes".what function i must implement for serialize it's base data classes?
Bookmarks