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

#include <path.hpp>

Public Member Functions

 edit_t () noexcept
 
 edit_t (const edit_t &other)=default
 
 edit_t (edit_t &&other)=default
 
 ~edit_t ()=default
 
edit_toperator= (const edit_t &other)=default
 
edit_toperator= (edit_t &&other)=default
 
int32_t from_length () const
 
void set_from_length (int32_t l)
 
int32_t to_length () const
 
void set_to_length (int32_t l)
 
const string & sequence () const
 
void set_sequence (const string &s)
 
string * mutable_sequence ()
 
bool operator== (const edit_t &other) const
 
bool operator!= (const edit_t &other) const
 

Private Attributes

int32_t _from_length
 
int32_t _to_length
 
string _sequence
 

Constructor & Destructor Documentation

◆ edit_t() [1/3]

vg::edit_t::edit_t ( )
inlinenoexcept

◆ edit_t() [2/3]

vg::edit_t::edit_t ( const edit_t other)
default

◆ edit_t() [3/3]

vg::edit_t::edit_t ( edit_t &&  other)
default

◆ ~edit_t()

vg::edit_t::~edit_t ( )
default

Member Function Documentation

◆ from_length()

int32_t vg::edit_t::from_length ( ) const
inline

◆ mutable_sequence()

string * vg::edit_t::mutable_sequence ( )
inline

◆ operator!=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

◆ sequence()

const string & vg::edit_t::sequence ( ) const
inline

◆ set_from_length()

void vg::edit_t::set_from_length ( int32_t  l)
inline

◆ set_sequence()

void vg::edit_t::set_sequence ( const string &  s)
inline

◆ set_to_length()

void vg::edit_t::set_to_length ( int32_t  l)
inline

◆ to_length()

int32_t vg::edit_t::to_length ( ) const
inline

Member Data Documentation

◆ _from_length

int32_t vg::edit_t::_from_length
private

◆ _sequence

string vg::edit_t::_sequence
private

◆ _to_length

int32_t vg::edit_t::_to_length
private

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