rossvideo / Catena

Other
5 stars 1 forks source link

Native #66

Closed mejohnnaylor closed 6 months ago

mejohnnaylor commented 7 months ago

Start of work to enable service clients of the DeviceModel SDK to exchange data with it using just these C++ native types:

Catena FLOAT32 <=> C++ float Catena INT32 <=> C++ int32_t Catena STRING <=> C++ std::string Catena FLOAT32_ARRAY <=> C++ std::vector Catena INT32_ARRAY <=> C++ std::vector Catena STRING_ARRAY <=> C++ std::vector

Catena STRUCT <=> C++ PODS with REFLECTION macro applied Catena STRUCT_VARIANT <=> C++ std::variant<typename ...Ts> with REFLECTION macro applied (to do)

Catena STRUCT_ARRAY <=> std::vector<C++ PODS with REFLECTION macro applied> (to do) Catena STRUCT_VARIANT_ARRAY <=> std::vector<std::variant<typename ...Ts> with REFLECTION macro applied> (to do)

This PR also fixes a bug in the JSON schema for STRUCT_ARRAY.