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

#include <gtest.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 2033 of file gtest.h.

Constructor & Destructor Documentation

◆ RE() [1/3]

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

Definition at line 2037 of file gtest.h.

◆ RE() [2/3]

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

Definition at line 2040 of file gtest.h.

◆ RE() [3/3]

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

Definition at line 2048 of file gtest.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 2061 of file gtest.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 2064 of file gtest.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 2052 of file gtest.h.

Member Data Documentation

◆ full_regex_

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

Definition at line 2093 of file gtest.h.

◆ is_valid_

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

Definition at line 2089 of file gtest.h.

◆ partial_regex_

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

Definition at line 2094 of file gtest.h.

◆ pattern_

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

Definition at line 2088 of file gtest.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:04