Object Oriented Programming Project in ZJU.
Using commands in terminal to construct:
mkdir build
cd build
cmake ..
make
cd ..
To make things easy, I provided a shell test.sh. We can simply use the command ./test.sh
to construct.
After that, using commands in terminal to run:
mkdir test
rm -f test/*
cd bin
./test.out
All test results will be generated in directory ./bin/test_all.txt
. Some Intermediate results will be generated in directory ./test/*
.
Note: Intermediate results of XML serialization are deleted in the process of XML deserialization. If you want to see the intermediate results, you can comment the part of XML deserialization.
Using commands ./bin/test.out
to check whether all object can be serialization / deserialization correctly.
- 🎉 Supported binary serialization/deserialization from a std type and user defined type
- 🍀 Supported binary serialization/deserialization from smart pointers
- 🏁 Supported XML serialization/deserialization from a std type and user defined type
- 💃🏻 Supported XML serialization/deserialization from smart pointers
Due to some bugs in tinyxml2
, so there might be some bugs in XML serialization.
Project address : My Github
@copyright Copyright (c) 2022