vg
tools for working with variation graphs
Public Member Functions | Private Attributes | List of all members
vg::subpath_t Class Reference

#include <multipath_alignment.hpp>

Public Member Functions

 subpath_t ()=default
 
 subpath_t (const subpath_t &)=default
 
 subpath_t (subpath_t &&)=default
 
 ~subpath_t ()=default
 
subpath_toperator= (const subpath_t &)=default
 
subpath_toperator= (subpath_t &&)=default
 
const path_tpath () const
 
path_tmutable_path ()
 
bool has_path () const
 
const vector< uint32_t > & next () const
 
uint32_t next (size_t i) const
 
vector< uint32_t > * mutable_next ()
 
void set_next (size_t i, uint32_t n)
 
void add_next (uint32_t n)
 
void clear_next ()
 
size_t next_size () const
 
bool has_next () const
 
int32_t score () const
 
void set_score (int32_t s)
 
const vector< connection_t > & connection () const
 
const connection_tconnection (size_t i) const
 
vector< connection_t > * mutable_connection ()
 
connection_tmutable_connection (size_t i)
 
void set_connection (size_t i, const connection_t &c)
 
connection_tadd_connection ()
 
void clear_connection ()
 
size_t connection_size () const
 
bool has_connection () const
 

Private Attributes

path_t _path
 
vector< uint32_t > _next
 
int32_t _score
 
vector< connection_t_connection
 

Constructor & Destructor Documentation

◆ subpath_t() [1/3]

vg::subpath_t::subpath_t ( )
default

◆ subpath_t() [2/3]

vg::subpath_t::subpath_t ( const subpath_t )
default

◆ subpath_t() [3/3]

vg::subpath_t::subpath_t ( subpath_t &&  )
default

◆ ~subpath_t()

vg::subpath_t::~subpath_t ( )
default

Member Function Documentation

◆ add_connection()

connection_t * vg::subpath_t::add_connection ( )
inline

◆ add_next()

void vg::subpath_t::add_next ( uint32_t  n)
inline

◆ clear_connection()

void vg::subpath_t::clear_connection ( )
inline

◆ clear_next()

void vg::subpath_t::clear_next ( )
inline

◆ connection() [1/2]

const vector< connection_t > & vg::subpath_t::connection ( ) const
inline

◆ connection() [2/2]

const connection_t & vg::subpath_t::connection ( size_t  i) const
inline

◆ connection_size()

size_t vg::subpath_t::connection_size ( ) const
inline

◆ has_connection()

bool vg::subpath_t::has_connection ( ) const
inline

◆ has_next()

bool vg::subpath_t::has_next ( ) const
inline

◆ has_path()

bool vg::subpath_t::has_path ( ) const
inline

◆ mutable_connection() [1/2]

vector< connection_t > * vg::subpath_t::mutable_connection ( )
inline

◆ mutable_connection() [2/2]

connection_t * vg::subpath_t::mutable_connection ( size_t  i)
inline

◆ mutable_next()

vector< uint32_t > * vg::subpath_t::mutable_next ( )
inline

◆ mutable_path()

path_t * vg::subpath_t::mutable_path ( )
inline

◆ next() [1/2]

const vector< uint32_t > & vg::subpath_t::next ( ) const
inline

◆ next() [2/2]

uint32_t vg::subpath_t::next ( size_t  i) const
inline

◆ next_size()

size_t vg::subpath_t::next_size ( ) const
inline

◆ operator=() [1/2]

subpath_t& vg::subpath_t::operator= ( const subpath_t )
default

◆ operator=() [2/2]

subpath_t& vg::subpath_t::operator= ( subpath_t &&  )
default

◆ path()

const path_t & vg::subpath_t::path ( ) const
inline

◆ score()

int32_t vg::subpath_t::score ( ) const
inline

◆ set_connection()

void vg::subpath_t::set_connection ( size_t  i,
const connection_t c 
)
inline

◆ set_next()

void vg::subpath_t::set_next ( size_t  i,
uint32_t  n 
)
inline

◆ set_score()

void vg::subpath_t::set_score ( int32_t  s)
inline

Member Data Documentation

◆ _connection

vector<connection_t> vg::subpath_t::_connection
private

◆ _next

vector<uint32_t> vg::subpath_t::_next
private

◆ _path

path_t vg::subpath_t::_path
private

◆ _score

int32_t vg::subpath_t::_score
private

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