vg
tools for working with variation graphs
Loading...
Searching...
No Matches
vg::ZipCodeTree::oriented_seed_t Struct Reference

#include <zip_code_tree.hpp>

Inheritance diagram for vg::ZipCodeTree::oriented_seed_t:
vg::ZipCodeTree::seed_result_t

Public Member Functions

 oriented_seed_t (size_t seed_index, bool is_reversed)
 Raw value constructor.
bool operator== (const oriented_seed_t &other) const
 Compare to other instances. TODO: Use default when we get C++20.
bool operator!= (const oriented_seed_t &other) const
 Compare to other instances. TODO: Use default when we get C++20.

Public Attributes

size_t seed
 The index of the seed in the seeds vector.
bool is_reversed
 Is the seed traversed backwards in the tree?

Detailed Description

Exposed type for a reference to an orientation of a seed

Constructor & Destructor Documentation

◆ oriented_seed_t()

vg::ZipCodeTree::oriented_seed_t::oriented_seed_t ( size_t seed_index,
bool is_reversed )
inline

Raw value constructor.

Member Function Documentation

◆ operator!=()

bool vg::ZipCodeTree::oriented_seed_t::operator!= ( const oriented_seed_t & other) const
inline

Compare to other instances. TODO: Use default when we get C++20.

◆ operator==()

bool vg::ZipCodeTree::oriented_seed_t::operator== ( const oriented_seed_t & other) const
inline

Compare to other instances. TODO: Use default when we get C++20.

Member Data Documentation

◆ is_reversed

bool vg::ZipCodeTree::oriented_seed_t::is_reversed

Is the seed traversed backwards in the tree?

◆ seed

size_t vg::ZipCodeTree::oriented_seed_t::seed

The index of the seed in the seeds vector.


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