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 ::std::string &regex)
 
 RE (const char *regex)
 
 RE (const RE &other)
 
 ~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 929 of file gtest-port.h.

Constructor & Destructor Documentation

◆ RE() [1/3]

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

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

◆ RE() [2/3]

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

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

◆ RE() [3/3]

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

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

◆ ~RE()

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

Member Function Documentation

◆ FullMatch() [1/2]

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

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

◆ FullMatch() [2/2]

static bool testing::internal::RE::FullMatch ( const char *  str,
const RE re 
)
static

◆ GTEST_DISALLOW_ASSIGN_()

testing::internal::RE::GTEST_DISALLOW_ASSIGN_ ( RE  )
private

◆ Init()

void testing::internal::RE::Init ( const char *  regex)
private

◆ PartialMatch() [1/2]

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

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

◆ PartialMatch() [2/2]

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

◆ pattern()

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

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

Member Data Documentation

◆ full_regex_

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

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

◆ is_valid_

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

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

◆ partial_regex_

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

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

◆ pattern_

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

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


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


fcl
Author(s):
autogenerated on Wed Feb 17 2021 03:40:11