HiPipe  0.7.0
C++17 data pipeline with Python bindings.
converter.hpp
1 /****************************************************************************
2  * hipipe library
3  * Copyright (c) 2017, Cognexa Solutions s.r.o.
4  * Copyright (c) 2018, Iterait a.s.
5  * Author(s) Filip Matzner
6  *
7  * This file is distributed under the MIT License.
8  * See the accompanying file LICENSE.txt for the complete license agreement.
9  ****************************************************************************/
10 
11 #pragma once
12 #include <hipipe/build_config.hpp>
13 #ifdef HIPIPE_BUILD_PYTHON
14 
15 #include <hipipe/core/stream/stream_t.hpp>
16 
17 #include <range/v3/view/any_view.hpp>
18 
19 namespace hipipe::python::stream {
20 
21 
26 range<ranges::any_view<boost::python::dict>> to_python(hipipe::stream::input_stream_t stream);
27 
28 
29 } // end namespace hipipe::python::stream
30 
31 #endif // HIPIPE_BUILD_PYTHON
hipipe::stream::input_stream_t
ranges::any_view< batch_t, ranges::category::input > input_stream_t
The stream type after special eager operations.
Definition: stream_t.hpp:37