20 #ifndef GNSS_SDR_ITEM_TYPE_HELPERS_H 21 #define GNSS_SDR_ITEM_TYPE_HELPERS_H 34 using item_type_converter_t = std::function<void(void *, const void *, uint32_t)>;
80 const std::string &output_type);
85 #endif // GNSS_SDR_ITEM_TYPE_HELPERS_H bool item_type_valid(const std::string &item_type)
Check if a string is a valid item type.
item_type_converter_t make_vector_converter(const std::string &input_type, const std::string &output_type)
Create a function to convert an array of input_type to an array of output_type.
bool item_type_is_complex(const std::string &item_type)
Determine if an item_type is complex.
size_t item_type_size(const std::string &item_type)
Return the size of the given item type, or zero if unknown.