Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separator-generic CSV parser #48

Open
GoogleCodeExporter opened this issue May 21, 2015 · 5 comments
Open

separator-generic CSV parser #48

GoogleCodeExporter opened this issue May 21, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Please improve the parser of the stream-utils library.
Currently, it works for whitespace-separated values.
It should work with ',' or any other specified separator (e.g. "-", ";").
For example:
  value,value, value ,value

This is a very important issue.
Probably before or after of the error checking issue.

Pls ensure it works for STL containers (vector, list, and set at least).

Note that phyloloc depends on this library, ensure it still works afterwards, 
and also enjoys of the new functionality (currently, location failes are 
whitespace-separated, and should be comma-separated).

Original issue reported on code.google.com by [email protected] on 2 Jan 2012 at 3:47

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Original comment by hugo.arregui on 2 Jan 2012 at 3:59

  • Changed state: New

@GoogleCodeExporter
Copy link
Author

Just provide basic delimiting functionality, as a symmetric counterpart of the 
output part, by using the delimiter argument of getline.
Nothing fancy, just use ::getline.

Original comment by [email protected] on 2 Jan 2012 at 4:03

@GoogleCodeExporter
Copy link
Author

Currently there is a test testReadWithGenericSeparator in stream-utils_test.cpp 
which can be useful in order to check the parser behaviour.

Original comment by [email protected] on 21 Feb 2012 at 8:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant