Class that parses one field of a delimited line. More...
#include <DelimitedLineParser.hpp>
Public Member Functions | |
DelimitedFieldParser (const std::string &name) | |
const std::string & | getName () const |
virtual void | parse (const char *first, const char *last)=0 |
Called once per field by DelimitedLineParser. | |
Protected Attributes | |
std::string | name_ |
The name of the field. |
Class that parses one field of a delimited line.
virtual void cgatools::util::DelimitedFieldParser::parse | ( | const char * | first, | |
const char * | last | |||
) | [pure 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. |
Implemented in cgatools::reference::ChromosomeIdField, cgatools::util::IgnoreField, cgatools::util::ValueField< Value >, cgatools::util::ValueVectorField< Value >, cgatools::util::StringField, cgatools::util::CharField, cgatools::util::StrandField, cgatools::util::SideField, and cgatools::util::DelimitedField.