data_t.hpp
Go to the documentation of this file.
1 // functions for loading and saving csv files into and out of 2 dimensional deques
2 // borrowed from t'internet
3 
4 #ifndef DATA_T_HPP
5 #define DATA_T_HPP
6 
7 #include <string>
8 #include <sstream>
9 #include <iostream>
10 #include <fstream>
11 #include <deque>
12 
13 using namespace std;
14 
15 struct data_t: deque <deque <float> > {
16  typedef deque <deque <float> > ::iterator record_iterator;
17  typedef deque <float> ::iterator field_iterator;
18  bool load( const string& filename );
19  bool save( const string& filename );
20  bool save( ostream& outs );
21 };
22 
23 #endif /* DATA_T_HPP */
deque< deque< float > >::iterator record_iterator
Definition: data_t.hpp:16
deque< float >::iterator field_iterator
Definition: data_t.hpp:17


ros_marty
Author(s): Alejandro Bordallo
autogenerated on Fri Jul 21 2017 14:51:45