LLVM 20.0.0git
Public Member Functions | List of all members
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 159 of file SuffixTree.h.

Constructor & Destructor Documentation

◆ RepeatedSubstringIterator()

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

Definition at line 207 of file SuffixTree.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 203 of file SuffixTree.h.

References llvm::Other.

◆ operator*()

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

Return the current repeated substring.

Definition at line 187 of file SuffixTree.h.

◆ operator++() [1/2]

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

Definition at line 189 of file SuffixTree.h.

◆ operator++() [2/2]

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

Definition at line 194 of file SuffixTree.h.

◆ operator==()

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

Definition at line 200 of file SuffixTree.h.

References N, and llvm::Other.


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