Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | 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)
 

Private Member Functions

void Init (const char *regex)
 

Private Attributes

const char * pattern_
 
bool is_valid_
 
regex_t full_regex_
 
regex_t partial_regex_
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

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

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

static bool testing::internal::RE::FullMatch ( const char *  str,
const RE re 
)
static
static bool testing::internal::RE::PartialMatch ( const char *  str,
const RE re 
)
static
void testing::internal::RE::Init ( const char *  regex)
private

Member Data Documentation

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

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

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

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

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

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

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

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


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