IODA Bundle
Encoder.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 1996-2018 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 /// @author Simon Smart
12 /// @date March 2019
13 
14 #ifndef odc_core_Encoder_H
15 #define odc_core_Encoder_H
16 
17 #include <vector>
18 
19 #include "eckit/io/DataHandle.h"
20 
21 #include "odc/api/ColumnInfo.h"
22 #include "odc/api/StridedData.h"
23 
24 namespace odc {
25 namespace core {
26 
27 //----------------------------------------------------------------------------------------------------------------------
28 
29 void encodeFrame(eckit::DataHandle& out,
30  const std::vector<api::ColumnInfo>& columns,
31  const std::vector<api::ConstStridedData>& data,
32  const std::map<std::string, std::string>& properties);
33 
34 //----------------------------------------------------------------------------------------------------------------------
35 
36 } // namespace core
37 } // namespace odc
38 
39 #endif
void encodeFrame(eckit::DataHandle &out, const std::vector< api::ColumnInfo > &columns, const std::vector< api::ConstStridedData > &data, const std::map< std::string, std::string > &properties)
Definition: Encoder.cc:25
Definition: ColumnInfo.h:23