DelimitedFieldParser that parses a variable length list of values separated by its own delimiter (distinct from the field delimiter). More...
#include <DelimitedLineParser.hpp>
Public Member Functions | |
ValueVectorField (const std::string &name, char delimiter, std::vector< Value > *val) | |
void | parse (const char *first, const char *last) |
Called once per field by DelimitedLineParser. |
DelimitedFieldParser that parses a variable length list of values separated by its own delimiter (distinct from the field delimiter).
Each token is assumed to be of the same type and is parsed by cgatools::util::parseValue. Results are stored in an std::vector.
void cgatools::util::ValueVectorField< Value >::parse | ( | const char * | first, | |
const char * | last | |||
) | [inline, virtual] |
Called once per field by DelimitedLineParser.
first | The first char of the field. | |
last | One past the end of the field. When parse is called, *last is the null character. |
Implements cgatools::util::DelimitedFieldParser.