wiseio / paratext

A library for reading text files over multiple cores.
Apache License 2.0
1.06k stars 103 forks source link

Support for iterating over a text column #34

Closed hmalphettes closed 7 years ago

hmalphettes commented 8 years ago
ParaText::CSV::ColBasedLoader loader;
loader.force_semantics("Name", ParaText::Semantics::TEXT);
ParaText::ParseParams params;
params.num_threads=1;
loader.load("names.csv", params);
for (auto it = loader.column_begin<std::string, false>(0); it != loader.column_end<std::string, false>(0); it++) {
  std::cout << *it << std::endl;
}
deads commented 7 years ago

So that we can test your pull request, can you please pull from master so that your branch has the necessary files to automatically run the tests?

git pull https://github.com/wiseio/paratext.git master

Once you do this pull, we can test your pull request.

Thank you!

Damian

deads commented 7 years ago

Thank you for your contribution. This PR is superseded by #56.