├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── appveyor.yml ├── include └── csv │ ├── .LICENSE.concurrent_queue.md │ ├── .LICENSE.robin_hood.md │ ├── concurrent_queue.hpp │ ├── dialect.hpp │ ├── reader.hpp │ ├── robin_hood.hpp │ └── writer.hpp └── tests ├── CMakeLists.txt ├── README.md ├── inputs ├── empty.csv ├── empty_lines.csv ├── exceptions.csv ├── missing_columns.csv ├── missing_columns_2.csv ├── single_row.csv ├── test_01.csv ├── test_02.csv ├── test_03.csv ├── test_04.csv ├── test_05.csv ├── test_06.csv ├── test_07.csv ├── test_08.csv ├── test_09.csv ├── test_10.csv ├── test_11_excel.csv ├── test_12_unix.csv ├── test_13.csv ├── test_14.csv ├── test_15.csv └── too_many_columns.csv └── src └── main.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/appveyor.yml -------------------------------------------------------------------------------- /include/csv/.LICENSE.concurrent_queue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/.LICENSE.concurrent_queue.md -------------------------------------------------------------------------------- /include/csv/.LICENSE.robin_hood.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/.LICENSE.robin_hood.md -------------------------------------------------------------------------------- /include/csv/concurrent_queue.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/concurrent_queue.hpp -------------------------------------------------------------------------------- /include/csv/dialect.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/dialect.hpp -------------------------------------------------------------------------------- /include/csv/reader.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/reader.hpp -------------------------------------------------------------------------------- /include/csv/robin_hood.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/robin_hood.hpp -------------------------------------------------------------------------------- /include/csv/writer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/include/csv/writer.hpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/inputs/empty.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/inputs/empty_lines.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,6 4 | 7,8,9 5 | 6 | 10,11,12 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/inputs/exceptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/exceptions.csv -------------------------------------------------------------------------------- /tests/inputs/missing_columns.csv: -------------------------------------------------------------------------------- 1 | a,b,,d 2 | 1,2,,4 3 | 5,6,,8 -------------------------------------------------------------------------------- /tests/inputs/missing_columns_2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/missing_columns_2.csv -------------------------------------------------------------------------------- /tests/inputs/single_row.csv: -------------------------------------------------------------------------------- 1 | a, b, c 2 | 1, 2, 3 -------------------------------------------------------------------------------- /tests/inputs/test_01.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,6 -------------------------------------------------------------------------------- /tests/inputs/test_02.csv: -------------------------------------------------------------------------------- 1 | a, b, c 2 | 1, 2, 3 3 | 4, 5, 6 -------------------------------------------------------------------------------- /tests/inputs/test_03.csv: -------------------------------------------------------------------------------- 1 | a::b::c 2 | 1::2::3 3 | 4::5::6 -------------------------------------------------------------------------------- /tests/inputs/test_04.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_04.csv -------------------------------------------------------------------------------- /tests/inputs/test_05.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_05.csv -------------------------------------------------------------------------------- /tests/inputs/test_06.csv: -------------------------------------------------------------------------------- 1 | "Free trip to A,B","5.89","Special rate ""1.79""" -------------------------------------------------------------------------------- /tests/inputs/test_07.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_07.csv -------------------------------------------------------------------------------- /tests/inputs/test_08.csv: -------------------------------------------------------------------------------- 1 | 1,2,3 2 | 4,5,6 3 | 7,8,9 -------------------------------------------------------------------------------- /tests/inputs/test_09.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_09.csv -------------------------------------------------------------------------------- /tests/inputs/test_10.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_10.csv -------------------------------------------------------------------------------- /tests/inputs/test_11_excel.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,6 4 | -------------------------------------------------------------------------------- /tests/inputs/test_12_unix.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,6 4 | -------------------------------------------------------------------------------- /tests/inputs/test_13.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_13.csv -------------------------------------------------------------------------------- /tests/inputs/test_14.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_14.csv -------------------------------------------------------------------------------- /tests/inputs/test_15.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/inputs/test_15.csv -------------------------------------------------------------------------------- /tests/inputs/too_many_columns.csv: -------------------------------------------------------------------------------- 1 | a, b, c 2 | 1, 2, 3, 4, 5 3 | 6, 7, -------------------------------------------------------------------------------- /tests/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-ranav/csv/HEAD/tests/src/main.cpp --------------------------------------------------------------------------------