Electroneum
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
 
 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)
 
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 1156 of file gtest-port.h.

Constructor & Destructor Documentation

◆ RE() [1/6]

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

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

1160 { Init(other.pattern()); }
Here is the call graph for this function:

◆ RE() [2/6]

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

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

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

◆ RE() [3/6]

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

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

1171 { Init(regex); } // NOLINT

◆ ~RE() [1/2]

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

◆ RE() [4/6]

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

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

1161 { Init(other.pattern()); }
Here is the call graph for this function:

◆ RE() [5/6]

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

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

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

◆ RE() [6/6]

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

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

1172 { Init(regex); } // NOLINT

◆ ~RE() [2/2]

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

Member Function Documentation

◆ FullMatch() [1/4]

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

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

1184  {
1185  return FullMatch(str.c_str(), re);
1186  }
static bool FullMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:1184
Here is the caller graph for this function:

◆ FullMatch() [2/4]

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

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

1185  {
1186  return FullMatch(str.c_str(), re);
1187  }
static bool FullMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:1184

◆ FullMatch() [3/4]

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

◆ FullMatch() [4/4]

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

◆ PartialMatch() [1/4]

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

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

1187  {
1188  return PartialMatch(str.c_str(), re);
1189  }
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:1187
Here is the caller graph for this function:

◆ PartialMatch() [2/4]

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

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

1188  {
1189  return PartialMatch(str.c_str(), re);
1190  }
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:1187

◆ PartialMatch() [3/4]

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

◆ PartialMatch() [4/4]

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

◆ pattern() [1/2]

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

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

1175 { return pattern_; }
Here is the caller graph for this function:

◆ pattern() [2/2]

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

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

1176 { return pattern_; }

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