This web page is currently under construction, so for now here is a brief introduction to the GenSerial library.
GenSerial is a class library for C++ that attempts to make the task of serializing and unserializing data as easy as possible on developers. There are no Read or Write methods that need to be written; to make a class serializable requires one simple macro in the declaration of the class and a few more macros in some .cpp source file. The library can handle all kinds of complicated situations, including contained classes, smart pointers to instances of other classes, multiple inheritance, template classes, and so forth.
The easiest way to learn how to use GenSerial in your own classes is to download the code and look at the SerTest.cpp file. This file is a regression test for GenSerial, and it shows a few classes with declarations. If you want more information, please look at that file first, and then refer to the doxygen documentation of GenSerial.
GenSerial currently only works in Visual C++ .NET 2003, but should be portable to any conforming C++ compiler (in particular, one that supports partial template specialization). I have not tried porting it myself, but if you succeed in doing so, please let me know and perhaps we can integrate it into the source distribution. In order to build it, you must first install the free Boost library. Then simply load the GenSerial.sln file into DevStudio and build it. You may have to change the include paths (and link paths, if you want to build and run the regression test) from the default C:\Boost.
To include GenSerial in your own project, it’s probably just easiest to include the GenSerial.vcproj file; alternatively you can just take the .cpp and .h files from the library and put them somewhere convenient for you.
Enjoy!