ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::String::regex Class Reference

#include <string.h>

Public Member Functions

 regex (const char *pattern, size_t size=1)
 
 regex (size_t size=1)
 
 ~regex ()
 
size_t offset (unsigned member)
 
size_t size (unsigned member)
 
size_t members (void) const
 
bool match (const char *text, unsigned flags=0)
 
regexoperator= (const char *string)
 
bool operator*= (const char *string)
 
 operator bool () const
 
bool operator! () const
 

Private Member Functions

 __DELETE_COPY (regex)
 

Private Attributes

void * object
 
void * results
 
size_t count
 

Detailed Description

Definition at line 98 of file string.h.

Constructor & Destructor Documentation

◆ regex() [1/2]

ucommon::String::regex::regex ( const char *  pattern,
size_t  size = 1 
)

Definition at line 36 of file regex.cpp.

References count, results, and ucommon::String::size().

Here is the call graph for this function:

◆ regex() [2/2]

ucommon::String::regex::regex ( size_t  size = 1)

Definition at line 54 of file regex.cpp.

References ucommon::String::count(), and ucommon::String::size().

Here is the call graph for this function:

◆ ~regex()

ucommon::String::regex::~regex ( )

Definition at line 89 of file regex.cpp.

Member Function Documentation

◆ __DELETE_COPY()

ucommon::String::regex::__DELETE_COPY ( regex  )
private

◆ match()

bool ucommon::String::regex::match ( const char *  text,
unsigned  flags = 0 
)

Definition at line 138 of file regex.cpp.

References ucommon::String::count(), and ucommon::String::INSENSITIVE.

Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().

Here is the call graph for this function:

◆ members()

size_t ucommon::String::regex::members ( void  ) const
inline

◆ offset()

size_t ucommon::String::regex::offset ( unsigned  member)

Definition at line 102 of file regex.cpp.

References ucommon::String::count().

Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().

Here is the call graph for this function:

◆ operator bool()

ucommon::String::regex::operator bool ( ) const
inline

Definition at line 125 of file string.h.

◆ operator!()

bool ucommon::String::regex::operator! ( ) const
inline

Definition at line 129 of file string.h.

◆ operator*=()

bool ucommon::String::regex::operator*= ( const char *  string)

Definition at line 84 of file regex.cpp.

◆ operator=()

String::regex & ucommon::String::regex::operator= ( const char *  string)

Definition at line 66 of file regex.cpp.

◆ size()

size_t ucommon::String::regex::size ( unsigned  member)

Definition at line 118 of file regex.cpp.

References ucommon::String::count().

Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().

Here is the call graph for this function:

Member Data Documentation

◆ count

size_t ucommon::String::regex::count
private

Definition at line 103 of file string.h.

Referenced by regex().

◆ object

void* ucommon::String::regex::object
private

Definition at line 101 of file string.h.

◆ results

void* ucommon::String::regex::results
private

Definition at line 102 of file string.h.

Referenced by regex().


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