Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
re2::RE2::Set Class Reference

#include <set.h>

Classes

struct  ErrorInfo
 

Public Types

enum  ErrorKind {
  kNoError = 0, kNotCompiled, kOutOfMemory, kInconsistent,
  kNoError = 0, kNotCompiled, kOutOfMemory, kInconsistent
}
 
enum  ErrorKind {
  kNoError = 0, kNotCompiled, kOutOfMemory, kInconsistent,
  kNoError = 0, kNotCompiled, kOutOfMemory, kInconsistent
}
 

Public Member Functions

int Add (const StringPiece &pattern, std::string *error)
 
int Add (const StringPiece &pattern, std::string *error)
 
bool Compile ()
 
bool Compile ()
 
bool Match (const StringPiece &text, std::vector< int > *v) const
 
bool Match (const StringPiece &text, std::vector< int > *v) const
 
bool Match (const StringPiece &text, std::vector< int > *v, ErrorInfo *error_info) const
 
bool Match (const StringPiece &text, std::vector< int > *v, ErrorInfo *error_info) const
 
Setoperator= (const Set &)=delete
 
Setoperator= (Set &&other)
 
 Set (const RE2::Options &options, RE2::Anchor anchor)
 
 Set (const RE2::Options &options, RE2::Anchor anchor)
 
 Set (const Set &)=delete
 
 Set (Set &&other)
 
 ~Set ()
 
 ~Set ()
 

Private Types

typedef std::pair< std::string, re2::Regexp * > Elem
 
typedef std::pair< std::string, re2::Regexp * > Elem
 

Private Member Functions

Setoperator= (const Set &)=delete
 
 Set (const Set &)=delete
 

Private Attributes

RE2::Anchor anchor_
 
bool compiled_
 
std::vector< Elemelem_
 
RE2::Options options_
 
re2::Progprog_
 
std::unique_ptr< re2::Progprog_
 
int size_
 

Detailed Description

Definition at line 23 of file bloaty/third_party/re2/re2/set.h.

Member Typedef Documentation

◆ Elem [1/2]

typedef std::pair<std::string, re2::Regexp*> re2::RE2::Set::Elem
private

Definition at line 65 of file bloaty/third_party/re2/re2/set.h.

◆ Elem [2/2]

typedef std::pair<std::string, re2::Regexp*> re2::RE2::Set::Elem
private

Definition at line 73 of file re2/re2/set.h.

Member Enumeration Documentation

◆ ErrorKind [1/2]

Enumerator
kNoError 
kNotCompiled 
kOutOfMemory 
kInconsistent 
kNoError 
kNotCompiled 
kOutOfMemory 
kInconsistent 

Definition at line 25 of file bloaty/third_party/re2/re2/set.h.

◆ ErrorKind [2/2]

Enumerator
kNoError 
kNotCompiled 
kOutOfMemory 
kInconsistent 
kNoError 
kNotCompiled 
kOutOfMemory 
kInconsistent 

Definition at line 26 of file re2/re2/set.h.

Constructor & Destructor Documentation

◆ Set() [1/5]

re2::RE2::Set::Set ( const RE2::Options options,
RE2::Anchor  anchor 
)

Definition at line 21 of file bloaty/third_party/re2/re2/set.cc.

◆ ~Set() [1/2]

re2::RE2::Set::~Set ( )

Definition at line 30 of file bloaty/third_party/re2/re2/set.cc.

◆ Set() [2/5]

re2::RE2::Set::Set ( const Set )
privatedelete

◆ Set() [3/5]

re2::RE2::Set::Set ( const RE2::Options options,
RE2::Anchor  anchor 
)

◆ ~Set() [2/2]

re2::RE2::Set::~Set ( )

◆ Set() [4/5]

re2::RE2::Set::Set ( const Set )
delete

◆ Set() [5/5]

re2::RE2::Set::Set ( Set &&  other)

Definition at line 35 of file re2/re2/set.cc.

Member Function Documentation

◆ Add() [1/2]

int re2::RE2::Set::Add ( const StringPiece pattern,
std::string *  error 
)

Definition at line 36 of file bloaty/third_party/re2/re2/set.cc.

◆ Add() [2/2]

int re2::RE2::Set::Add ( const StringPiece pattern,
std::string *  error 
)

◆ Compile() [1/2]

bool re2::RE2::Set::Compile ( )

Definition at line 75 of file bloaty/third_party/re2/re2/set.cc.

◆ Compile() [2/2]

bool re2::RE2::Set::Compile ( )

◆ Match() [1/4]

bool re2::RE2::Set::Match ( const StringPiece text,
std::vector< int > *  v 
) const

Definition at line 105 of file bloaty/third_party/re2/re2/set.cc.

◆ Match() [2/4]

bool re2::RE2::Set::Match ( const StringPiece text,
std::vector< int > *  v 
) const

◆ Match() [3/4]

bool re2::RE2::Set::Match ( const StringPiece text,
std::vector< int > *  v,
ErrorInfo error_info 
) const

Definition at line 109 of file bloaty/third_party/re2/re2/set.cc.

◆ Match() [4/4]

bool re2::RE2::Set::Match ( const StringPiece text,
std::vector< int > *  v,
ErrorInfo error_info 
) const

◆ operator=() [1/3]

Set& re2::RE2::Set::operator= ( const Set )
delete

◆ operator=() [2/3]

Set& re2::RE2::Set::operator= ( const Set )
privatedelete

◆ operator=() [3/3]

RE2::Set & re2::RE2::Set::operator= ( Set &&  other)

Definition at line 49 of file re2/re2/set.cc.

Member Data Documentation

◆ anchor_

RE2::Anchor re2::RE2::Set::anchor_
private

Definition at line 68 of file bloaty/third_party/re2/re2/set.h.

◆ compiled_

bool re2::RE2::Set::compiled_
private

Definition at line 71 of file bloaty/third_party/re2/re2/set.h.

◆ elem_

std::vector< Elem > re2::RE2::Set::elem_
private

Definition at line 69 of file bloaty/third_party/re2/re2/set.h.

◆ options_

RE2::Options re2::RE2::Set::options_
private

Definition at line 67 of file bloaty/third_party/re2/re2/set.h.

◆ prog_ [1/2]

re2::Prog* re2::RE2::Set::prog_
private

Definition at line 70 of file bloaty/third_party/re2/re2/set.h.

◆ prog_ [2/2]

std::unique_ptr<re2::Prog> re2::RE2::Set::prog_
private

Definition at line 80 of file re2/re2/set.h.

◆ size_

int re2::RE2::Set::size_
private

Definition at line 72 of file bloaty/third_party/re2/re2/set.h.


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


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