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

#include <position.hpp>

Public Member Functions

 position_t ()
 
 position_t (const position_t &other)=default
 
 position_t (position_t &&other)=default
 
 ~position_t ()=default
 
position_toperator= (const position_t &other)=default
 
position_toperator= (position_t &&other)=default
 
int64_t node_id () const
 
void set_node_id (int64_t i)
 
int64_t offset () const
 
void set_offset (int64_t o)
 
bool is_reverse () const
 
void set_is_reverse (bool r)
 
bool operator== (const position_t &other) const
 
bool operator!= (const position_t &other) const
 

Private Attributes

int64_t _node_id
 
int64_t _offset
 
bool _is_reverse
 

Constructor & Destructor Documentation

◆ position_t() [1/3]

vg::position_t::position_t ( )
inline

◆ position_t() [2/3]

vg::position_t::position_t ( const position_t other)
default

◆ position_t() [3/3]

vg::position_t::position_t ( position_t &&  other)
default

◆ ~position_t()

vg::position_t::~position_t ( )
default

Member Function Documentation

◆ is_reverse()

bool vg::position_t::is_reverse ( ) const
inline

◆ node_id()

int64_t vg::position_t::node_id ( ) const
inline

◆ offset()

int64_t vg::position_t::offset ( ) const
inline

◆ operator!=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

◆ set_is_reverse()

void vg::position_t::set_is_reverse ( bool  r)
inline

◆ set_node_id()

void vg::position_t::set_node_id ( int64_t  i)
inline

◆ set_offset()

void vg::position_t::set_offset ( int64_t  o)
inline

Member Data Documentation

◆ _is_reverse

bool vg::position_t::_is_reverse
private

◆ _node_id

int64_t vg::position_t::_node_id
private

◆ _offset

int64_t vg::position_t::_offset
private

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