A DelimitedFieldParser that uses cgatools::util::parseValue to parse its value. More...
#include <DelimitedLineParser.hpp>
Public Member Functions | |
| ValueField (const std::string &name, Value *val) | |
| void | parse (const char *first, const char *last) |
| Called once per field by DelimitedLineParser. | |
| ValueField< Value > & | exception (const std::string &key, const Value &val) |
| Add an exception, such that if the field equals key, set the value to val. | |
A DelimitedFieldParser that uses cgatools::util::parseValue to parse its value.
| ValueField<Value>& cgatools::util::ValueField< Value >::exception | ( | const std::string & | key, | |
| const Value & | val | |||
| ) | [inline] |
Add an exception, such that if the field equals key, set the value to val.
| void cgatools::util::ValueField< 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.
1.6.2