include/qpl/cpp_api/util/qpl_util.hpp
/**
 * @brief Maps high-level enum to low-level one
 */
@brief Maps high-level enum to low-level one
@brief Maps high - level enum to low - level one
static inline auto parser_to_qpl_parser(parsers parser) -> qpl_parser {
    switch (parser) {
        case parsers::little_endian_packed_array: {
            return qpl_p_le_packed_array;
        }
        case parsers::big_endian_packed_array: {
            return qpl_p_be_packed_array;
        }
        default: {
            return qpl_p_parquet_rle;
        }
    }
}
static inline auto parser_to_qpl_parser ( parsers parser ) -> qpl_parser { switch ( parser ) { case parsers :: little_endian_packed_array : { return qpl_p_le_packed_array ; } case parsers :: big_endian_packed_array : { return qpl_p_be_packed_array ; } default : { return qpl_p_parquet_rle ; } } }
@brief Maps high-level enum to low-level one
@brief Maps high - level enum to low - level one