gnuradio / pmt

pmt
GNU Lesser General Public License v3.0
11 stars 11 forks source link

Add support for structure <-> map conversions. #74

Closed jsallay closed 1 year ago

jsallay commented 1 year ago

A common task is to convert an incoming metadata dictionary into a structure. We need to validate that the dictionary contains the proper keys and the values are of the correct types. Using refl-cpp we should be able to create functions that will convert between pmt::map and user defined structs. This will make the user burden much lower when they want to validate the incoming data and should be able to provide very good performance.

jsallay commented 1 year ago

Closed by https://github.com/gnuradio/pmt/pull/84