Personwithout using vector?
Personand keep appending to the file?
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG
builder.Clear()and reusing it.
flatcfor this use case, maybe by writing a plugin for it?
flatcis able to write out a binary version of a parsed schema.. using FlatBuffers itself! This data is perfect for writing external code generators. You can easily read this data in any language that FlatBuffers already supports. The option is
--bfbsI believe, and the schema for the data is in
reflection/.. see also some github issues where we talk more about using this for external code generators @dbaileychess