vdj_pipe
pipeline for processing DNA sequence data
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vdj_pipe::detail::Parser_line Class Reference

Basic line-based parser; use to derive other parsers. More...

#include <parser_line.hpp>

Inheritance diagram for vdj_pipe::detail::Parser_line:
Inheritance graph
[legend]
Collaboration diagram for vdj_pipe::detail::Parser_line:
Collaboration graph
[legend]

Classes

struct  Err
 

Public Member Functions

int line_num () const
 
bool has_next () const
 

Protected Member Functions

 Parser_line (File_input const &fi)
 
 Parser_line (std::istream &is, const compression::Compression compr)
 
void skip_line ()
 
void seek_line (const char tag)
 
const boost::string_ref get_id (const char tag)
 
void set_meta (Seq_meta &sm, const char tag)
 
const boost::string_ref get_defstr (const char tag)
 
std::string get_sequence (const char tag)
 
void check () const
 

Protected Attributes

File_istream fis_
 
std::string str_
 
int line_
 

Detailed Description

Basic line-based parser; use to derive other parsers.

Constructor & Destructor Documentation

vdj_pipe::detail::Parser_line::Parser_line ( File_input const &  fi)
inlineexplicitprotected
vdj_pipe::detail::Parser_line::Parser_line ( std::istream &  is,
const compression::Compression  compr 
)
inlineexplicitprotected

Member Function Documentation

void vdj_pipe::detail::Parser_line::check ( ) const
inlineprotected
const boost::string_ref vdj_pipe::detail::Parser_line::get_defstr ( const char  tag)
inlineprotected
const boost::string_ref vdj_pipe::detail::Parser_line::get_id ( const char  tag)
inlineprotected
std::string vdj_pipe::detail::Parser_line::get_sequence ( const char  tag)
inlineprotected
bool vdj_pipe::detail::Parser_line::has_next ( ) const
inline
int vdj_pipe::detail::Parser_line::line_num ( ) const
inline
void vdj_pipe::detail::Parser_line::seek_line ( const char  tag)
inlineprotected

seek line starting from tag

void vdj_pipe::detail::Parser_line::set_meta ( Seq_meta sm,
const char  tag 
)
inlineprotected
void vdj_pipe::detail::Parser_line::skip_line ( )
inlineprotected

Member Data Documentation

File_istream vdj_pipe::detail::Parser_line::fis_
protected
int vdj_pipe::detail::Parser_line::line_
protected
std::string vdj_pipe::detail::Parser_line::str_
protected

The documentation for this class was generated from the following file: