Xmipp  v3.23.11-Nereus
Public Member Functions | Static Public Member Functions | List of all members
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 913 of file gtest-port.h.

Constructor & Destructor Documentation

◆ RE() [1/3]

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

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

917 { Init(other.pattern()); }

◆ RE() [2/3]

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

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

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

◆ RE() [3/3]

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

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

922 { 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 932 of file gtest-port.h.

932  {
933  return FullMatch(str.c_str(), re);
934  }
static bool FullMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:932

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

935  {
936  return PartialMatch(str.c_str(), re);
937  }
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:935

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

926 { return pattern_; }

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