cgatools::util::DelimitedFieldParser Class Reference

Class that parses one field of a delimited line. More...

#include <DelimitedLineParser.hpp>

Inheritance diagram for cgatools::util::DelimitedFieldParser:
cgatools::reference::ChromosomeIdField cgatools::util::CharField cgatools::util::DelimitedField cgatools::util::IgnoreField cgatools::util::SideField cgatools::util::StrandField cgatools::util::StringField cgatools::util::ValueField< Value > cgatools::util::ValueVectorField< Value >

List of all members.

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.

Detailed Description

Class that parses one field of a delimited line.


Member Function Documentation

virtual void cgatools::util::DelimitedFieldParser::parse ( const char *  first,
const char *  last 
) [pure virtual]

Called once per field by DelimitedLineParser.

Parameters:
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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2