Open nekum109 opened 3 weeks ago
Can you elaborate a bit more? Provide an example, etc. ...
I have one structure in my fidl file please find below code here instead of string can I use std::any struct sElementType { eElementName elementName eElementType elementDatatype String elementValue }
Thanks for the explanation. std::any
is a C++ type, and as Franca is language agnostic, you cannot use C++ types in interface definitions.
However, the general concept of std::any
can be emulated in Franca by using a ByteBuffer
primitive type. However, pls read the Caveat in the Franca User Guide (v0.12):
BTW: Pls. direct requests like this which are related to Franca IDL only (and not the transformation tool between Franca and AUTOSAR which is developed here) to the Franca project on github: https://github.com/franca/franca
I want to use std::any in fidl file , how to define std::any datatype in fidl file