OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
ACNode::DepthHits Struct Reference

internal struct to steal one bit from depth to use as hit indicator More...

#include <OpenMS/ANALYSIS/ID/AhoCorasickAmbiguous.h>

Collaboration diagram for ACNode::DepthHits:
[legend]

Public Member Functions

 DepthHits ()
 

Public Attributes

uint8_t has_hit: 1
 does a pattern end here (or when following suffix links)? More...
 
uint8_t depth: 7
 depth of node in the trie More...
 

Detailed Description

internal struct to steal one bit from depth to use as hit indicator

Constructor & Destructor Documentation

◆ DepthHits()

DepthHits ( )
inline

Member Data Documentation

◆ depth

uint8_t depth

depth of node in the trie

◆ has_hit

uint8_t has_hit

does a pattern end here (or when following suffix links)?