Hey guys,

i would like to serialize a custom data class to save data when my app closes and reload it after it reopens. The data is stored in an std::vector<particle_c> (particle_c is my custom data class) and i have a few 100 - 1000 particles. Each particle has properties of int, QStrings, doubles, and some eigen3/vectors (for matrix calculations). I've been thinking about the right approach to save the data and ended up with serialization. Is this the right approach? i'm not quite sure how to serialize the two vector classes. I could probably rewrite the code to make it use QVectors if thats any help. Also read a little about the boost serialization library, could that also be an option?

thx for the input friends