vg
tools for working with variation graphs
Public Member Functions | Private Attributes | List of all members
haplo::gbwt_thread_t Struct Reference

#include <haplotypes.hpp>

Public Member Functions

 gbwt_thread_t ()
 
 gbwt_thread_t (const gbwt::vector_type &nodes, const vector< size_t > &node_lengths)
 
void push_back (gbwt::node_type node, size_t node_length)
 
gbwt::vector_type::value_type & operator[] (size_t i)
 
const gbwt::vector_type::value_type & operator[] (size_t i) const
 
gbwt::vector_type::value_type & back ()
 
const gbwt::vector_type::value_type & back () const
 
size_t nodelength (size_t i) const
 
size_t size () const
 

Private Attributes

gbwt::vector_type nodes
 
vector< size_t > node_lengths
 

Constructor & Destructor Documentation

◆ gbwt_thread_t() [1/2]

haplo::gbwt_thread_t::gbwt_thread_t ( )

◆ gbwt_thread_t() [2/2]

haplo::gbwt_thread_t::gbwt_thread_t ( const gbwt::vector_type &  nodes,
const vector< size_t > &  node_lengths 
)

Member Function Documentation

◆ back() [1/2]

const gbwt::vector_type::value_type & haplo::gbwt_thread_t::back ( )

◆ back() [2/2]

const gbwt::vector_type::value_type& haplo::gbwt_thread_t::back ( ) const

◆ nodelength()

size_t haplo::gbwt_thread_t::nodelength ( size_t  i) const

◆ operator[]() [1/2]

gbwt::vector_type::value_type & haplo::gbwt_thread_t::operator[] ( size_t  i)

◆ operator[]() [2/2]

const gbwt::vector_type::value_type & haplo::gbwt_thread_t::operator[] ( size_t  i) const

◆ push_back()

void haplo::gbwt_thread_t::push_back ( gbwt::node_type  node,
size_t  node_length 
)

◆ size()

size_t haplo::gbwt_thread_t::size ( ) const

Member Data Documentation

◆ node_lengths

vector<size_t> haplo::gbwt_thread_t::node_lengths
private

◆ nodes

gbwt::vector_type haplo::gbwt_thread_t::nodes
private

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