* 1 *许多XP反对者的 zone,和/或机会主义否认 Are there any design patterns for object serialization/deserializationin C++? Where can I find information pertaining to them? Can someonepost some real coding examples please? I have a need toserialize/deserialize objects that contain data fields and pointerfields. Furthermore, not all the fields need to beserialized/deserialized.Thanks,Nimmi 解决方案Check out this paper on the Serializer Pattern. It has example code writtenin C++: http://www.riehle.org/computer-scien...-serializer.pdfI had to write a serializer several years ago and this paper was a veryuseful reference.Michael Feathers www.objectmentor.com*1* example of the EXTENSIVE REUSE that many of the XP naysayers areeither ignorant of, pathologically can''t accept because it conflictswith their nickel and dime, baby step test driven mythological safezone, and or opportunistically deny for 这篇关于C ++对象序列化/反序列化的设计模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-20 02:43
查看更多