Skip to main content

Thread: C++ Serialization


is there tutorial covers c++ serialization using human-readable code?

or maybe tutorial how write text file, , read text file load data...such load/save game routine.

code:
    public interface itransformation     {         void init(configuration.transformationserviceelement section);          void requestwriter(object serialize, stream stream);         t responsereader<t>(system.io.stream stream) t : class;     }

implementing contract
can swap serialization process...
json format, xml format, binary format


in c++ though since don't have access rich reflection capabilities found in java/c# don't think can send generic object serialize , query /public/private properties values save.


instead think must typed object object should contain onserialize returns byte[] , ondeserialize returns new instance of object.
simplest way go.

think needed memcpy dump it's local memory space file , read in

also
http://stackoverflow.com/questions/3...on-performance


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk C++ Serialization


Ubuntu

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums