vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::Funnel::PaintableSpace Struct Reference

#include <funnel.hpp>

Public Member Functions

void paint (size_t start, size_t length)
 Mark a range as painted. More...
 
bool is_any_painted (size_t start, size_t length) const
 Check if any position in the given range is painted. More...
 

Public Attributes

std::map< size_t, size_t > regions
 Store start position and length for all painted intervals. More...
 

Detailed Description

Represents a flag vector over positions via a sorted interval list. Allows setting flags in a range.

Member Function Documentation

◆ is_any_painted()

bool vg::Funnel::PaintableSpace::is_any_painted ( size_t  start,
size_t  length 
) const

Check if any position in the given range is painted.

◆ paint()

void vg::Funnel::PaintableSpace::paint ( size_t  start,
size_t  length 
)

Mark a range as painted.

Member Data Documentation

◆ regions

std::map<size_t, size_t> vg::Funnel::PaintableSpace::regions

Store start position and length for all painted intervals.


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