GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
item_type_helpers.h File Reference

Utility functions for converting between item types. More...

#include <cstdint>
#include <functional>
#include <string>

Go to the source code of this file.

Typedefs

using item_type_converter_t = std::function<void(void *, const void *, uint32_t)>

Functions

bool item_type_valid (const std::string &item_type)
 Check if a string is a valid item type.
size_t item_type_size (const std::string &item_type)
 Return the size of the given item type, or zero if unknown.
bool item_type_is_complex (const std::string &item_type)
 Determine if an item_type is complex.
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.

Detailed Description

Utility functions for converting between item types.

Authors
  • Cillian O'Driscoll, 2019. cillian.odriscoll(at)gmail.com

GNSS-SDR is a Global Navigation Satellite System software-defined receiver. This file is part of GNSS-SDR.

Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) SPDX-License-Identifier: GPL-3.0-or-later


Definition in file item_type_helpers.h.