N
Nordlöw
Does anyone know of any convenient interface/API (Database) that
transparently encodes/decodes (serialization) graph-like C++
structures and relations between them to and from disk?
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:stream & os) const
- Obj::decode(std::istream & is) const
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
transparently encodes/decodes (serialization) graph-like C++
structures and relations between them to and from disk?
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:stream & os) const
- Obj::decode(std::istream & is) const
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