Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::RE Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/internal/gtest-port.h>

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

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

Private Attributes

const char * pattern_
 
bool is_valid_
 
regex_t full_regex_
 
regex_t partial_regex_
 

Detailed Description

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

View newest version in sPHENIX GitHub at line 1166 of file gtest-port.h

Constructor & Destructor Documentation

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

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

View newest version in sPHENIX GitHub at line 1170 of file gtest-port.h

References Init(), and pattern().

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1173 of file gtest-port.h

References Init().

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1181 of file gtest-port.h

References Init().

+ Here is the call graph for this function:

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

Member Function Documentation

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

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

View newest version in sPHENIX GitHub at line 1194 of file gtest-port.h

Referenced by testing::internal::MatchesRegexMatcher::MatchAndExplain().

+ Here is the caller graph for this function:

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 1197 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1197 of file gtest-port.h

Referenced by testing::internal::MatchesRegexMatcher::MatchAndExplain().

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1185 of file gtest-port.h

Referenced by testing::internal::MatchesRegexMatcher::DescribeNegationTo(), testing::internal::MatchesRegexMatcher::DescribeTo(), and RE().

+ Here is the caller graph for this function:

Member Data Documentation

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

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

View newest version in sPHENIX GitHub at line 1226 of file gtest-port.h

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

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

View newest version in sPHENIX GitHub at line 1222 of file gtest-port.h

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

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

View newest version in sPHENIX GitHub at line 1227 of file gtest-port.h

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

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

View newest version in sPHENIX GitHub at line 1221 of file gtest-port.h


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