USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
UHD and USRP Manual
csv.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2011 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #ifndef INCLUDED_UHD_UTILS_CSV_HPP
9 #define INCLUDED_UHD_UTILS_CSV_HPP
10 
11 #include <uhd/config.hpp>
12 #include <vector>
13 #include <string>
14 #include <istream>
15 
16 namespace uhd{ namespace csv{
17  typedef std::vector<std::string> row_type;
18  typedef std::vector<row_type> rows_type;
19 
21  UHD_API rows_type to_rows(std::istream &input);
22 
23 }} //namespace uhd::csv
24 
25 #endif /* INCLUDED_UHD_UTILS_CSV_HPP */
std::vector< row_type > rows_type
Definition: csv.hpp:18
std::vector< std::string > row_type
Definition: csv.hpp:17
Definition: build_info.hpp:14
UHD_API rows_type to_rows(std::istream &input)
Convert an input stream to csv rows.
#define UHD_API
Definition: config.h:63