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

#include <haplotypes.hpp>

Public Member Functions

void push_back (alleleValue allele, size_t ref_pos, bool deletion)
 
size_t ref_position (size_t i) const
 
alleleValue allele (size_t i) const
 
size_t size () const
 

Private Attributes

vector< size_t > ref_positions
 
vector< alleleValue > alleles
 

Member Function Documentation

◆ allele()

alleleValue haplo::linear_haplo_structure::SNVvector::allele ( size_t  i) const

◆ push_back()

void haplo::linear_haplo_structure::SNVvector::push_back ( alleleValue  allele,
size_t  ref_pos,
bool  deletion 
)

◆ ref_position()

size_t haplo::linear_haplo_structure::SNVvector::ref_position ( size_t  i) const

◆ size()

size_t haplo::linear_haplo_structure::SNVvector::size ( ) const

Member Data Documentation

◆ alleles

vector<alleleValue> haplo::linear_haplo_structure::SNVvector::alleles
private

◆ ref_positions

vector<size_t> haplo::linear_haplo_structure::SNVvector::ref_positions
private

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