|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
One match occurrence in the searched text. More...
#include <Aho_Corasick.H>
Public Member Functions | |
| bool | operator== (const Match &other) const noexcept |
| Equality operator for Match. | |
Public Attributes | |
| size_t | position = 0 |
| 0-based start index of the match. | |
| size_t | pattern_id = 0 |
| Insertion-order ID of the pattern. | |
One match occurrence in the searched text.
position is the 0-based start index of the matched pattern. pattern_id is the insertion order id returned by add_pattern().
Definition at line 70 of file Aho_Corasick.H.
Equality operator for Match.
| other | The match to compare against. |
Definition at line 79 of file Aho_Corasick.H.
References Aleph::and, Aleph::divide_and_conquer_partition_dp(), pattern_id, and position.
| size_t Aleph::Aho_Corasick::Match::pattern_id = 0 |
Insertion-order ID of the pattern.
Definition at line 73 of file Aho_Corasick.H.
Referenced by operator==().
| size_t Aleph::Aho_Corasick::Match::position = 0 |
0-based start index of the match.
Definition at line 72 of file Aho_Corasick.H.
Referenced by operator==().