ClanLib  2.3.7
List of all members
CL_RegExpMatch Class Reference

Regular Expression match. More...

#include <regexp_match.h>

Public Member Functions

Construction
 CL_RegExpMatch ()
 
 ~CL_RegExpMatch ()
 
Attributes
const int * get_vector () const
 
int * get_vector ()
 Get Vector. More...
 
int get_vector_size () const
 Get Vector size. More...
 
CL_StringRef8 get_capture (const char *subject, int capture) const
 Get capture. More...
 
CL_StringRef8 get_capture (const CL_StringRef8 &subject, int capture) const
 Get capture. More...
 
int get_capture_pos (int capture) const
 Get capture pos. More...
 
int get_capture_length (int capture) const
 Get capture length. More...
 
int get_capture_end (int capture) const
 Get capture end. More...
 
int get_captures_count () const
 Get Captures count. More...
 
bool is_partial () const
 Is Partial. More...
 
bool is_match () const
 Is Match. More...
 
Operations
CL_RegExpMatchoperator= (const CL_RegExpMatch &other)
 
void set_vector_size (int size)
 Set vector size. More...
 
void set_captures_count (int count)
 Set captures count. More...
 
void set_partial_match (bool partial)
 Set partial match. More...
 

Detailed Description

Regular Expression match.

Constructor & Destructor Documentation

CL_RegExpMatch::CL_RegExpMatch ( )
CL_RegExpMatch::~CL_RegExpMatch ( )

Member Function Documentation

CL_StringRef8 CL_RegExpMatch::get_capture ( const char *  subject,
int  capture 
) const

Get capture.

Parameters
subject= char
capture= value
Returns
String Ref8
CL_StringRef8 CL_RegExpMatch::get_capture ( const CL_StringRef8 subject,
int  capture 
) const

Get capture.

Parameters
subject= String Ref8
capture= value
Returns
String Ref8
int CL_RegExpMatch::get_capture_end ( int  capture) const

Get capture end.

Parameters
capture= value
Returns
int
int CL_RegExpMatch::get_capture_length ( int  capture) const

Get capture length.

Parameters
capture= value
Returns
int
int CL_RegExpMatch::get_capture_pos ( int  capture) const

Get capture pos.

Parameters
capture= value
Returns
int
int CL_RegExpMatch::get_captures_count ( ) const

Get Captures count.

Returns
captures_count
const int* CL_RegExpMatch::get_vector ( ) const
int* CL_RegExpMatch::get_vector ( )

Get Vector.

Returns
vector
int CL_RegExpMatch::get_vector_size ( ) const

Get Vector size.

Returns
vector_size
bool CL_RegExpMatch::is_match ( ) const

Is Match.

Returns
true = match
bool CL_RegExpMatch::is_partial ( ) const

Is Partial.

Returns
true = partial
CL_RegExpMatch& CL_RegExpMatch::operator= ( const CL_RegExpMatch other)
void CL_RegExpMatch::set_captures_count ( int  count)

Set captures count.

Parameters
count= value
void CL_RegExpMatch::set_partial_match ( bool  partial)

Set partial match.

Parameters
partial= bool
void CL_RegExpMatch::set_vector_size ( int  size)

Set vector size.

Parameters
size= value

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