LLVM 22.0.0git
llvm::SuffixTree::RepeatedSubstringIterator Struct Reference

Iterator for finding all repeated substrings in the suffix tree. More...

#include "llvm/Support/SuffixTree.h"

Public Member Functions

RepeatedSubstringoperator* ()
 Return the current repeated substring.
RepeatedSubstringIteratoroperator++ ()
RepeatedSubstringIterator operator++ (int I)
bool operator== (const RepeatedSubstringIterator &Other) const
bool operator!= (const RepeatedSubstringIterator &Other) const
 RepeatedSubstringIterator (SuffixTreeInternalNode *N, const std::vector< SuffixTreeLeafNode * > &LeafNodes={})

Detailed Description

Iterator for finding all repeated substrings in the suffix tree.

Definition at line 160 of file SuffixTree.h.

Constructor & Destructor Documentation

◆ RepeatedSubstringIterator()

llvm::SuffixTree::RepeatedSubstringIterator::RepeatedSubstringIterator ( SuffixTreeInternalNode * N,
const std::vector< SuffixTreeLeafNode * > & LeafNodes = {} )
inline

Definition at line 208 of file SuffixTree.h.

Referenced by operator!=(), operator++(), operator++(), and operator==().

Member Function Documentation

◆ operator!=()

bool llvm::SuffixTree::RepeatedSubstringIterator::operator!= ( const RepeatedSubstringIterator & Other) const
inline

Definition at line 204 of file SuffixTree.h.

References llvm::Other, and RepeatedSubstringIterator().

◆ operator*()

RepeatedSubstring & llvm::SuffixTree::RepeatedSubstringIterator::operator* ( )
inline

Return the current repeated substring.

Definition at line 188 of file SuffixTree.h.

◆ operator++() [1/2]

RepeatedSubstringIterator & llvm::SuffixTree::RepeatedSubstringIterator::operator++ ( )
inline

Definition at line 190 of file SuffixTree.h.

References RepeatedSubstringIterator().

◆ operator++() [2/2]

RepeatedSubstringIterator llvm::SuffixTree::RepeatedSubstringIterator::operator++ ( int I)
inline

Definition at line 195 of file SuffixTree.h.

References I, and RepeatedSubstringIterator().

◆ operator==()

bool llvm::SuffixTree::RepeatedSubstringIterator::operator== ( const RepeatedSubstringIterator & Other) const
inline

Definition at line 201 of file SuffixTree.h.

References llvm::Other, and RepeatedSubstringIterator().


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