Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::RE Class Reference

#include <gtest-port.h>

Public Member Functions

const char * pattern () const
 
 RE (const RE &other)
 
 RE (const ::std::string &regex)
 
 RE (const char *regex)
 
 ~RE ()
 

Static Public Member Functions

static bool FullMatch (const ::std::string &str, const RE &re)
 
static bool FullMatch (const char *str, const RE &re)
 
static bool PartialMatch (const ::std::string &str, const RE &re)
 
static bool PartialMatch (const char *str, const RE &re)
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (RE)
 
void Init (const char *regex)
 

Private Attributes

regex_t full_regex_
 
bool is_valid_
 
regex_t partial_regex_
 
const char * pattern_
 

Detailed Description

Definition at line 1188 of file gtest-port.h.

Constructor & Destructor Documentation

testing::internal::RE::RE ( const RE other)
inline

Definition at line 1192 of file gtest-port.h.

testing::internal::RE::RE ( const ::std::string &  regex)
inline

Definition at line 1195 of file gtest-port.h.

testing::internal::RE::RE ( const char *  regex)
inline

Definition at line 1203 of file gtest-port.h.

testing::internal::RE::~RE ( )

Member Function Documentation

static bool testing::internal::RE::FullMatch ( const ::std::string &  str,
const RE re 
)
inlinestatic

Definition at line 1216 of file gtest-port.h.

static bool testing::internal::RE::FullMatch ( const char *  str,
const RE re 
)
static
testing::internal::RE::GTEST_DISALLOW_ASSIGN_ ( RE  )
private
void testing::internal::RE::Init ( const char *  regex)
private
static bool testing::internal::RE::PartialMatch ( const ::std::string &  str,
const RE re 
)
inlinestatic

Definition at line 1219 of file gtest-port.h.

static bool testing::internal::RE::PartialMatch ( const char *  str,
const RE re 
)
static
const char* testing::internal::RE::pattern ( ) const
inline

Definition at line 1207 of file gtest-port.h.

Member Data Documentation

regex_t testing::internal::RE::full_regex_
private

Definition at line 1248 of file gtest-port.h.

bool testing::internal::RE::is_valid_
private

Definition at line 1244 of file gtest-port.h.

regex_t testing::internal::RE::partial_regex_
private

Definition at line 1249 of file gtest-port.h.

const char* testing::internal::RE::pattern_
private

Definition at line 1243 of file gtest-port.h.


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


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18