Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::RE Class Reference

#include <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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RE() [1/3]

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

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

1230{ Init(other.pattern()); }
Definition lib.h:54

◆ RE() [2/3]

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

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

1233{ Init(regex.c_str()); } // NOLINT

◆ RE() [3/3]

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

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

1241{ Init(regex); } // NOLINT

◆ ~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 1254 of file gtest-port.h.

1254 {
1255 return FullMatch(str.c_str(), re);
1256 }
static bool FullMatch(const ::std::string &str, const RE &re)
return str
Definition CLI11.hpp:1359
Here is the caller graph for this function:

◆ FullMatch() [2/2]

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

◆ PartialMatch() [1/2]

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

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

1257 {
1258 return PartialMatch(str.c_str(), re);
1259 }
static bool PartialMatch(const ::std::string &str, const RE &re)
Here is the caller graph for this function:

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

1245{ return pattern_; }

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