Metatype

Metatype XML serialization should create Hex-Code serializer for vectors of simple atomic types.

Candidates are vectors of char, octet, int and uint. In the current version, XML serialization puts a lot of overhead in the generated XML.

Metatype is unable to serialize vector (metatype type: bool[])

Metatype’s binary serialization and Metatype’s scheme description does not yet support vector<bool>. This is mainly because STL’s vector<bool> implementation does not resemble a contiguous memory array of bool values.

Metatype's unions should support arbitrary anonymous typedefs.

Currently, the type of union member is parsed as an identifier. It is not possible to declare arrays or other complex types inside unions. This deficit may be circumvented by declaring types using the typedef keyword.

Internally, the implementation is capable to handle arbitrary types, but the parser and the AST do not support the required constructs yet.

Metatype's discriminated union's selector is public.

This should be consolidated, somehow, by using an accessor?

metatype should support floating point constants for default values.

see title.

Metatype's discriminated unions

For the readers not knowing, Metatype is a data-type definition language and a C++ code generator. Metatype may be used for the specification and implementation complex data protocols. Compared to other data definition languages, Metatype has one speciality: It supports the declaration and generation of discriminated unions. Update: included example for constructing unions.

Syndicate content