vdj_pipe
pipeline for processing DNA sequence data
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vdj_pipe::gdst::Pattern_iter Class Reference

Navigate suffix tree according to pattern. More...

#include <pattern_iterator.hpp>

Collaboration diagram for vdj_pipe::gdst::Pattern_iter:
Collaboration graph
[legend]

Public Member Functions

 Pattern_iter (Gdst const &t, const boost::string_ref suff, const Branch_id bid)
 
Branch_id current () const
 
bool at_end () const
 
Branch_id next_id () const
 
bool at_pattern_end () const
 
bool at_mismatch () const
 
unsigned index () const
 
Nucleotide pattern_char () const
 
Nucleotide edge_char () const
 
Nucleotide node_char () const
 
bool has_next () const
 
void next ()
 

Private Member Functions

void check_state ()
 

Private Attributes

Gdst const & t_
 
const boost::string_ref patt_
 
Branch_id curr_
 
bool at_end_
 
Branch_id next_
 
bool at_pattern_end_
 
bool mismatch_
 
unsigned pi_
 
Nucleotide ec_
 
Nucleotide nc_
 

Detailed Description

Navigate suffix tree according to pattern.

Constructor & Destructor Documentation

vdj_pipe::gdst::Pattern_iter::Pattern_iter ( Gdst const &  t,
const boost::string_ref  suff,
const Branch_id  bid 
)
inline

Member Function Documentation

bool vdj_pipe::gdst::Pattern_iter::at_end ( ) const
inline
Returns
true if current node is at the end of the pattern
bool vdj_pipe::gdst::Pattern_iter::at_mismatch ( ) const
inline
bool vdj_pipe::gdst::Pattern_iter::at_pattern_end ( ) const
inline
void vdj_pipe::gdst::Pattern_iter::check_state ( )
private
Branch_id vdj_pipe::gdst::Pattern_iter::current ( ) const
inline
Nucleotide vdj_pipe::gdst::Pattern_iter::edge_char ( ) const
inline
bool vdj_pipe::gdst::Pattern_iter::has_next ( ) const
inline
unsigned vdj_pipe::gdst::Pattern_iter::index ( ) const
inline
void vdj_pipe::gdst::Pattern_iter::next ( )
inline
Branch_id vdj_pipe::gdst::Pattern_iter::next_id ( ) const
inline
Nucleotide vdj_pipe::gdst::Pattern_iter::node_char ( ) const
inline
Nucleotide vdj_pipe::gdst::Pattern_iter::pattern_char ( ) const
inline

Member Data Documentation

bool vdj_pipe::gdst::Pattern_iter::at_end_
private
bool vdj_pipe::gdst::Pattern_iter::at_pattern_end_
private
Branch_id vdj_pipe::gdst::Pattern_iter::curr_
private
Nucleotide vdj_pipe::gdst::Pattern_iter::ec_
private
bool vdj_pipe::gdst::Pattern_iter::mismatch_
private
Nucleotide vdj_pipe::gdst::Pattern_iter::nc_
private
Branch_id vdj_pipe::gdst::Pattern_iter::next_
private
const boost::string_ref vdj_pipe::gdst::Pattern_iter::patt_
private
unsigned vdj_pipe::gdst::Pattern_iter::pi_
private
Gdst const& vdj_pipe::gdst::Pattern_iter::t_
private

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