All,
Does anyone know a tool that can create vanilla POD-like C ++ structures from a schema description?
Important qualities:
- It’s wise to use as “first class citizens” inside the code.
- aggregates are packaged in the same way as their own arrays.
- another, support for an interactive language (i.e. Python or Matlab.)
- use of each a plus native type language.
- default values and allowable values are defined and used.
Pleasant to use are:
- implicit heap usage (explicit through the scheme will be ok)
- very lightweight API (no API is ok, access-by-reference of the name-element is fine, get_foo / set_foo is tolerable, but discouraged.)
I briefly lost to Google Protocol-Buffers. It seems that the “repeat” and “packed” primitives satisfy one of my conditions, but the API is not intended for this use.
Context: I'm looking to write portable high-performance code (so it should be out of my requirements) where intermediate products can be downloaded / saved and then checked and processed with the proper language for analysis / scripting. Data structures always change, so you need a way to automatically generate classes for all participating languages.
source
share