Of course the programmer needs explicitly specify the serialization of
the data-members of the struct/class typically using the member
functions
- Obj::encode(std::ostream & os)
- Obj::decode(std::ostream & os).
I have also implemented "automatic management" of two-way-relations to
realized unordered graph structures.
These are realized as enum-typed double-linked/way pointers.
These could be (un)serialized automatically
Could we reuse boost::graph and boost::serialization somehow?
If not, what structures (balanced tree, hashmap, sorted arrays, ...)
should I use to construct file-format?
Thanks in advance,
Nordlöw