Public Member Functions | Private Member Functions | Private Attributes | List of all members
re2::FilteredRE2 Class Reference

#include <filtered_re2.h>

Public Member Functions

RE2::ErrorCode Add (const StringPiece &pattern, const RE2::Options &options, int *id)
 
RE2::ErrorCode Add (const StringPiece &pattern, const RE2::Options &options, int *id)
 
bool AllMatches (const StringPiece &text, const std::vector< int > &atoms, std::vector< int > *matching_regexps) const
 
bool AllMatches (const StringPiece &text, const std::vector< int > &atoms, std::vector< int > *matching_regexps) const
 
void AllPotentials (const std::vector< int > &atoms, std::vector< int > *potential_regexps) const
 
void AllPotentials (const std::vector< int > &atoms, std::vector< int > *potential_regexps) const
 
void Compile (std::vector< std::string > *strings_to_match)
 
void Compile (std::vector< std::string > *strings_to_match)
 
 FilteredRE2 ()
 
 FilteredRE2 ()
 
 FilteredRE2 (const FilteredRE2 &)=delete
 
 FilteredRE2 (FilteredRE2 &&other)
 
 FilteredRE2 (int min_atom_len)
 
 FilteredRE2 (int min_atom_len)
 
int FirstMatch (const StringPiece &text, const std::vector< int > &atoms) const
 
int FirstMatch (const StringPiece &text, const std::vector< int > &atoms) const
 
const RE2GetRE2 (int regexpid) const
 
const RE2GetRE2 (int regexpid) const
 
int NumRegexps () const
 
int NumRegexps () const
 
FilteredRE2operator= (const FilteredRE2 &)=delete
 
FilteredRE2operator= (FilteredRE2 &&other)
 
int SlowFirstMatch (const StringPiece &text) const
 
int SlowFirstMatch (const StringPiece &text) const
 
 ~FilteredRE2 ()
 
 ~FilteredRE2 ()
 

Private Member Functions

 FilteredRE2 (const FilteredRE2 &)=delete
 
FilteredRE2operator= (const FilteredRE2 &)=delete
 
void PrintPrefilter (int regexpid)
 
void PrintPrefilter (int regexpid)
 
void RegexpsGivenStrings (const std::vector< int > &matched_atoms, std::vector< int > *passed_regexps)
 
void RegexpsGivenStrings (const std::vector< int > &matched_atoms, std::vector< int > *passed_regexps)
 

Private Attributes

bool compiled_
 
PrefilterTreeprefilter_tree_
 
std::unique_ptr< PrefilterTreeprefilter_tree_
 
std::vector< RE2 * > re2_vec_
 

Detailed Description

Definition at line 33 of file bloaty/third_party/re2/re2/filtered_re2.h.

Constructor & Destructor Documentation

◆ FilteredRE2() [1/7]

re2::FilteredRE2::FilteredRE2 ( )

Definition at line 17 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ FilteredRE2() [2/7]

re2::FilteredRE2::FilteredRE2 ( int  min_atom_len)
explicit

Definition at line 22 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ ~FilteredRE2() [1/2]

re2::FilteredRE2::~FilteredRE2 ( )

Definition at line 27 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ FilteredRE2() [3/7]

re2::FilteredRE2::FilteredRE2 ( const FilteredRE2 )
privatedelete

◆ FilteredRE2() [4/7]

re2::FilteredRE2::FilteredRE2 ( )

◆ FilteredRE2() [5/7]

re2::FilteredRE2::FilteredRE2 ( int  min_atom_len)
explicit

◆ ~FilteredRE2() [2/2]

re2::FilteredRE2::~FilteredRE2 ( )

◆ FilteredRE2() [6/7]

re2::FilteredRE2::FilteredRE2 ( const FilteredRE2 )
delete

◆ FilteredRE2() [7/7]

re2::FilteredRE2::FilteredRE2 ( FilteredRE2 &&  other)

Definition at line 33 of file re2/re2/filtered_re2.cc.

Member Function Documentation

◆ Add() [1/2]

RE2::ErrorCode re2::FilteredRE2::Add ( const StringPiece pattern,
const RE2::Options options,
int id 
)

Definition at line 33 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ Add() [2/2]

RE2::ErrorCode re2::FilteredRE2::Add ( const StringPiece pattern,
const RE2::Options options,
int id 
)

◆ AllMatches() [1/2]

bool re2::FilteredRE2::AllMatches ( const StringPiece text,
const std::vector< int > &  atoms,
std::vector< int > *  matching_regexps 
) const

Definition at line 93 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ AllMatches() [2/2]

bool re2::FilteredRE2::AllMatches ( const StringPiece text,
const std::vector< int > &  atoms,
std::vector< int > *  matching_regexps 
) const

◆ AllPotentials() [1/2]

void re2::FilteredRE2::AllPotentials ( const std::vector< int > &  atoms,
std::vector< int > *  potential_regexps 
) const

Definition at line 106 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ AllPotentials() [2/2]

void re2::FilteredRE2::AllPotentials ( const std::vector< int > &  atoms,
std::vector< int > *  potential_regexps 
) const

◆ Compile() [1/2]

void re2::FilteredRE2::Compile ( std::vector< std::string > *  strings_to_match)

Definition at line 52 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ Compile() [2/2]

void re2::FilteredRE2::Compile ( std::vector< std::string > *  strings_to_match)

◆ FirstMatch() [1/2]

int re2::FilteredRE2::FirstMatch ( const StringPiece text,
const std::vector< int > &  atoms 
) const

Definition at line 79 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ FirstMatch() [2/2]

int re2::FilteredRE2::FirstMatch ( const StringPiece text,
const std::vector< int > &  atoms 
) const

◆ GetRE2() [1/2]

const RE2& re2::FilteredRE2::GetRE2 ( int  regexpid) const
inline

Definition at line 84 of file bloaty/third_party/re2/re2/filtered_re2.h.

◆ GetRE2() [2/2]

const RE2& re2::FilteredRE2::GetRE2 ( int  regexpid) const
inline

Definition at line 92 of file re2/re2/filtered_re2.h.

◆ NumRegexps() [1/2]

int re2::FilteredRE2::NumRegexps ( ) const
inline

Definition at line 81 of file bloaty/third_party/re2/re2/filtered_re2.h.

◆ NumRegexps() [2/2]

int re2::FilteredRE2::NumRegexps ( ) const
inline

Definition at line 89 of file re2/re2/filtered_re2.h.

◆ operator=() [1/3]

FilteredRE2& re2::FilteredRE2::operator= ( const FilteredRE2 )
delete

◆ operator=() [2/3]

FilteredRE2& re2::FilteredRE2::operator= ( const FilteredRE2 )
privatedelete

◆ operator=() [3/3]

FilteredRE2 & re2::FilteredRE2::operator= ( FilteredRE2 &&  other)

Definition at line 43 of file re2/re2/filtered_re2.cc.

◆ PrintPrefilter() [1/2]

void re2::FilteredRE2::PrintPrefilter ( int  regexpid)
private

Definition at line 117 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ PrintPrefilter() [2/2]

void re2::FilteredRE2::PrintPrefilter ( int  regexpid)
private

◆ RegexpsGivenStrings() [1/2]

void re2::FilteredRE2::RegexpsGivenStrings ( const std::vector< int > &  matched_atoms,
std::vector< int > *  passed_regexps 
)
private

Definition at line 112 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ RegexpsGivenStrings() [2/2]

void re2::FilteredRE2::RegexpsGivenStrings ( const std::vector< int > &  matched_atoms,
std::vector< int > *  passed_regexps 
)
private

◆ SlowFirstMatch() [1/2]

int re2::FilteredRE2::SlowFirstMatch ( const StringPiece text) const

Definition at line 72 of file bloaty/third_party/re2/re2/filtered_re2.cc.

◆ SlowFirstMatch() [2/2]

int re2::FilteredRE2::SlowFirstMatch ( const StringPiece text) const

Member Data Documentation

◆ compiled_

bool re2::FilteredRE2::compiled_
private

Definition at line 98 of file bloaty/third_party/re2/re2/filtered_re2.h.

◆ prefilter_tree_ [1/2]

PrefilterTree* re2::FilteredRE2::prefilter_tree_
private

Definition at line 101 of file bloaty/third_party/re2/re2/filtered_re2.h.

◆ prefilter_tree_ [2/2]

std::unique_ptr<PrefilterTree> re2::FilteredRE2::prefilter_tree_
private

Definition at line 109 of file re2/re2/filtered_re2.h.

◆ re2_vec_

std::vector< RE2 * > re2::FilteredRE2::re2_vec_
private

Definition at line 95 of file bloaty/third_party/re2/re2/filtered_re2.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:42