1 #include "delimited_index.h"
2 
3 namespace vroom {
4 
5 class delimited_index_connection : public delimited_index {
6   std::string filename_;
7 
8 public:
9   delimited_index_connection(
10       SEXP in,
11       const char* delim,
12       const char quote,
13       const bool trim_ws,
14       const bool escape_double,
15       const bool escape_backslash,
16       const bool has_header,
17       const size_t skip,
18       const size_t n_max,
19       const char* comment,
20       const bool skip_empty_rows,
21       const std::shared_ptr<vroom_errors> errors,
22       const size_t chunk_size,
23       const bool progress);
24 
~delimited_index_connection()25   ~delimited_index_connection() { remove(filename_.c_str()); }
26 };
27 
28 } // namespace vroom
29