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

#include <path.hpp>

Public Member Functions

 path_mapping_t ()=default
 
 path_mapping_t (const path_mapping_t &other)=default
 
 path_mapping_t (path_mapping_t &&other)=default
 
 ~path_mapping_t ()=default
 
path_mapping_toperator= (const path_mapping_t &other)=default
 
path_mapping_toperator= (path_mapping_t &&other)=default
 
const position_tposition () const
 
position_tmutable_position ()
 
const vector< edit_t > & edit () const
 
const edit_tedit (size_t i) const
 
vector< edit_t > * mutable_edit ()
 
edit_tmutable_edit (size_t i)
 
edit_tadd_edit ()
 
size_t edit_size () const
 
bool operator== (const path_mapping_t &other) const
 
bool operator!= (const path_mapping_t &other) const
 

Private Attributes

position_t _position
 
vector< edit_t_edit
 

Constructor & Destructor Documentation

◆ path_mapping_t() [1/3]

vg::path_mapping_t::path_mapping_t ( )
default

◆ path_mapping_t() [2/3]

vg::path_mapping_t::path_mapping_t ( const path_mapping_t other)
default

◆ path_mapping_t() [3/3]

vg::path_mapping_t::path_mapping_t ( path_mapping_t &&  other)
default

◆ ~path_mapping_t()

vg::path_mapping_t::~path_mapping_t ( )
default

Member Function Documentation

◆ add_edit()

edit_t * vg::path_mapping_t::add_edit ( )
inline

◆ edit() [1/2]

const vector< edit_t > & vg::path_mapping_t::edit ( ) const
inline

◆ edit() [2/2]

const edit_t & vg::path_mapping_t::edit ( size_t  i) const
inline

◆ edit_size()

size_t vg::path_mapping_t::edit_size ( ) const
inline

◆ mutable_edit() [1/2]

vector< edit_t > * vg::path_mapping_t::mutable_edit ( )
inline

◆ mutable_edit() [2/2]

edit_t * vg::path_mapping_t::mutable_edit ( size_t  i)
inline

◆ mutable_position()

position_t * vg::path_mapping_t::mutable_position ( )
inline

◆ operator!=()

bool vg::path_mapping_t::operator!= ( const path_mapping_t other) const
inline

◆ operator=() [1/2]

path_mapping_t& vg::path_mapping_t::operator= ( const path_mapping_t other)
default

◆ operator=() [2/2]

path_mapping_t& vg::path_mapping_t::operator= ( path_mapping_t &&  other)
default

◆ operator==()

bool vg::path_mapping_t::operator== ( const path_mapping_t other) const
inline

◆ position()

const position_t & vg::path_mapping_t::position ( ) const
inline

Member Data Documentation

◆ _edit

vector<edit_t> vg::path_mapping_t::_edit
private

◆ _position

position_t vg::path_mapping_t::_position
private

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